tetrio-metrics

command module
v0.0.0-...-3b08ab8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

README

Tetr.io metrics for personal use

A small program to periodically fetch a user's tetr.io replays. Replays are saved to a database. This program is for personal use and will only support fetching a single user's replays. I intend to use this data to track my performance over time.

Getting started

  1. Clone this repository
    $ git clone [email protected]:benjaminheng/tetrio-metrics.git
    
  2. Install the golang-migrate CLI tool
    $ go install -tags 'sqlite3' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
    
  3. Initialize the sqlite3 database
    $ make migrate-up
    
  4. Initialize the configuration file
    $ cp config.toml.example config.toml
    $ vim config.toml # update `TetrioUserID` to your user ID
    
  5. Install tetrio-metrics
    $ make install
    
  6. Run tetrio-metrics
    $ tetrio-metrics
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL