homebrew-archivebox
The official brew.sh formula for ArchiveBox, the self-hosted internet archiving solution.
Quickstart
# 🧙♀️ ✨ the magic incantation
brew install archivebox/archivebox/archivebox
archivebox version
archivebox init
archivebox add 'https://example.com'Tested on macOS, on Linux you should use the apt/deb package if possible.
Development
Make sure you're in the main ArchiveBox repo folder first.
cd ArchiveBox/
git submodule update --init --recursive
git pull --recurse-submodules
# Install the package locally during testing
brew install --debug --verbose --interactive ./archivebox.rb
brew install --build-bottle ./archivebox.rb
brew test-bot --root-url=https://github.com/ArchiveBox/ArchiveBox.git --tap=ArchiveBox/homebrew-archivebox archivebox/archivebox/archivebox
brew bottle archivebox
# Commit any changes to archivebox.rb, build the bottle and push to github
brew uninstall archivebox
brew untap archivebox/archivebox
# push the latest archivebox.rb to gitub, then install and bottle it from github
brew install --build-bottle archivebox/archivebox/archivebox
brew bottle archivebox/archivebox/archivebox
git add .
git commit -m "new release ✨"
git push origin main
# or use the script
./bin/build_brew.sh
./bin/release_brew.sh