{"id":13593240,"url":"https://github.com/rmehri01/thock","last_synced_at":"2025-04-13T18:01:42.309Z","repository":{"id":54537861,"uuid":"309903677","full_name":"rmehri01/thock","owner":"rmehri01","description":"⌨️ A modern TUI typing game featuring online racing against friends.","archived":false,"fork":false,"pushed_at":"2021-08-26T03:00:12.000Z","size":1154,"stargazers_count":93,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-07T05:43:00.434Z","etag":null,"topics":["brick","haskell","tui","typing-practice","websockets"],"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/rmehri01.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}},"created_at":"2020-11-04T05:58:22.000Z","updated_at":"2025-03-10T05:39:20.000Z","dependencies_parsed_at":"2022-08-13T19:01:04.771Z","dependency_job_id":null,"html_url":"https://github.com/rmehri01/thock","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmehri01%2Fthock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmehri01%2Fthock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmehri01%2Fthock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmehri01%2Fthock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmehri01","download_url":"https://codeload.github.com/rmehri01/thock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557845,"owners_count":21124168,"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":["brick","haskell","tui","typing-practice","websockets"],"created_at":"2024-08-01T16:01:18.244Z","updated_at":"2025-04-13T18:01:42.238Z","avatar_url":"https://github.com/rmehri01.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"# thock\n\n![GitHub Actions Status](https://github.com/rmehri01/thock/workflows/Build/badge.svg) [![Hackage](https://img.shields.io/hackage/v/thock.svg)](https://hackage.haskell.org/package/thock)\n\n![An example of an online game](resources/demo.gif)\n\n## Installation\n\n### Binary\n\nRight now there are only binaries for Ubuntu and macOS under [releases](https://github.com/rmehri01/thock/releases). Unfortunately there is no support for Windows but the Ubuntu binary will still work in [WSL](https://docs.microsoft.com/en-us/windows/wsl/about).\n\nTo use the binary you will have to put it on your PATH and may have to change permissions using `chmod` or allowing it in system preferences.\n\n### From Source\n\n```console\ngit clone https://github.com/rmehri01/thock.git\ncd thock\nstack install thock\n```\n\n## Usage\n | English/Haskell | Russian | Description | Game State\n | - | - | - | -\n | `Esc`        | `Esc`        | go back | Any\n | `^r`         | `^к`         | retry | Practice\n | `^n / Enter` | `^т / Enter` | next quote | Practice\n | `r`          | `к`          | signal your readiness | Online game waiting room\n\n## Credit\n\nThe terminal UI is made using the amazing [brick](https://github.com/jtdaugherty/brick/) library and the online functionality was done using [websockets](https://github.com/jaspervdj/websockets). I also took a great amount of inspiration from other great projects such as [hascard](https://github.com/Yvee1/hascard), [monkeytype](https://github.com/Miodec/monkeytype), and [gotta-go-fast](https://github.com/callum-oakley/gotta-go-fast).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmehri01%2Fthock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmehri01%2Fthock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmehri01%2Fthock/lists"}