How to run with uvx or pip
The server is published on PyPI as alldayrec, with the web pages packed in: no Docker, no clone of the code.
Version
alldayrec is on PyPI from the first version tag after v0.1.0; v0.1.0 is a Docker image only.
Prerequisites
- uv (for uvx; it downloads a Python itself when there is no 3.11 to 3.14), or Python 3.11 to 3.14 and pip
- ffmpeg:
brew install ffmpegon macOS,sudo apt install ffmpegon Debian and Ubuntu
Steps
In an empty directory, make a
.envwith your keys (every setting is in Configuration):iniDASHSCOPE_API_KEY=<your Bailian key> LLM_API_KEY=<the same Bailian key> LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 LLM_MODEL=qwen-plusStart it:
bashuvx --env-file .env alldayrecThe first start downloads the model files (about 70 MB) and makes
tenants.json. The log has a line like this:text... live INFO first start: /home/you/.local/share/alldayrec/tenants.json made, one tenant; on this machine open http://127.0.0.1:8770/connect?token=<token>Open the link in that line on this computer. Once the page is open, the token disappears from the address bar: the server remembers you with a cookie.
With pip, step 2 is:
bash
pip install alldayrec
set -a && . ./.env && set +a && alldayrecNotes
- All data is in
DATA_DIR: by default your user data directory (~/.local/share/alldayrecon Linux,~/Library/Application Support/alldayrecon macOS), withtenants.json, the model files inmodels/, and the database and recordings of the tenantmain. SetDATA_DIRin.envto put it elsewhere; see Data layout. - The server listens on
127.0.0.1only by default. For phones to connect directly, addHOST=0.0.0.0to.env; see Reach the server from a phone. ENGINE=local(speech recognition on this machine) needs thelocalextra:uvx --env-file .env --from 'alldayrec[local]' alldayrec, orpip install 'alldayrec[local]'.- Another port:
alldayrec --port 8771, orPORTin.env. - To upgrade, see Upgrade and roll back.