Skip to content

inlinrhq/inlinr-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inlinr-cli

Time tracking daemon for Inlinr. Accepts heartbeats from editor plugins (VS Code, JetBrains, Neovim, …), buffers them in an on-disk SQLite queue, and uploads batches to the Inlinr ingest endpoint.

Plugins call this binary as a subprocess — they don't talk to the API directly.

Usage

inlinr activate                     # authorize this machine
inlinr heartbeat \
  --entity src/routes/index.tsx \
  --project-git-remote git@github.com:you/repo.git \
  --language typescript \
  --editor vscode \
  --plugin vscode-inlinr/0.1.0 \
  --write
inlinr doctor                       # diagnose config + connectivity

Build

make build           # native binary in bin/inlinr
make build-all       # cross-compiled binaries in dist/
make test

Config

Stored at ~/.inlinr/config.toml (overridable with $INLINR_HOME).

[auth]
device_token = "in_d_..."

[behavior]
heartbeat_rate_limit_seconds = 120
offline_queue_max = 10000

Queue at ~/.inlinr/queue.db.

License

BSD-3. See LICENSE. Portions of the plugin-facing CLI surface are modelled on wakatime-cli (also BSD-3) to ease porting existing WakaTime editor plugins.

About

Time tracking CLI for Inlinr — spawned by editor plugins

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors