mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 23:39:43 -05:00
0bf8f53d30
* Remove Client Auth as an explicit option (it's on by default). * Update wording about Public mode * Fix tuple error when raising TorTooOldStealth exception in CLI * Move Private Key button next to URL button in GUI * Replace visual references of ClientAuth to Private Key * Remove HTTPAuth Flask dependency and remove a lot of code to do with password generation, 401 auth triggers/invalid password rate limit detection etc * Test updates * Remove obsolete locale keys |
||
---|---|---|
.. | ||
onionshare_cli | ||
tests | ||
poetry.lock | ||
pyproject.toml | ||
README.md | ||
setup.py |
╭───────────────────────────────────────────╮
│ * ▄▄█████▄▄ * │
│ ▄████▀▀▀████▄ * │
│ ▀▀█▀ ▀██▄ │
│ * ▄█▄ ▀██▄ │
│ ▄█████▄ ███ -+- │
│ ███ ▀█████▀ │
│ ▀██▄ ▀█▀ │
│ * ▀██▄ ▄█▄▄ * │
│ * ▀████▄▄▄████▀ │
│ ▀▀█████▀▀ │
│ -+- * │
│ ▄▀▄ ▄▀▀ █ │
│ █ █ ▀ ▀▄ █ │
│ █ █ █▀▄ █ ▄▀▄ █▀▄ ▀▄ █▀▄ ▄▀▄ █▄▀ ▄█▄ │
│ ▀▄▀ █ █ █ ▀▄▀ █ █ ▄▄▀ █ █ ▀▄█ █ ▀▄▄ │
│ │
│ https://onionshare.org/ │
╰───────────────────────────────────────────╯
Installing OnionShare CLI
First, make sure you have tor
installed. In Linux, install it through your package manager. In macOS, install it with Homebrew: brew install tor
.
Then install OnionShare CLI:
pip install onionshare-cli
Then run it with:
onionshare-cli --help
Developing OnionShare CLI
You must have python3 and poetry installed.
Install dependencies with poetry:
poetry install
To run from the source tree:
poetry run onionshare-cli
To run tests:
poetry run pytest -v ./tests
Build a wheel package
poetry build
This will create dist/onionshare_cli-$VERSION-py3-none-any.whl
.