1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-22 14:13:01 +02:00

Updated Roadmap (markdown)

Nick Sweeting
2019-04-22 21:54:46 -04:00
parent 47ea114cf4
commit 7c1987a177

@@ -115,40 +115,39 @@ CLI Usage:
### `$ archivebox init` ### `$ archivebox init`
#### `(no args)` Initialize a new "collection" folder, aka a complete archive containing an ArchiveBox.conf config file, an index of all the archived pages, and the archived content for each page.
With no arguments, it interactively prompts the user to set up the collection, similar to `npm init`.
#### `< stdin`
You can optionally pipe in config as `KEY=VALUE` pairs in python/.env format to setup the project (if you don't want to use the interactive prompt)
```bash ```bash
$ mkdir ~/my_archive; cd ~/my_archive $ mkdir ~/new/data/folder && cd ~/new/data/folder
$ archivebox init $ archivebox init
Welcome to ArchiveBox v0.30+03047e428! [+] Initializing new archive directory: /Users/squash/Documents/Code/ArchiveBox/archivebox/data
[+] Creating a new archive collection in the current folder... ----------------------------------------------------------------
> ~/Documents/my_collection > /Users/squash/Documents/Code/ArchiveBox/archivebox/data/sources
> /Users/squash/Documents/Code/ArchiveBox/archivebox/data/archive
> /Users/squash/Documents/Code/ArchiveBox/archivebox/data/logs
[1/3] What do you want to call this collection? [main]: main [+] Running Django migrations...
[2/3] Do you want to retry previously failed pages after checking for new pages to add? [y]/n: y /Users/squash/Documents/Code/ArchiveBox/archivebox/data/index.sqlite3
[3/3] Do you want to automatically submit added URLs to archive.org and other online services? [y]/n: y No changes detected
Operations to perform:
Apply all migrations: admin, auth, contenttypes, core, sessions
Running migrations:
...
[] Done! Your archive collection has been created. [*] [2019-04-23 01:53:41] Updating 0 links in main index...
> ./ArchiveBox.conf contains your configuration √ /Users/squash/Documents/Code/ArchiveBox/archivebox/data/index.sqlite3
√ /Users/squash/Documents/Code/ArchiveBox/archivebox/data/index.json
√ /Users/squash/Documents/Code/ArchiveBox/archivebox/data/index.html
Visit https://ArchiveBox.io to see documentation, or run: ----------------------------------------------------------------
archivebox help [] Done. ArchiveBox collection is set up in the current folder.
To add new links, you can run:
archivebox add 'https://example.com'
To get started, you can add individual pages or import lists or feeds of URLs: For more usage and examples, run:
archivebox add https://example.com archivebox help
archivebox add --depth=1 ~/Downloads/firefox_bookmarks.html
archivebox add --depth=1 https://blog.example.com/some/rss/feed.xml
You can also watch certain files or URLs and import add links automatically on every update:
archivebox schedule --every=day https://getpocket.com/users/example/feed/all
``` ```
Initialize a new "collection" folder, aka a complete archive containing an ArchiveBox.conf config file, an index of all the archived pages, and the archived content for each page.
### `$ archivebox info` ### `$ archivebox info`
Print out some info and statistics about the archive collection. Print out some info and statistics about the archive collection.