Video coming soon…
👨💻 Setup Wakapi — Self-Hosted Coding Time Tracker
Deploy Wakapi on Ubuntu with Docker — a lightweight, WakaTime-compatible server that tracks how long you code, in which languages, projects, and editors, on your own infrastructure.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/wakapi/wakapi-ubuntu.sh
chmod +x wakapi-ubuntu.sh
sudo bash wakapi-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/wakapi/wakapi-ubuntu.sh
2 Make it Executable
chmod +x wakapi-ubuntu.sh
3 Run the Installer
The script installs Docker if needed, generates a password salt, and starts Wakapi on port 3056 with signup enabled and a persistent ./data volume holding its SQLite database.
sudo bash wakapi-ubuntu.sh
4 Register and Connect Your Editor
Open your browser, register an account, then copy your API key into your editor's WakaTime plugin config:
http://<your-server-ip>:3056
Ports Used
| Port | Purpose |
|---|---|
| 3056 | Dashboard + WakaTime-compatible API (host → container 3000) |