1.6 KiB
Detailed Usage
This guide covers common CLI workflows. See docs/docker.md
for Docker instructions and docs/templates.md
for available flyer templates.
Step-by-Step
- Edit
src/index-master.html
orsrc/nostr-master.html
if you need custom content. - Run
voxvera init
and follow the prompts, or usevoxvera init --from-pdf path/to/form.pdf
. - Host the generated
host/<subdomain>
directory. Theindex.html
file fetchesconfig.json
, so the flyer must be served via a local or remote web server rather than opened directly from disk. For a quick test you can runpython3 -m http.server
inside the folder and then visit the provided address.
Batch Import
Place configuration files in an imports/
directory at the project root and run:
voxvera import
Each JSON file is copied to src/config.json
and processed with voxvera build
. Existing folders under host/
with the same subdomain are removed before new files are written.
Hosting with OnionShare
Use the CLI to publish the flyer over Tor:
voxvera serve
The script launches onionshare-cli
in persistent website mode, waits for the generated onion URL, patches config.json
, regenerates the QR codes and obfuscated HTML, and then copies the updated files back into the host
directory. Keep OnionShare running to continue hosting.
index.html
fetches config.json
dynamically, so the flyer should be viewed through a local or remote web server. For quick testing, run python3 -m http.server
in the folder and open the provided address instead of loading the file directly.