The test servers use only the Python standard library (3.9+), except text-adventures, which is plain Node 22+ (no packages).
# password-catalog: login reader / secret, put some .epub files in ./books
cd examples/companions/password-catalog && mkdir -p books && python3 mock_library.py # :8080
# device-code-catalog: open the printed /activate page on your phone to approve
cd examples/companions/device-code-catalog && python3 mock_device_auth.py # :8081
# event-webhooks: use the same secret on the plugin's web page; put a sleep.bmp next to it
cd examples/companions/event-webhooks && HOOK_SECRET=s3cret python3 hook_receiver.py # :8090
# text-adventures: downloads four freeware games from the IF Archive, then serves them
cd examples/companions/text-adventures && ./fetch-games.sh && node server.js # :8095
On the plugin's web page, enter http://<your computer's LAN IP>:<port>.
# job-runner: with the reader in File Transfer mode and /plugins-run open in a browser
READER=http://crosspoint.local ./examples/companions/job-runner/send-to-reader.sh https://example.com/book.epub
# bundle-store: build a catalog of these examples (pin BASE_URL to a tag for real releases)
python3 examples/companions/bundle-store/build_store.py examples/plugins \
https://raw.githubusercontent.com/YOU/YOUR-REPO/main/examples/plugins > store.json