# README
Tetr.io metrics for personal use
A small program to periodically fetch a user's TETR.IO games. Game stats are saved to a database. This program is for personal use and will only support fetching stats for a single user. I use this data to track my performance over time.
Getting started
- Clone this repository
$ git clone [email protected]:benjaminheng/tetrio-metrics.git
- Install the golang-migrate CLI tool
$ go install -tags 'sqlite3' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
- Initialize the sqlite3 database
$ make migrate-up
- Initialize the configuration file
$ cp config.toml.example config.toml $ vim config.toml # update `TetrioUsername` to your username
- Install tetrio-metrics
$ make install
- Run tetrio-metrics
$ tetrio-metrics
# Packages
No description provided by the author
# Functions
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author