{"repo":"ActivityWatch/aw-server-rust","free":true,"listed":false,"github":"https://github.com/ActivityWatch/aw-server-rust","clone":"git clone https://github.com/ActivityWatch/aw-server-rust.git","description":"High-performance implementation of the ActivityWatch server, written in Rust","language":"Rust","stars":311,"topics":["rust","rest-api","activitywatch","server","sync","timetracking"],"license":"MPL-2.0","category":"api-integrations-sdks","readme_excerpt":"aw-server-rust ============== A reimplementation of aw-server in Rust. Features missing compared to the Python implementation of aw-server: - API explorer (Swagger/OpenAPI) How to compile Build with cargo : You can also build with make, which will build the web assets as well: Your built executable will be located in ./target/release/aw-server-rust . If you want to use it with a development version of aw-qt you'll want to copy this binary into your venv : How to run If you want to quick-compile for debugging, run cargo run from the project root: NOTE: This will start aw-server-rust in testing mode (on port 5666 instead of port 5600). Docker A multi-stage scripts/Dockerfile is included. It builds the web UI and the server, and produces a slim Debian-based image containing only the aw-server binary (the web UI assets are embedded into it at compile time). The aw-webui submodule must be initialized before building: Run it with: Notes: - The server binds to 127.0.0.1 by default, which is unreachable from outside the container. Pass --host 0.0.0.0 (as above) to make it reachable. - The server runs as the unprivileged user aw (uid/gid 10001 ). When using a bind mount instead of a named volume, the host directory must be writable by that uid ( sudo chown -R 10001:10001 ). - The database lives in /home/aw/.local/share/activitywatch/aw-server-rust . Mount a volume there to keep it across container recreations. Images built before the switch to a non-root user stored it under /root/.lo","default_branch":null,"files":null,"tree":[],"storefront":"/r/ActivityWatch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ActivityWatch/aw-server-rust/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}