• R/O
  • HTTP
  • SSH
  • HTTPS

Arbre Source

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A Nix-friendly SQLite-enhanced fork of Flitter, a speedrunning split timer for Unix-style terminals


Nom Taille Révision l'heure Auteur Message de Log
bin
doc
examples
src
.gitignore 17 2cf9fed 2018-09-28 12:19:54 Alex Ozer Add duration parsing and printing Un...
.ocamlformat 0 3247aeb 2022-12-19 09:45:40 Corbin Set up and invoke ocamlformat. This ...
LICENSE 1.06 k 1136943 2023-05-17 03:10:49 Corbin Clean up docs.
README.md 2.79 k afe9c57 2023-06-06 02:09:56 Corbin Fix a SQL query and add cumulative ti...
dune-project 16 2cf9fed 2018-09-28 12:19:54 Alex Ozer Add duration parsing and printing Un...
flake.lock 1.46 k 37505f2 2023-04-25 15:09:27 Corbin Become a Nix flake. And we have to u...
flake.nix 1.57 k 70e6f40 2023-05-17 03:48:00 Corbin Fulfill the flitter-new command.
flitter.install 280 13fbd8b 2018-11-12 15:46:53 Alex Ozer Clarify world record splits in README
flitter.opam 0 2cf9fed 2018-09-28 12:19:54 Alex Ozer Add duration parsing and printing Un...
init.sql 1.34 k a30462a 2023-05-25 04:40:35 Corbin Tighten the data model; start at "New...
todo.txt 2.99 k 395d887 2023-05-14 07:01:34 Corbin Start building a SQLite migration tool.

README.md

Flitterite

Flitterite is a Livesplit-inspired speedrunning split timer for terminals, including several command-line tools for managing a database of splits. Flitterite is forked from Flitter.

Animated demo GIF

All screenshots

Features

  • Global hotkeys
  • :rainbow: Animated rainbow best splits
  • 24-bit terminal color
  • Undo / delete split
  • Pause / resume
  • Up to 60 FPS rendering with low CPU usage
  • Robust time computations: float math is mostly avoided

Flitterite-specific features

  • Splits and history are now stored in a SQLite database of splits
  • Import script for migrating from S-expressions to SQLite
  • Statistics for splits
  • Multiple routes and categories per game
  • Nix flake
  • Many bug fixes

Install

Add this git repository to your Nix flake.

Usage

Create your database of splits:

$ flitter-new splits.db

Launch Flitter with your splits file:

$ flitter splits.db

Keybindings

Keybindings are all global hotkeys; they will work even when the terminal is not focused.

Keys Action
Space Start / split / save and reset if run finished
J Start / split
K Undo split
D Delete last segment
Backspace Pause / reset (save run if finished and save golds)
Delete Pause / delete run (don't save anything)
Q Quit (if not currently timing)

Summaries

The flitter-summary tool can be used to quickly extract the minimum (best), average, and standard deviation for an entire database, a single category, or a single run. For example:

$ flitter-summary splits.db
...
Horizon: Forbidden West (Abs%): min 33:09.354 (attempt 4), avg 38:17.799 ± 4:02.849
...

$ flitter-summary splits.db 'Horizon: Forbidden West' 'Abs%'
Segment: New Game -> Interlude: min 15:23.983, avg 15:36.073 ± 11.095
Segment: New Game -> Shuttle: min 13:53.595, avg 18:31.488 ± 6:05.001
Segment: Shuttle -> Spire: min 2:13.510, avg 2:35.034 ± 17.954
Segment: Spire -> Embassy: min 14:47.481, avg 18:00.206 ± 1:42.837
Segment: Embassy -> Abs: min 2:14.768, avg 3:09.039 ± 1:06.530

$ flitter-summary splits.db 'Horizon: Forbidden West' 'Abs%' 4
Segment: New Game -> Shuttle: 13:53.595 (cum 13:53.595)
Segment: Shuttle -> Spire: 2:13.510 (cum 16:07.105)
Segment: Spire -> Embassy: 14:47.481 (cum 30:54.586)
Segment: Embassy -> Abs: 2:14.768 (cum 33:09.354)

Contributing

Feel free to make an issue or a pull request! Also feel free to copy any changes back to Flitter.