Giter Site home page Giter Site logo

ticky / wayback-classic Goto Github PK

View Code? Open in Web Editor NEW
79.0 5.0 6.0 539 KB

๐Ÿ•ธ A frontend for the Wayback Machine which works on old browsers

Home Page: http://wayback-classic.net

License: GNU Affero General Public License v3.0

Ruby 68.24% HTML 28.48% CSS 1.60% JavaScript 1.68%
internet-archive wayback-machine wayback 1990s 2000s cgi cgi-application ruby

wayback-classic's Introduction

Wayback Classic

Ruby Deploy

A simple, CGI-based frontend for the Wayback Machine which works on old browsers without modern JavaScript or CSS support

Wayback Classic is available at wayback-classic.net. It supports both HTTP and HTTPS.

Why

The Wayback Machine contains a lot of websites from the turn of the century which are perfect for browsing on older machines, but the interface the Wayback Machine itself presents is completely incompatible with many such systems, making it very difficult to navigate.

Wayback Classic attempts to provide a fully-functional frontend for the Wayback Machine, providing these systems with access without the extra technological requirements.

Notes

This is built on both the CDX API (for retrieving lists of page snapshots), as well as the undocumented __wb/search API used by the Wayback Machine's own frontend to handle site search and determine if a site exists in the archive. More info about the site search can be found in this blog post.

Hosting Wayback Classic

If you wish to run your own instance, the author has two requests:

  1. Please configure your server to set the WEBMASTER_EMAIL variable for CGI applications to an email address you can be reached at.
    This variable is included in the User-Agent string for requests to the Wayback Machine, and I would feel better knowing that other instances provide proper contact information. For Apache you can add use SetEnv in a .htaccess file.
  2. Please do not display advertising to, or track users using Wayback Classic.

Further, there are some considerations:

  • Wayback Classic has a built-in cache mechanism; it will cache responses from the Wayback Machine on-disk with a validity of 24 hours to avoid hammering their servers. You should consider running bin/cache-clean periodically to empty this cache, or it will build up.
  • Please do not use bin/dev-server (described below) in production. Wayback Classic is a basic CGI application and should be deployed as such.

License

Wayback Classic is licensed under the Affero General Public License version 3, or any later version of the AGPL, the text of which can be found in LICENSE.md, unless otherwise noted.

Development

A basic, WEBrick-based development server script is included at bin/dev-server. It defaults to localhost:8000, but the port can be overridden by setting a PORT environment variable.

Testing

While the root directory of this repository is intended to map directly to the root htdocs directory of a server, with no dependencies other than the Ruby standard library, a Gemfile is provided under the tests directory which contains dependencies for testing.

For testing purposes, the CGI scripts are loaded as Ruby modules instead of normal scripts, and their lifecycle is exercised by a minimal Rack application to facilitate the use of Capybara.

To run the test suite, open a terminal within the tests directory, and run bundle && bundle exec rake.

wayback-classic's People

Contributors

dependabot[bot] avatar ticky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wayback-classic's Issues

Support wildcard URLs

Currently, it's possible to look up a wildcard, but it will not be rendered nicely, as the date index page will render an entry per object, and it expects to be looking at a single URL over time.

image

It'd be nice to have a URL search/lookup page which mirrors that of the Wayback Machine:

image

Problems trying to download any file when using a Dreamcast Web browser

I'm having problems when trying to download any file through the wayback-classic website but this issue happens only when i use any Sega Dreamcast Web Browser because when i use Google Chrome even from my android phone i can download normally to my desktop without any problem whatsoever whatever file from the past that i want to. I tried various Dreamcast browsers even the latest version of the XDP web browser and it always fails when downloading any file no matter the date you choose. I don't know if i need to do something else to be able to download files directly to the Dreamcast VMU but i would like you to tell me please what steps should i follow in order to download for example a .VMU save file directly to the Dreamcast?. I attach here a screenshot so you can analize it and try to correct this issue.
Screenshot_20240515-062551_Flycast
Screenshot_20240515-062537_Flycast

There is no license

Without a license, nobody is covered if they use, share, or modify the project. Maybe they'll do all three! Please consider choosing one.

I don't know what license you would choose, but I think Choose a License is a good resource for some pointers.

doesn't work

Error: Couldn't retrieve date index for this URL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.