/wakatime-2

determination is what makes me cool

Primary LanguageElixir

WakaTime with SQLite

Successor to ruslandoga/wakatime-1, this repo contains a single container setup to run a bootleg of WakaTime. It's composed of SQLite, Phoenix LiveView, and Litestream. It can be deployed to a free instance on fly.io.

How-to:

> git clone https://github.com/ruslandoga/wakatime-2

> api_key=$(uuidgen | tr '[:upper:]' '[:lower:]')

> fly create
> fly secrets set API_KEY=${api_key}
> vim fly.toml ........ TODO
> fly deploy

> cat > ~/.wakatime.cfg << EOM
[settings]
api_url = https://your-app.fly.dev
api_key = ${api_key}
EOM