{"id":19938611,"url":"https://github.com/sectore/tick-tock-tui","last_synced_at":"2026-02-15T17:21:44.463Z","repository":{"id":259729473,"uuid":"872928185","full_name":"sectore/tick-tock-tui","owner":"sectore","description":"Get latest Bitcoin data in your terminal: fees, blocks, ratio and prices including a price converter.","archived":false,"fork":false,"pushed_at":"2025-05-09T09:00:10.000Z","size":1757,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T10:21:36.423Z","etag":null,"topics":["bitcoin","brick","haskell","tui"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sectore.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-15T10:11:18.000Z","updated_at":"2025-04-25T10:18:49.000Z","dependencies_parsed_at":"2024-11-11T20:26:55.978Z","dependency_job_id":"623a7189-696c-42ea-9fa4-2d2e96581813","html_url":"https://github.com/sectore/tick-tock-tui","commit_stats":null,"previous_names":["sectore/tick-tock-tui"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Ftick-tock-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Ftick-tock-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Ftick-tock-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Ftick-tock-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sectore","download_url":"https://codeload.github.com/sectore/tick-tock-tui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Ftick-tock-tui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259274681,"owners_count":22832547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","brick","haskell","tui"],"created_at":"2024-11-12T23:41:17.917Z","updated_at":"2026-02-15T17:21:44.451Z","avatar_url":"https://github.com/sectore.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tick-tock-tui\n\n\u003e TICK TOCK NEXT ₿LOCK\n\nLatest [Bitcoin](https://bitcoin.org) data in your terminal:\n- `blocks`\n- `fees`\n- `price` converter `BTC/Fiat`\n- `ratio` of `BTC/Asset` pair\n\nSwitch between `BTC`, `sat` and up to 7 `Fiat` currencies.\n\n# Table of Contents\n\n- [Preview](./#preview)\n- [CLI](./#cli)\n- [Keybindings](./#keybindings)\n- [Installation](./#installation)\n- [Development](./#development)\n- [FAQ](./#faq)\n- [License](./#license)\n\n# Preview\n\n_(theme depends on your terminal preferences btw)_\n\n## Dashboard\n\n\u003ca href=\"demo/dashboard.gif\"\u003e\n  \u003cimg alt=\"dashboard\" src=\"demo/dashboard.gif\" /\u003e\n\u003c/a\u003e\n\n## Latest fees\n\n\u003ca href=\"demo/fees.gif\"\u003e\n  \u003cimg alt=\"fees\" src=\"demo/fees.gif\" /\u003e\n\u003c/a\u003e\n\n## Latest block\n\n\u003ca href=\"demo/block.gif\"\u003e\n  \u003cimg alt=\"block\" src=\"demo/block.gif\" /\u003e\n\u003c/a\u003e\n\n## Price converter\n\n\u003ca href=\"demo/converter.gif\"\u003e\n  \u003cimg alt=\"converter\" src=\"demo/converter.gif\" /\u003e\n\u003c/a\u003e\n\n## Ratio `BTC/Asset`\n\n\u003ca href=\"demo/ratio.gif\"\u003e\n  \u003cimg alt=\"ratio\" src=\"demo/ratio.gif\" /\u003e\n\u003c/a\u003e\n\n## Menu\n\n\u003ca href=\"demo/menu.gif\"\u003e\n  \u003cimg alt=\"menu\" src=\"demo/menu.gif\" /\u003e\n\u003c/a\u003e\n\n# CLI\n\n```sh\ntick-tock-tui --help\n\nUsage: tick-tock-tui [-m|--mempool URL] [-r|--refresh SECONDS]\n                     [-s|--storage DIRECTORY] [-i|--ignore]\n\n  Get the latest Bitcoin data in your terminal: fees, blocks, ratio and prices\n  incl. a price converter. Most data is provided by Mempool. Connect to your own\n  Mempool instance if you like. Latest prices of other assets come from Krakens\n  Spot API.\n\nAvailable options:\n  -m,--mempool URL         Mempool URL (default: \"https://mempool.space\")\n  -r,--refresh SECONDS     Interval to auto-reload data in seconds\n                           (default: 180)\n  -s,--storage DIRECTORY   Folder to store application state\n                           (default: \"~/.local/state/tick-tock-tui\")\n  -i,--ignore              Ignore previous stored application state to use\n                           default data instead.\n  -h,--help                Show this help text\n```\n\n# Keybindings\n\n## Menu\n\n| Key | Description |\n| --- | --- |\n| \u003ckbd\u003e↑\u003c/kbd\u003e / \u003ckbd\u003e↓\u003c/kbd\u003e or \u003ckbd\u003em\u003c/kbd\u003e | Toggle menu |\n\n## Screens\n\n| Key | Description |\n| --- | --- |\n| \u003ckbd\u003e0\u003c/kbd\u003e | Dashboard |\n| \u003ckbd\u003e1\u003c/kbd\u003e | Fees |\n| \u003ckbd\u003e2\u003c/kbd\u003e | Block |\n| \u003ckbd\u003e3\u003c/kbd\u003e | Price converter |\n| \u003ckbd\u003e4\u003c/kbd\u003e | Ratio |\n\n## Actions\n\n| Key | Description |\n| --- | --- |\n| \u003ckbd\u003er\u003c/kbd\u003e | Reload data |\n| \u003ckbd\u003es\u003c/kbd\u003e | Toggle BTC/sat |\n| \u003ckbd\u003et\u003c/kbd\u003e | Toggle Fiat |\n| \u003ckbd\u003ee\u003c/kbd\u003e | Toggle extra information |\n| \u003ckbd\u003ea\u003c/kbd\u003e | Toggle animation |\n| \u003ckbd\u003eq\u003c/kbd\u003e | Quit |\n\n## Edit mode (converter + ratio only)\n\n| Key | Description |\n| --- | --- |\n| \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003ee\u003c/kbd\u003e | Enter edit mode |\n| \u003ckbd\u003eENTER\u003c/kbd\u003e | Apply changes (in edit mode only) |\n| \u003ckbd\u003eESC\u003c/kbd\u003e | Skip changes (in edit mode only) |\n\n\n# Installation\n\n## Cabal\n\nRun following command from your project directory\n\n```sh\ncabal install\n```\n\n## Nix\n\n### NixOS\n\nsoon\n\n### Home Manager\n\nsoon\n\n# Development\n\n## Requirements\n\n### Nix (recommended):\n\nInstall [`Nix`](https://zero-to-nix.com/start/install). Enable [`flakes`](https://zero-to-nix.com/concepts/flakes).\n\n`cd` into project directory to run `nix develop`. Check out available commands in a next chapter.\n\n### Others:\n\nFollowing needs to be installed:\n\n- [Haskell](https://www.haskell.org)\n- [cabal](https://cabal.readthedocs.io)\n- [cabal-fmt](https://github.com/phadej/cabal-fmt)\n- [fourmoulu](https://github.com/fourmolu/fourmolu)\n- [just](https://just.systems)\n\nWhen everything is installed, check out all the commands available below.\n\n### Commands to build etc.\n\n```sh\njust --list\n\nAvailable recipes:\n    build              # build app\n    format             # format files\n    format-check       # check formats\n    lint               # lint\n    run                # run app\n    run-custom url sec # run app with custom args (mempool url + seconds to refresh data)\n    test               # run tests\n```\n\n### Build demos\n\nCheck instructions [here](./demos/README.md).\n\n# FAQ\n\n### Where all the data is coming from?\n\nMost data is fetched from [Mempool REST API](https://mempool.space/docs/api/rest). Connect to your private Mempool instance if you like (see next question).\n\nTo calculate a `BTC/Asset` ratio [Kraken Spot Rest API](https://docs.kraken.com/api/docs/rest-api/get-ticker-information) is used to get latest prices for other assets.\n\n### How to connect to a custom Mempool instance?\n\nStart the app with `-m` parameter:\n\n```sh\ncabal run tick-tock-tui -- -m {custom-mempool-url}\n```\n\n### Do I need an API key to get asset price data from Kraken's API?\n\nNope. Quote from [Kraken Support page](https://support.kraken.com/hc/en-us/articles/360000919966-How-to-create-an-API-key):\n\n\u003e \"API keys are not required to call the market data (public) API endpoints, as the market data endpoints are not associated with any specific Kraken account.\"\n\n### Is any data stored locally?\n\nYes, users settings are stored locally. That's needed to start the app with the latest user settings. Locations to persist data are defined by [`XdgState`](https://hackage.haskell.org/package/directory/docs/System-Directory.html#v:XdgState):\n\n- non-Windows `~/.local/state/tick-tock-tui/data{version}.json`\n- Windows: `%LOCALAPPDATA%` (e.g. `C:/Users/\u003cuser\u003e/AppData/Local/tick-tock-tui/data{version}.json`)\n\n# License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectore%2Ftick-tock-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsectore%2Ftick-tock-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectore%2Ftick-tock-tui/lists"}