Whether links fail because of DDoS attacks, censorship, or just plain old link rot, reliably accessing linked content is a problem for Internet users everywhere. The more routes we provide to information, the more all people can freely share that information, even in the face of filtering or blockages. Amber adds to these routes.
Amber automatically preserves a snapshot of every page linked to on a website, giving visitors a fallback option if links become inaccessible. If one of the pages linked to on this website were to ever go down, Amber can provide visitors with access to an alternate version. This safeguards the promise of the URL: that information placed online can remain there, even amidst network or endpoint disruptions.
Lots of copies keeps stuff safe. By default, Amber stores snapshots directly on the host website. But users can choose to store snapshots using a combination of the following third party storage and archiving systems: the Internet Archive, Perma.cc, and Amazon Simple Storage Service (Amazon S3).
Amber is an open source project led by the Berkman Klein Center for Internet & Society. It builds on a proposal from Tim Berners-Lee and Jonathan Zittrain for a "mutual aid treaty for the Internet" that would enable operators of websites to enter easily into mutually beneficial agreements and bolster the robustness of the entire web. The project also aims to mitigate risks associated with increasing centralization of online content.
Learn more at Amberlink.org.
- Drupal 7.x
- PHP 5.3 or higher
- cURL (To see if cURL is installed, go to Administration > Reports > Status Report)
- Install as you would normally install a contributed Drupal module
- If using AWS to store snapshots, download version 3 of the AWS library from https://github.com/aws/aws-sdk-php and save it in sites/all/libraries/aws
Full installation instructions, as well as a guide for configurations and settings, can be found on the Amber wiki guide.
- Amber uses a Text Format filter to allow the end user to access snapshots. After enabling the module, go to Administration » Configuration » Content Authoring » Text Formats, and configure each of the text formats that might display links. (Typically this will be "Filtered HTML" and "Full HTML"). Ensure that the "Amber Filter" is enabled, and that it is after the "Convert URLs into links" filter.
- Additional configuration settings are available at Administration » Content Authoring » Amber
- View the snapshots preserved by Amber at Administration » Reports » Amber Dashboard
How it works
When a node is saved, Amber scans all text and link fields for external links. If an external link is detected, Amber adds the external URL to a list of links for which to create a snapshot.
There are several options for where this snapshot is saved. By default, it will be saved on the local filesystem, under sites/default/files/amber. (There are configuration settings with in Amber to limit the amount of disk space used overall, and for a single snapshot). Alternately, the snapshot can be saved to the Internet Archive or Perma.cc. While the Internet Archive will allow you to preserve any number of links for free, Perma.cc limits its free users to 10 snapshots per month. To preserve unlimited links using Perma.cc, you must be affiliated with a participating library, journal, or court. In these cases Amber doesn't save the file locally, but instead makes an API call to the relevant service requesting that it make a snapshot of the linked content. Finally, the snapshot can be saved to a "bucket" in the cloud using Amazon's Simple Storage Service (AWS S3). This option requires entering valid AWS credentials as part of the Amber configuration. Amazon charges for use of its S3 service.
This project is sponsored by the Berkman Klein Center for Internet & Society.
- Berkman Klein Center for Internet & Society (berkmancenter)
- Jeffrey Licht (jlicht)
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Security
- Reported installs: 15 sites currently report using this module. View usage statistics.
- Downloads: 974
- Last modified: 6 July 2016
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.