About LibResilient
A browser-based decentralized content delivery network, implemented as a JavaScript library to be deployed easily on any website. LibResilient uses Service Workers and a suite of unconventional in-browser delivery mechanisms, with a strong focus on decentralized tools methods.
Ideally, site visitors should not need to install any special software nor change any browser or system settings to continue being able to access an overloaded or otherwise inaccessible LibResilient-enabled site, as long as they were able to access it once before.
The project is generously supported by a grant from the NLnet Foundation.
Rationale
While a number of content delivery technologies exist, these typically require enormous centralized services. This creates opportunities for gate-keeping, and causes any disruption at these centralized providers to become a major problem for thousands of websites.
This project explores the possibility of solving this issue in a way that would not require website visitors to install any special software or change any settings; the only things that site visitors need are a modern Web browser and the ability to visit a website once, so that the JavaScript Service Worker kicks in.
Documentation
You can read more in-depth overview of LibResilient here. And here you can find the document describing the philosophy influencing project goals and relevant technical decisions.
And if you’re eager to try LibResilient out, the Quickstart guide should help.
Current status and project updates
LibResilient is currently considered beta: the code works, and the API is mostly stable, but it has not been deployed in production and would benefit from real-world testing. During development it has been tested on Firefox, Chromium and Chrome on desktop, as well as Firefox for mobile on Android, but it should work in any browser implementing the Service Worker API.
You can find news about major project-related developments on the blog.
Getting technical
LibResilient is free and open source software, licensed under the GNU Affero GPL v.3 license. It is written almost entirely in JavaScript. Code is publicly hosted on Gitlab, which is also where issues are tracked.
Site Privacy
This site does not gather personal data other than what is strictly necessary to serve the content (that is, your IP address and time of your visit). No cookies are set, no trackers (neither third-party, nor self-hosted) are used.
Website logs are imported into a local, self-hosted Matomo instance to generate basic website visit statistics. IP addresses are anonymized beforehand. Log data is discarded afterwards.
No data will ever be shared with any third parties.
Funding
This project is funded through the NGI Assure Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet program. Learn more on the NLnet project page.