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

v0.4 (first Django release) #207

Merged
merged 405 commits into from
Jul 28, 2020
Merged

v0.4 (first Django release) #207

merged 405 commits into from
Jul 28, 2020

Conversation

pirate
Copy link
Member

@pirate pirate commented Apr 2, 2019

The v0.4 Release

A bunch of big changes:

  • pip install archivebox is now available
  • beginnings of transition to Django while maintaining a mostly backwards-compatible CLI
  • using argparse instead of hand-written CLI system: see archivebox/cli/archivebox.py
  • new subcommands-based CLI for archivebox (see below)

For more info, see: https://github.com/pirate/ArchiveBox/wiki/Roadmap

Released in this version:

Install Methods:

Note: apt, brew are now available as of v0.5

Command Line Interface:

Web UI:

  • / Main index
  • /add Page to add new links to the archive (but needs improvement)
  • /archive/<timestamp>/ Snapshot details page
  • /archive/<timestamp>/<url> live wget archive of page
  • /archive/<timestamp>/<extractor> get a specific extractor output for a given snapshot
  • /archive/<url> shortcut to view most recent snapshot of given url
  • /archive/<url_hash> shortcut to view most recent snapshot of given url
  • /admin Admin interface to view and edit archive data

Python API:

(Red ❌ features are still unfinished and will be released in later versions)

@pirate
Copy link
Member Author

pirate commented Jul 28, 2020

🌅 v0.4 is officially released.

Enjoy!

pip install archivebox

cd path/to/your/archive/folder

archivebox init  # will safely upgrade an existing repo, or create a new one if the directory is empty
archviebox add 'https://example.com'
archviebox add 'https://getpocket.com/users/USERNAME/feed/all' --depth=1
archivebox status
archivebox server
archivebox help

Or if you prefer docker:

docker run -v $PWD:/data archivebox init
docker run -v $PWD:/data archivebox add 'https://example.com'
docker run -v $PWD:/data -p 8000 archivebox server
version: '3.7'

services:
    archivebox:
        image: nikisweeting/archivebox:latest
        command: server 0.0.0.0:8000
        ports:
            - 8000:8000
        environment:
            - USE_COLOR=True
            # any other config you want here...
        volumes:
            - ./data:/data

Screenshots

Screen Shot 2020-07-28 at 6 19 48 AM

@pirate pirate closed this Jul 28, 2020
@pirate pirate reopened this Jul 28, 2020
@pirate pirate merged commit 56c6979 into master Jul 28, 2020
@pirate pirate deleted the django branch July 28, 2020 12:23
@benoitjpnet
Copy link

Awesome! 🎉

What are the update instructions coming from previous version?

@pirate
Copy link
Member Author

pirate commented Jul 28, 2020

@benpro if you run archivebox it'll guide you through the whole upgrade process 👍 :

pip install archivebox
archivebox

cd path/to/your/archive/folder
archivebox init   # or docker run -v $PWD:/data nikisweeting/archivebox init

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

Successfully merging this pull request may close these issues.