https://github.com/p-mng/playtime
A simple, cross-platform, privacy-oriented time tracker for the command line.
https://github.com/p-mng/playtime
cli command-line cross-platform gaming linux rust rust-lang time-tracking windows
Last synced: 3 months ago
JSON representation
A simple, cross-platform, privacy-oriented time tracker for the command line.
- Host: GitHub
- URL: https://github.com/p-mng/playtime
- Owner: p-mng
- License: unlicense
- Created: 2024-11-26T12:06:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-20T23:09:26.000Z (over 1 year ago)
- Last Synced: 2025-03-23T10:45:54.421Z (over 1 year ago)
- Topics: cli, command-line, cross-platform, gaming, linux, rust, rust-lang, time-tracking, windows
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# playtime 🎮⏱️
A simple, cross-platform, privacy-oriented time tracker for the command line.
## Description
`playtime` is a command line tool that launches an executable, tracks how long the application stays open, and saves the session info (start timestamp and duration) to a database when the application is terminated. This is mainly intended for logging playtime in individual games (similar to what Steam or Epic Games offer), but can also be used as a simple way of tracking work or studying time (similar to [bartib](https://github.com/nikolassv/bartib) or [Timewarrior](https://github.com/GothenburgBitFactory/timewarrior)).
## Features
- **cross-platform**: works on Linux, macOS, Windows
- **simple**: human-readable config file using [TOML](https://toml.io/en/)
- **lightweight**: command line interface, no GUI, minimal dependencies
- **privacy-friendly**: no external services required, everything stays on your device
## Installation
- Download the Rust programming language:
- Install using `cargo install --git https://github.com/p-mng/playtime.git --tag v0.1.1`