{"id":13689656,"url":"https://github.com/iipc/robustlinks","last_synced_at":"2025-12-30T01:32:23.871Z","repository":{"id":27884123,"uuid":"31375477","full_name":"iipc/robustlinks","owner":"iipc","description":"Links on the web break all the time, robustify them!","archived":false,"fork":false,"pushed_at":"2021-01-04T16:59:39.000Z","size":81,"stargazers_count":52,"open_issues_count":2,"forks_count":6,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-12T13:39:31.370Z","etag":null,"topics":["html","javascript","links","robust-links","webarchives"],"latest_commit_sha":null,"homepage":"https://robustlinks.mementoweb.org/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iipc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-26T16:08:33.000Z","updated_at":"2024-07-30T19:48:33.000Z","dependencies_parsed_at":"2022-09-12T01:01:42.847Z","dependency_job_id":null,"html_url":"https://github.com/iipc/robustlinks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iipc%2Frobustlinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iipc%2Frobustlinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iipc%2Frobustlinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iipc%2Frobustlinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iipc","download_url":"https://codeload.github.com/iipc/robustlinks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251966431,"owners_count":21672666,"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":["html","javascript","links","robust-links","webarchives"],"created_at":"2024-08-02T15:01:59.667Z","updated_at":"2025-12-30T01:32:23.866Z","avatar_url":"https://github.com/iipc.png","language":"JavaScript","funding_links":[],"categories":["javascript"],"sub_categories":[],"readme":"# Robust Links\nAre you an author of web pages and you don't want your links to die? Here is a really easy way to achieve just that:\n\n* Include the Robust Links JavaScript and CSS files into your pages as shown below.\n* Robustify your links by adding HTML elements as explained in the [Robustifying Links document](http://robustlinks.mementoweb.org/spec/).\n* You can read about the motivations for using Robust Links [here](http://robustlinks.mementoweb.org/about/). \n* The result will be that each link is augmented with the ability to see the linked resource as it was at or around the time the link was created. This is achieved by resolving links using the [Memento Time Travel](http://timetravel.mementoweb.org/guide/api/) infrastructure that aggregates web archives from around the world. At any time, even when a link breaks, the Robust Link will lead to archived content.\n\n![](https://robustlinks.mementoweb.org/demo/robustlinks_demo_light.gif)\n\n## Add Robust Links To Your Webpages\n\nSimply append the following lines to the `\u003chead\u003e` section of your HTML source:\n\n```html\n\u003c!-- RobustLinks CSS --\u003e\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"https://doi.org/10.25776/z58z-r575\" /\u003e\n\u003c!-- RobustLinks Javascript --\u003e\n\u003cscript type=\"text/javascript\" src=\"https://doi.org/10.25776/h1fa-7a28\"\u003e\u003c/script\u003e\n```\n\n## RobustLinks Menu\n\nAfter adding the Robust Links JavaScript source to your HTML file, a new link icon will appear next to all the robustified links in the page. Clicking the down arrow in this icon will pop up a menu with the following items:\n\n* `Current version of page`: Clicking this menu item will take you to the original url provided in the `data-originalurl` attribute.\n\n* `Version archived on \u003cdate\u003e`: Clicking this menu item will redirect you to the memento url provided in the `data-versionurl` attribute.\n\n* `Version archived near \u003cdate\u003e`: When clicking this menu item, the JavaScript library will use the datetime provided in the `data-versiondate` attribute along with the original url and redirect you to the closest memento around that datetime using the [Memento Time Travel](http://timetravel.mementoweb.org/guide/api/) service.\n\n\n## Example\n- [Before](http://robustlinks.mementoweb.org/demo/uri_references.html)\n- [After](http://robustlinks.mementoweb.org/demo/uri_references_js.html) \n\n## License\nSee the [license](http://mementoweb.github.io/SiteStory/license.html).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiipc%2Frobustlinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiipc%2Frobustlinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiipc%2Frobustlinks/lists"}