question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create an archivebox server page with a UI & REST API endpoint to add links to the archive

See original GitHub issue

Page Requirements

  • ability to add a single page to the archive (like echo <url> | archivebox add)
  • ability to import a list of pages / feed of URLs into the archive (like archivebox add <url>)
  • link to the homepage of the index /
  • link to the django admin list of URLs for editing the archive /admin/
  • link to the archivebox github repo & documentation

Setup

To set up your dev environment, run the following:

pip3 install --upgrade pip setuptools virtualenv pipenv

cd ~/path/to/ArchiveBox
git checkout django
git pull

pipenv install
pip install -e

Then to create a new collection and run the server, do:

mkdir data
cd data/
archivebox init
archivebox add https://example.com
archivebox info

archivebox server
# then open: http://127.0.0.1:8000

To edit the templates you can change files in:

  • archivebox/themes
  • archivebox/legacy/templates

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
piratecommented, Nov 20, 2019

This is planned for v0.5. There is already an admin UI for editing and removing existing links in v0.4, so v0.5 will add the ability to submit new links via UI as well.

0reactions
piratecommented, Jul 17, 2021

this is a very old issue @dgtlmoon 😄 ! if you’re looking for a UI page we’ve already had one for several versions now, if you’re looking for a REST API endpoint to add links, you can just POST to /core/snapshot/add/ (using archivebox:dev) and find more info here:

Read more comments on GitHub >

github_iconTop Results From Across the Web

ArchiveBox | Open source self-hosted web archiving. Takes ...
ArchiveBox. Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more.
Read more >
Key Features — ArchiveBox 0.6.3 documentation
ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view sites you want to preserve offline.
Read more >
Key Features — ArchiveBox 0.6.2 documentation
ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view sites you want to preserve offline.
Read more >
Quickstart — ArchiveBox 0.5.3 documentation
Your archive can be managed through the command line with commands like archivebox add , through the built-in Web UI archivebox server ,...
Read more >
Publishing Your Archive — ArchiveBox 0.6.2 documentation
There are two ways to publish your archive: using the archivebox server or by exporting and hosting it as static HTML. 1. Use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found