Pretty much fully functional cloud software for the Anki/DDL Vector robot.
Still somewhat experimental.
Can only be used with dev bots. I have an instance up at vicapi.pvic.xyz. My CFW (victor) is pointed to it. Vector Web Setup for it: https://v.pvic.xyz
- Accounts API (at port 8080)
- A sessions manager which expires tokens
- Full token and jdocs implementations (port 8081)
- SQLite3 storage for user credentials and bot jdocs
- Voice commands (chipper code copied from wire-pod) (also port 8081)
- Weather, Houndify
- Rate limits
- The accounts endpoints are a bit different
- /v1/sessions, /v1/create_user
- JWT tokens are not verified. This (I think) requires access to the per-bot cloud key database.
- Email verification
- Reset password (function is there, just not in the API)
- More languages
- OpenAI?
- Crash dump upload (STS)
- prerequisites: Go (1.21>), gcc, g++, make, cmake
- cd into the cavalier directory, run
./setup.sh - Create a source.sh file with the following:
export CERT=<path/to/fullchain.pem>
export KEY=<path/to/privkey.pem>
export WEATHER_KEY=<weatherapi.com key>
export HOUND_KEY=<houndify client key>
export HOUND_ID=<houndify client id>
- Run start.sh. It will run cavalier with the appropriate LD_LIBRARY_PATH, and with source.sh sourced.
- I use nginx as a proxy for the accounts API, and leave the rest not behind a proxy.