https://github.com/mesalilac/chianti
Youtube watch time tracker. WIP
https://github.com/mesalilac/chianti
axum axum-server diesel-rs firefox http http-server rest rust rust-lang self-hosted solidjs time-tracker time-tracking timetracker typescript watchtime youtube youtube-tracker
Last synced: 2 months ago
JSON representation
Youtube watch time tracker. WIP
- Host: GitHub
- URL: https://github.com/mesalilac/chianti
- Owner: mesalilac
- License: gpl-3.0
- Created: 2025-07-06T23:29:06.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-17T18:01:29.000Z (10 months ago)
- Last Synced: 2025-08-17T19:29:47.563Z (10 months ago)
- Topics: axum, axum-server, diesel-rs, firefox, http, http-server, rest, rust, rust-lang, self-hosted, solidjs, time-tracker, time-tracking, timetracker, typescript, watchtime, youtube, youtube-tracker
- Language: Rust
- Homepage:
- Size: 626 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chianti
Collect info about the youtube videos you watch and view the data in the form of charts.
# Chianti Components
| Component | Description | Path |
| ----------------- | -------------------------------------------------------------- | ------------------- |
| Server | Recive data from browser extension and store it | ./src |
| web | Display data stored on the server in form of charts and tables | ./web |
| Browser extension | Send youtube video info to server | ./browser-extension |
# Installation
## Browser extension
1. Run `./build-browser-extension.sh` with argument `firefox` or `chrome` or `all` to build the extension and package it
2. Use the final `.xpi` or `.zip` file to install the extension in your browser
## Server
### Docker
1. Build the Docker Image using `./build-image.sh`
2. Run the Docker Image using `docker run -d --restart always -p 8080:8080 ` - You may add a volume to make the database persistent
### Local
- Run `./installer.sh install` - By default the server will be installed in `${XDG_DATA_HOME}/chianti`
If `XDG_DATA_HOME` is set, otherwise it will be installed in `/usr/share/chianti`
# Uninstallation
## Browser extension
- Go to installed extensions page in your browser and click remove/uninstall
## Server
### Docker
1. Stop the Docker container
2. Remove the Docker container
3. Remove the Docker image
### Local
- Run `./installer.sh uninstall`