Sign inSign up

shymike/rustytime

By shymike

•Updated 8 months ago

šŸ•’ blazingly fast time tracking for developers

Image
Developer tools
1

846

shymike/rustytime repository overview

⁠rustytime

rustytime

šŸ•’ blazingly fast time tracking for developers

Crates.io Total Downloads GitHub Actions Workflow Status GitHub last commit Crates.io Version Crates.io License Crates.io Size

šŸ”— Visit rustytime⁠


⁠Features

  • āœ… Time tracking
  • āœ… Stat visualization
  • āœ… WakaTime compatible
  • āœ… Fast and memory efficient

⁠What is this?

rustytime is a WakaTime⁠ compatible server that can be used to track time in most apps with any of the existing plugins⁠!

⁠Local Development

# Clone the repo
$ git clone https://github.com/ImShyMike/rustytime && cd rustytime
# Copy the env file
$ cp .env.example .env

Edit your .env file to include the following:

# GitHub OAuth Settings
GITHUB_CLIENT_ID=client_id_goes_here
GITHUB_CLIENT_SECRET=client_secret_goes_here
⁠Build & Run
# Run the full app
$ docker compose up
# OR
# Run the databse + backend 
$ docker compose up timescaledb rustytime
# Run the frontend
$ cd frontend && bun run dev

The app should now be available at http://localhost:5173⁠

⁠Seeding the DB

The seed feature can be enabled in the build to seed the database with a single user and 10000 heartbeats.

cargo run --features seed

⁠WakaTime

When using a WakaTime client, point your requests to http://localhost:3000/api/v1 (or https://api-rustytime.shymike.dev/api/v1 if using the deployed version)

⁠License

This project is licensed under the GNU AGPLv3⁠

Tag summary

Content type

Image

Digest

sha256:ceec45afe…

Size

15.6 MB

Last updated

8 months ago

docker pull shymike/rustytime