Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plibither8/wayback
🏛 Microservice that redirects to archived version of the URL if found, otherwise saves it to the Internet Archive
https://github.com/plibither8/wayback
archive internet-archive microservice now wayback wayback-machine zeit
Last synced: 3 months ago
JSON representation
🏛 Microservice that redirects to archived version of the URL if found, otherwise saves it to the Internet Archive
- Host: GitHub
- URL: https://github.com/plibither8/wayback
- Owner: plibither8
- License: mit
- Created: 2019-12-12T11:56:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-09T22:47:43.000Z (about 4 years ago)
- Last Synced: 2024-10-24T16:49:12.694Z (3 months ago)
- Topics: archive, internet-archive, microservice, now, wayback, wayback-machine, zeit
- Language: JavaScript
- Homepage: https://wayback.now.sh
- Size: 1.05 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏛️ wayback
Microservice that redirects to [archived version](https://web.archive.org/web/) of the URL if found, otherwise saves it to the [**Internet Archive**](https://archive.org).
**Base URL:** [wayback.now.sh](https://wayback.now.sh)
## Usage
**`GET /:url`**
URL must be safely encoded. Eg: `encodeURIComponent()` in JavaScript.
Checks whether a cached/archived version of the webpage on the *URL* is available.
- If available => redirect to the most recent archived version of the webpage.
- If not available => redirect to _save webpage_ link of the Wayback Machine.**Example:** [wayback.now.sh/mihir.ch](https://wayback.now.sh/mihir.ch) redirects to most recent archived version of [https://mihir.ch](https://mihir.ch) on the Wayback Machine.
## License
[MIT](LICENSE)