Create an archivebox server page with a UI & REST API endpoint to add links to the archive
See original GitHub issuePage 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:
- Created 4 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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/
(usingarchivebox:dev
) and find more info here: