This project is a lightweight web archiver which archives every webpage you visit on Mozilla Firefox.
- YouTube videos are archived as their subtitle files
- Generic websites are archived as Markdown
┌────────────┐
│ Clio │
│ (Firefox │
│ Extension) │
└──────┬─────┘
│
sends URLs
│
┌──────▼──────┐
│ Archiver │
│ (Flask App) │
└──────┬──────┘
│
archives URL
as file
│
┌────▼────┐
│ Archive │
└─────────┘
- Download this repository
- Create a virtual environment
python -m venv .venv
- Activate the virtual environment
.\.venv\Scripts\activate
- Install the requirements
pip install -r requirements.txt
This project consists of two components:
- Clio, the Firefox extension which sends the URLs of the pages you visit to the Archiver web app
- Archiver, the Flask app which archives the URLs that are passed to it.
Deployment requires deploying both Clio and Archiver at the same time.
- Activate the virtual environment
.\.venv\Scripts\activate
- Start the Flask app
python .\app.py
- Open Firefox
- Navigate to
about:debugging#/runtime/this-firefox
(in the address bar) - Click "Load Temporary Add-on..."
- Navigate to the location where you have installed this repository
- Navigate to the subfolder "clio"
- e.g.
C:\Documents\web-remembrance-agent\clio
- e.g.
- Double-click on the "manifest" file
If you want to see the homepage of the Archiver web app (after starting it), go to 127.0.0.1:5000
.
If you want to add a new URL to archive, send a POST request to 127.0.0.1:5000/archive
with the JSON
request {"url": url_to_be_archived}