"Your own personal internet archive" (网站存档 / 爬虫)
curl -sSL 'https://get.archivebox.io' | sh
docker-compose
(macOS/Linux/Windows) 👈 recommended (click to expand)docker-compose.yml
file into a new empty directory (can be anywhere).
mkdir ~/archivebox && cd ~/archivebox
curl -O 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml'
docker-compose run archivebox init --setup
docker-compose up
# completely optional, CLI can always be used without running a server
# docker-compose run [-T] archivebox [subcommand] [--args]
docker
(macOS/Linux/Windows)mkdir ~/archivebox && cd ~/archivebox
docker run -v $PWD:/data -it archivebox/archivebox init --setup
docker run -v $PWD:/data -p 8000:8000 archivebox/archivebox
# completely optional, CLI can always be used without running a server
# docker run -v $PWD:/data -it [subcommand] [--args]
bash
auto-setup script (macOS/Linux)curl -sSL 'https://get.archivebox.io' | sh
setup.sh
for the source code of the auto-install script.
apt
(Ubuntu/Debian)# On Ubuntu >= 20.04, add the sources automatically:
sudo apt install software-properties-common
sudo add-apt-repository -u ppa:archivebox/archivebox
# On Ubuntu <= 19.10, or other Debian-style systems add the sources manually:
echo "deb http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/archivebox.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C258F79DCC02E369
sudo apt update
apt
.
sudo apt install archivebox
sudo python3 -m pip install --upgrade --ignore-installed archivebox # pip needed because apt only provides a broken older version of Django
mkdir ~/archivebox && cd ~/archivebox
archivebox init --setup # if any problems, install with pip instead
archivebox server 0.0.0.0:8000
# completely optional, CLI can always be used without running a server
# archivebox [subcommand] [--args]
debian-archivebox
repo for more details about this distribution.
brew
(macOS)brew
.
brew tap archivebox/archivebox
brew install archivebox
mkdir ~/archivebox && cd ~/archivebox
archivebox init --setup # if any problems, install with pip instead
archivebox server 0.0.0.0:8000
# completely optional, CLI can always be used without running a server
# archivebox [subcommand] [--args]
homebrew-archivebox
repo for more details about this distribution.
pip
(macOS/Linux/Windows)pip3
.
pip3 install archivebox
mkdir ~/archivebox && cd ~/archivebox
archivebox init --setup
# install any missing extras like wget/git/ripgrep/etc. manually as needed
archivebox server 0.0.0.0:8000
# completely optional, CLI can always be used without running a server
# archivebox [subcommand] [--args]
pip-archivebox
repo for more details about this distribution.
pacman
/ pkg
/ nix
(Arch/FreeBSD/NixOS/more)pacman install archivebox
(contributed by @imlonghao
)curl -sSL 'https://get.archivebox.io' | sh
(uses pkg
+ pip3
under-the-hood)docker
+ electron
Desktop App (macOS/Linux/Windows)ArchiveBox.app.zip
ArchiveBox.deb
(alpha: build manually)ArchiveBox.exe
(beta: build manually)https://demo.archivebox.io
|
|
||