{"id":15099221,"url":"https://github.com/mcfrappe/ttt","last_synced_at":"2025-10-08T05:30:26.154Z","repository":{"id":53766076,"uuid":"331914378","full_name":"McFrappe/TTT","owner":"McFrappe","description":"A terminal version of the Swedish teletext system, written in C.","archived":true,"fork":false,"pushed_at":"2021-03-15T13:36:55.000Z","size":2892,"stargazers_count":10,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T08:31:57.087Z","etag":null,"topics":["api-client","c","efficient","keybindings","libcurl","ncurses","ncurses-tui","news","terminal"],"latest_commit_sha":null,"homepage":"","language":"C","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/McFrappe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-01-22T10:37:27.000Z","updated_at":"2022-12-12T13:22:15.000Z","dependencies_parsed_at":"2022-09-13T10:22:22.717Z","dependency_job_id":null,"html_url":"https://github.com/McFrappe/TTT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/McFrappe/TTT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McFrappe%2FTTT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McFrappe%2FTTT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McFrappe%2FTTT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McFrappe%2FTTT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/McFrappe","download_url":"https://codeload.github.com/McFrappe/TTT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McFrappe%2FTTT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278892041,"owners_count":26063919,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api-client","c","efficient","keybindings","libcurl","ncurses","ncurses-tui","news","terminal"],"created_at":"2024-09-25T17:08:05.303Z","updated_at":"2025-10-08T05:30:25.588Z","avatar_url":"https://github.com/McFrappe.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Tests](https://github.com/McFrappe/TTT/workflows/Tests/badge.svg)\n![Formatted .c and .h files](https://github.com/McFrappe/TTT/workflows/Format/badge.svg)\n\n# TTT\n![TTT Normal View](images/ttt-normal.png)\nTTT, Terminal Text TV, is a terminal version of the Swedish teletext system\n(\"Text-TV\") written in C, relying on the [Text TV API](https://texttv.nu/blogg/texttv-api).\n\n## Dependencies\n* [libcurl](https://curl.se/docs/install.html)\n* [ncurses](https://invisible-island.net/ncurses)\n\n## Internal libraries\n* [jsmn](https://github.com/zserge/jsmn) (included in the source)\n\n## Installation\nInstall [libcurl](https://curl.se/docs/install.html) and [ncurses](https://invisible-island.net/ncurses)\nif you do not already have them installed. These should be available in the repositories of your distribution - if not, refer to the links above.\n\n### Official packages\nNot yet available.\n\n### Building from source\n```\n$ git clone https://github.com/McFrappe/TTT.git\n$ cd TTT\n$ sudo make install\n```\n\nThe default installation path prefix is `/usr/local`, i.e. the program is\ninstalled to `/usr/local/bin`. This can be changed by specifying another prefix:\n\n```\n$ sudo PREFIX=\"\u003cyour/prefix\u003e\" make install\n```\n\n## Usage\nThe program is launched with `ttt` (provided that the binary is included in your `$PATH`).\n\n### Keybindings\nAll keybindings are listed in the help page of the program. This page can be\nopened and closed using `?`.\n\n### Arguments\n* `-h` - display help message\n* `-r` - restore terminal colors on quit (using the `reset` syscall)\n* `-d` - do not overwrite terminal colors (uses your terminal colors instead)\n* `-t` - use transparent background for pages (instead of black)\n\n#### Display\n\n![TTT -d](images/ttt-d.png)![TTT -d -t](images/ttt-d-t.png)\n\n## Development usage\n```\n$ make run        # run the program\n$ make memrun     # run the program with valgrind\n\n$ make test       # run tests\n$ make memtest    # run tests with valgrind\n\n$ make clean      # removes all compiled files\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcfrappe%2Fttt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcfrappe%2Fttt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcfrappe%2Fttt/lists"}