Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamiemagee/wayback
Save pages to the Wayback Machine as part of your CI/CD pipeline
https://github.com/jamiemagee/wayback
actions github-actions internet-archive wayback wayback-machine
Last synced: about 2 months ago
JSON representation
Save pages to the Wayback Machine as part of your CI/CD pipeline
- Host: GitHub
- URL: https://github.com/jamiemagee/wayback
- Owner: JamieMagee
- License: mit
- Created: 2020-10-27T12:33:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T19:42:16.000Z (about 2 months ago)
- Last Synced: 2024-10-29T21:40:56.348Z (about 2 months ago)
- Topics: actions, github-actions, internet-archive, wayback, wayback-machine
- Language: TypeScript
- Homepage:
- Size: 3.75 MB
- Stars: 28
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wayback Machine GitHub Action
[![GitHub marketplace](https://img.shields.io/badge/marketplace-wayback--machine-green?style=for-the-badge&logo=github)](https://github.com/marketplace/actions/wayback-machine)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/JamieMagee/wayback/build.yml?branch=main&style=for-the-badge)](https://github.com/JamieMagee/wayback/actions?query=workflow%3Abuild)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/JamieMagee/wayback?style=for-the-badge)](https://github.com/JamieMagee/wayback/releases/latest)
[![License](https://img.shields.io/github/license/JamieMagee/wayback?style=for-the-badge)](https://github.com/JamieMagee/wayback/blob/main/LICENSE)Save pages to the [Wayback Machine](https://web.archive.org/) as part of your CI/CD pipeline. If you find this useful, please [donate to the Internet Archive](https://archive.org/donate/).
## Examples
### Basic
```yaml
name: Save my blog
uses: JamieMagee/[email protected]
with:
url: jamiemagee.co.uk
```### Advanced
```yaml
name: Save my blog
uses: JamieMagee/[email protected]
with:
url: |-
jamiemagee.co.uk
katmagee.net
saveErrors: false
saveOutlinks: true
saveScreenshot: true
```## Inputs
### `url`
**[Required]** The web page to save to the Wayback Machine.
Can include or exclude `http://`, `https://`, `www.`, etc.
Can be a single URL or a list of URLs.### `saveErrors`
If `true`, the Wayback Machine will save web pages that return an HTTP status code in the 4xx or 5xx range.
Defaults to `true`.### `saveOutlinks`
If `true`, the Wayback Machine will save any links to external web pages.
Defaults to `false`.### `saveScreenshot`
If `true`, the Wayback Machine will save a screenshot of the web page.
Defaults to `false`.## Outputs
### `wayback_url`
If the save attempt was successful, this parameter is set to the Wayback Machine URL.
If the attempt failed, it is set to an empty string.## License
Code in this repository is licensed under the MIT license.
Details can be found in the [LICENSE](https://github.com/JamieMagee/wayback/blob/main/LICENSE) file.