{"id":15418672,"url":"https://github.com/jamiemagee/wayback","last_synced_at":"2026-04-16T19:13:00.266Z","repository":{"id":37244427,"uuid":"307693867","full_name":"JamieMagee/wayback","owner":"JamieMagee","description":"Save pages to the Wayback Machine as part of your CI/CD pipeline","archived":false,"fork":false,"pushed_at":"2024-10-29T19:42:16.000Z","size":3927,"stargazers_count":28,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T21:40:56.348Z","etag":null,"topics":["actions","github-actions","internet-archive","wayback","wayback-machine"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JamieMagee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-27T12:33:36.000Z","updated_at":"2024-10-07T04:31:01.000Z","dependencies_parsed_at":"2024-02-23T12:29:29.524Z","dependency_job_id":"e03f36c4-664c-4166-a95b-8e9ea3fe4a34","html_url":"https://github.com/JamieMagee/wayback","commit_stats":{"total_commits":995,"total_committers":6,"mean_commits":"165.83333333333334","dds":0.4060301507537688,"last_synced_commit":"9c9f21344438ebb51f6233479268a5d26b9737de"},"previous_names":[],"tags_count":73,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamieMagee%2Fwayback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamieMagee%2Fwayback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamieMagee%2Fwayback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamieMagee%2Fwayback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamieMagee","download_url":"https://codeload.github.com/JamieMagee/wayback/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654090,"owners_count":21140236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-actions","internet-archive","wayback","wayback-machine"],"created_at":"2024-10-01T17:22:08.765Z","updated_at":"2026-04-16T19:13:00.261Z","avatar_url":"https://github.com/JamieMagee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wayback Machine GitHub Action\n\n[![GitHub marketplace](https://img.shields.io/badge/marketplace-wayback--machine-green?style=for-the-badge\u0026logo=github)](https://github.com/marketplace/actions/wayback-machine)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/JamieMagee/wayback/build.yml?branch=main\u0026style=for-the-badge)](https://github.com/JamieMagee/wayback/actions?query=workflow%3Abuild)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/JamieMagee/wayback?style=for-the-badge)](https://github.com/JamieMagee/wayback/releases/latest)\n[![License](https://img.shields.io/github/license/JamieMagee/wayback?style=for-the-badge)](https://github.com/JamieMagee/wayback/blob/main/LICENSE)\n\nSave 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/).\n\n## Examples\n\n### Basic\n\n```yaml\nname: Save my blog\nuses: JamieMagee/wayback@v2\nwith:\n  url: jamiemagee.co.uk\n```\n\n### Auto-detect from CNAME\n\nIf your repository has a `CNAME` file (e.g. for GitHub Pages), the action will\nautomatically use the domain from that file. No `url` input is needed.\n\n```yaml\nname: Save my site\nuses: JamieMagee/wayback@v2\n```\n\n### Advanced\n\n```yaml\nname: Save my blog\nuses: JamieMagee/wayback@v2\nwith:\n  url: |-\n    jamiemagee.co.uk\n    katmagee.net\n  saveErrors: false\n  saveOutlinks: true\n  saveScreenshot: true\n```\n\n## Inputs\n\n### `url`\n\n**[Optional]** The web page to save to the Wayback Machine.\nCan include or exclude `http://`, `https://`, `www.`, etc.\nCan be a single URL or a list of URLs.\nIf not provided, the action will attempt to detect the URL from a `CNAME` file in the repository.\n\n### `saveErrors`\n\nIf `true`, the Wayback Machine will save web pages that return an HTTP status code in the 4xx or 5xx range.\nDefaults to `true`.\n\n### `saveOutlinks`\n\nIf `true`, the Wayback Machine will save any links to external web pages.\nDefaults to `false`.\n\n### `saveScreenshot`\n\nIf `true`, the Wayback Machine will save a screenshot of the web page.\nDefaults to `false`.\n\n### `skipFirstArchive`\n\nIf `true`, skip checking whether this is the first capture of the URL. Makes captures faster.\nDefaults to `false`.\n\n### `ifNotArchivedWithin`\n\nOnly capture the URL if the most recent existing capture is older than this value. Accepts SPN2 timedelta strings (e.g. `1d`, `3h 20m`) or plain seconds (e.g. `3600`). Supports a comma-separated pair (e.g. `1d,7d`) to apply a different value to outlinks.\n\n## Outputs\n\n### `wayback_url`\n\nWayback Machine URL of the last successful capture in the run. Empty if no capture succeeded.\n\n### `wayback_urls`\n\nNewline-separated list of Wayback Machine URLs for every successful capture in the run. Useful when archiving multiple URLs.\n\n### `screenshot_url` / `screenshot_urls`\n\nScreenshot URL (or newline-separated list) when `saveScreenshot` is `true` and the capture produced a screenshot.\n\n## License\n\nCode in this repository is licensed under the MIT license.\nDetails can be found in the [LICENSE](https://github.com/JamieMagee/wayback/blob/main/LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiemagee%2Fwayback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamiemagee%2Fwayback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiemagee%2Fwayback/lists"}