Home

Awesome

🗃 ArchiveBox Browser Extension

This is a browser extension (works in Chrome, Firefox, and Chrome-like browsers) that lets you automatically send pages from domains you specify to your ArchiveBox instance. This has a couple of benefits:

✨ Contributed by TJ Horner (@tjhorner)

Download

Setup

  1. Set up an ArchiveBox server and make sure it's accessible to the machine you're browsing on
  2. Configure your ArchiveBox server to allow URL submissions without requiring login (more info here...)
    Alternatively: if you stay signed in to your ArchiveBox instance in the same browser, it will share your login credentials.
    archivebox config --set PUBLIC_ADD_VIEW=True
    # (make sure to restart the server after if you apply this change)
    
    <img width="400" alt="Screenshot of ArchiveBox CLI configuring PUBLIC_ADD_VIEW=True" src="https://github.com/ArchiveBox/archivebox-extension/assets/511499/b0dc715c-4f88-49dd-a019-ffd65ebcc7c4">
  3. Configure the extension to point to your ArchiveBox server's base URL (e.g. http://localhost:8000, https://archivebox.example.com, etc.)
    <img width="400" alt="Screenshot of extension config area: example with localhost" src="https://github.com/ArchiveBox/archivebox-extension/assets/511499/43673b8c-389d-45f7-9cda-f1ec72844a00" align="top"><img width="350" alt="Screenshot of extension config area: example with demo" src="https://github.com/ArchiveBox/archivebox-extension/assets/511499/82d6ae08-6327-45ef-a536-cb775ec58b41" align="top">
  4. ✅ Test it out by right-clicking on any page and selecting ArchiveBox Exporter > Archive Current Page
    <img width="400" alt="Screenshot of right-clicking to add a page to ArchiveBox using extension" src="https://github.com/ArchiveBox/archivebox-extension/assets/511499/6c0b8125-e1b9-4c64-b79a-c74a8d85c176" align="top"><img width="600" alt="Screenshot of ArchiveBox server with added URL" src="https://github.com/ArchiveBox/archivebox-extension/assets/511499/ab2dc48a-e2cd-4bef-aea3-553a91bc70c9" align="top">

Features


Development

If you wish to contribute to (or just build for yourself) this extension, you will need to download and install Node.js.

Once that's installed, navigate to this project's root and run npm install to install dependencies.

To build a production version (minified, optimized, etc.), run npm run build.

If you plan on making changes often, you can use the command npm run dev to automatically rebuild the extension as you modify files.

Both commands will produce an output in the dist directory.

Changelog

2024-01 Extension repo moved from tjhorner/archivebox-exporter to Archivebox/archivebox-browser-extension

https://github.com/ArchiveBox/archivebox-extension

2021-09 Extension offically supported by ArchiveBox v0.6.2, no longer needed to run :dev branch

https://github.com/tjhorner/ArchiveBox.git#temporary-add-api

2021-07 Initial extension published on Chrome and Mozilla web stores

https://github.com/ArchiveBox/ArchiveBox/issues/577#issuecomment-872915877

2021-06 @tjhorner Created the initial archivebox-exporter extension

https://github.com/ArchiveBox/ArchiveBox/issues/577


Alternative Extensions for Archiving

Other browser extensions that also do web archiving, may be a better fit if ArchiveBox doesn't suit your needs.

Other ArchiveBox Helper Projects

Other projects that help with ingest URLs into ArchiveBox from various sources.


License

MIT License