Add instructions for Tor placeholders and fallback logic
VoxVera Flyers
Generate printable flyers with QR codes linking to Tor (.onion) or HTTPS sites, plus optional Nostr sharing.
🚀 Key Features
// 🔧 merged conflicting changes from codex/populate-gui-text-fields-for-editing vs main
- Interactive setup:
voxvera initprompts for metadata or extracts from a PDF form. When editing body text, a small Tkinter GUI window opens with existing content pre-filled, falling back to the user's$EDITORif the GUI isn't available. - Template support:
voxvera init --template <name>copies built-in templates (blank,voxvera). - Build assets:
voxvera build [--pdf <path>] [--download <file.zip>]generates HTML, obfuscated JS/CSS, QR codes, and bundles PDFs. - Batch import:
voxvera importprocesses all JSON configs inimports/. - Onion hosting:
voxvera servepublishes via Tor/OnionShare and updates flyer links. - All-in-one:
voxvera quickstartruns init, build, and serve in sequence. - Dependency check:
voxvera checkverifies presence of required tools. - GUI: Minimal Electron wrapper (
gui/electron) for non-CLI users.
📥 Fool-Proof Installation
1. Prebuilt Binary (Linux)
# Download and install to $HOME/.local/bin
mkdir -p ~/.local/bin \
&& wget -qO ~/.local/bin/voxvera \
https://github.com/PR0M3TH3AN/VoxVera/releases/latest/download/voxvera \
&& chmod +x ~/.local/bin/voxvera
# Ensure ~/.local/bin is in your PATH
if ! echo "$PATH" | grep -q "$HOME/.local/bin"; then
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
echo 'Add ~/.local/bin to your PATH and restart your shell.'
fi
2. Homebrew (macOS)
brew tap PR0M3TH3AN/voxvera
brew install voxvera
3. pipx (cross-platform)
pipx install voxvera
4. From Source
# Download the latest-main branch as a tarball
wget -O VoxVera.tar.gz \
https://github.com/PR0M3TH3AN/VoxVera/archive/refs/heads/main.tar.gz
# Extract it
tar -xzf VoxVera.tar.gz
# Enter the extracted directory (note the “-main” suffix)
cd VoxVera-main
# Create & activate virtualenv
python3 -m venv .venv
source .venv/bin/activate
# Install editable package
pip install --upgrade pip
pip install -e .
After install, verify with
voxvera --help.
🛠️ System Dependencies
These tools must be available in your PATH:
ton, onionshare-cli, jq, qrencode, convert (ImageMagick), pdftotext,
node, javascript-obfuscator, html-minifier-terser
Run voxvera check to see missing dependencies.
Placeholder Tor files
The voxvera/resources/tor/* folders only contain small text files named
placeholder. VoxVera expects real tor and obfs4proxy binaries in those
locations when running voxvera serve or the Electron GUI. Install the tools
manually (for example with apt install tor obfs4proxy) and set the
environment variables TOR_SOCKS_PORT and TOR_CONTROL_PORT before launching.
You may also run scripts/download_tor.sh to fetch prebuilt binaries and
replace the placeholders.
🎮 GUI (Electron)
cd gui/electron
npm install
voxvera check # verify dependencies before launching
npm start
Click Quickstart to generate flyers without the terminal. If any tools are
missing or the network fails, see docs/troubleshooting.md for fixes.
🏗️ Basic Usage
# 1. Interactive setup:
voxvera init
# 2. Build flyers:
voxvera build [--pdf path/to/form.pdf] [--download path/to/file.zip]
# 3. Serve via OnionShare:
voxvera serve
Or run all steps:
voxvera quickstart
Other Commands
voxvera init --template <name>— copy a template intodist/.voxvera import— batch-import JSON configs fromimports/.voxvera check— dependency health check.
🐳 Docker (optional)
# Pull and run
docker pull ghcr.io/PR0M3TH3AN/voxvera:latest
mkdir flyers
docker run --rm -it -v "$(pwd)/flyers:/flyers" ghcr.io/PR0M3TH3AN/voxvera
Flyers appear in ./flyers.
📄 Documentation
See the docs/ folder for detailed guides:
docs/usage.md— CLI workflowsdocs/docker.md— Docker tipsdocs/templates.md— available flyer templatesdocs/troubleshooting.md— common fixes
📜 License
MIT © 2025 thePR0M3TH3AN