Minerva
Disclaimer: This guide assumes you are comfortable using a command line.
For macOS and linux, use the "terminal" app. For windows, use "powershell".
uv for your platform using the instructions here: https://docs.astral.sh/uv/uv python install 3.15mkdir minervacd minervauv venv --python 3.15source .venv/bin/activateuv pip install click httpx richDownload the script:
curl -fLgRsS 'https://gist.github.com/bl791/d14f8d1b27492a17fbbbadc15797cb4b/raw/minerva.py' -o minerva.py
Test the script:
uv run minerva.py
Your output should look like this:
$ uv run minerva.py
Usage: minerva.py [OPTIONS] COMMAND [ARGS]...
Minerva DPN Worker — help archive the internet.
Options:
--help Show this message and exit.
Commands:
login Authenticate with Discord.
run Start downloading and uploading files.
status Show login status.
Run the following:
uv run minerva.py login
You will need to allow the script to access discord. Once that's done you should see "Login successful!"
uv run minerva.py run
That's it, just leave it running!
Very similar to the above workflow, but we will have to do a few things differently:
uv for your platform using the instructions here: https://docs.astral.sh/uv/uv python install 3.15mkdir minervacd minervauv venv --python 3.15source .venv/bin/activateuv pip install click httpx richDownload the script:
curl -fLgRsS 'https://gist.githubusercontent.com/bl791/d14f8d1b27492a17fbbbadc15797cb4b/raw/d3e013329e8135b124202e264b120ebe9709eb80/minerva.py' -o minerva.py
Test the script:
uv run minerva.py
Your output should look like this:
$ uv run minerva.py
Usage: minerva.py [OPTIONS] COMMAND [ARGS]...
Minerva DPN Worker — help archive the internet.
Options:
--help Show this message and exit.
Commands:
login Authenticate with Discord.
run Start downloading and uploading files.
status Show login status.
Run the following:
uv run minerva.py login
http://127.0.0.1:11111/?token=12345...minerva.py logincurl 'http://127.0.0.1:11111/?token=12345...' using the URL you copied. Quotes around the URL are helpful.screen -R minerva
uv run minerva.py run
Now you are running the downloader. To detach, do the following (not at the same time):
ctrl+adAnd now you can log out of your session. To reconnect, log back in and run screen -R minerva again.
That's it, just leave it running! For custom options, see uv run ./minerva.py run --help
Example:
uv run ./minerva.py run -c 30 -b 5 --temp-dir ./archiver/