A Nix-friendly fork of Flitter, a speedrunning split timer for Unix-style terminals
Rev. | 时间 | 作者 | Message RSS |
8ef92b30 | 2022-12-20 08:55:14 | Corbin | Add command for summarizing splits. So that I don't have... |
f88028cb | 2022-12-19 10:03:13 | Corbin | Fix thinko. |
3247aeb3 | 2022-12-19 09:45:40 | Corbin | Set up and invoke ocamlformat. This was less than I expe... |
409be502 | 2022-12-19 09:21:31 | Corbin | Successfully load one of my old savefiles. The PPX for S... |
dbaf2a90 | 2022-12-19 08:19:27 | Corbin | Build with today's nixpkgs. Keeping up with Jane Street. |
666c5483 | 2020-10-26 04:56:08 | Alex Ozer | Fix build problems |
b34b4972 | 2020-08-20 10:21:33 | Alex Ozer | Merge pull request #23 from AlexMorson/master Fix milli... |
2fffe462 | 2020-08-20 10:08:26 | Alex Morson | Fix millisecond padding bug Milliseconds were being zero... |
16f26a13 | 2019-08-07 22:14:40 | Alex Ozer | Update README.md |
9d871f9d | 2018-11-18 06:33:39 | Alex Ozer | Example splits imply multi-word split names need quotes |
A Livesplit-inspired speedrunning split timer for terminal / command-line.
Flitter has been tested on Linux, but in theory it should work on MacOS as well. Windows is not supported.
Flitter is mostly written in OCaml.
Install opam: opam install instructions
Set up opam and install OCaml dependencies:
$ opam init
$ opam switch create 4.07.0
$ opam install dune core lwt re color sexp_pretty uutf lwt_ppx uuseg notty
Flitter uses a tiny amount of Python to provide global hotkeys.
Install pip for Python 3. For example, on Ubuntu / Debian:
$ sudo apt install python3-pip
Install Python package dependencies:
$ pip3 install --user pynput
$ git clone --recursive https://github.com/alexozer/flitter.git
$ cd flitter
$ dune build
$ dune install
Create your splits:
Copy examples/splits.scm
somewhere. Edit it and add your game and split information. The personal best splits, world record splits, and gold segments are not required.
Launch Flitter with your splits file:
$ flitter my-splits.scm
Warning: Don't edit your splits file while Flitter is running, your changes will be overwritten.
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) |
Feel free to make an issue or a pull request!
Welcome to OSDN Wiki system. Here is your chamber Wiki space.
Check Wiki Guide (English) to refer syntax and functions.
[PageInfo]
(auto generated page)
[Permissions]
view:all, edit:admins, delete/config:admins