Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Configure multiple ArchiveBox instances #27

Open
codeurimpulsif opened this issue Aug 31, 2024 · 1 comment
Open

[Feature] Configure multiple ArchiveBox instances #27

codeurimpulsif opened this issue Aug 31, 2024 · 1 comment

Comments

@codeurimpulsif
Copy link

codeurimpulsif commented Aug 31, 2024

Use case

I want to manage 2 differents ArchiveBox instances:

  • A public one
  • A private one

And of course add links to them via the browser extension.

But we can't install multiple instances of an extension on a browser, so I can configure only one instance at a time to add URL to archive.

Suggestion

Permit to register multiple Base URL in the extension configuration, associated with a name.

For example:

  • name: Instance 1
    • Base URL: https://instance1.example.org
  • name: Instance 2
    • Base URL: https://instance2.example.org

Then, when we right-clic on a webpage, on hover of the ArchiveBox Exporter menu, we can select options like:

  • [Instance 1] Archive Current Page
  • [Instance 1] Add Current Domain to List
  • [Instance 2] Archive Current Page
  • [Instance 2] Add Current Domain to List

Of course if only one instance is configured, we can keep showing Archive Current Page and Add Current Domain to List without mentioning instance name to don't break user's mental pattern.

@pirate
Copy link
Member

pirate commented Aug 31, 2024

Oo this is a good idea!

It's a perfect ticket for a contributor (or even Claude / GPT) as the extension is pretty simple.

If anyone wants to take a stab at it I'd welcome a PR, otherwise I'll keep it in mind and add it to the ticket queue for after the v0.8 release!

In the meantime there actually is a workaround to install multiple instances of an extension, you can download the source, tweak manifest.json to change the name & icon so you can differentiate them, the go to chrome extensions settings, enable developer mode, and go to "load unpacked".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants