{"id":39584738,"url":"https://github.com/JasterV/teatui","last_synced_at":"2026-01-26T15:01:17.214Z","repository":{"id":310653102,"uuid":"1040409201","full_name":"JasterV/teatui","owner":"JasterV","description":"Experimental library providing an Elm-like framework to build TUI applications in Rust","archived":false,"fork":false,"pushed_at":"2025-09-24T08:14:17.000Z","size":40,"stargazers_count":45,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-27T01:51:32.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/JasterV.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T23:59:49.000Z","updated_at":"2025-09-24T08:14:14.000Z","dependencies_parsed_at":"2025-08-19T22:44:34.139Z","dependency_job_id":"fe32e33c-b966-4a3f-89b8-cb94047ff205","html_url":"https://github.com/JasterV/teatui","commit_stats":null,"previous_names":["jasterv/ratatui-playground","jasterv/ratatui-elm","jasterv/teatui"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JasterV/teatui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasterV%2Fteatui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasterV%2Fteatui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasterV%2Fteatui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasterV%2Fteatui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasterV","download_url":"https://codeload.github.com/JasterV/teatui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasterV%2Fteatui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28781308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-18T07:35:27.099Z","updated_at":"2026-01-26T15:01:17.208Z","avatar_url":"https://github.com/JasterV.png","language":"Rust","readme":"# TeaTui\n\n\u003e Tea = The Elm Architecture\n\nThis is an experimental project that aims to build an Elm-like framework for TUI development in Rust on top of [Ratatui](https://github.com/ratatui/ratatui).\n\nMy main motivation to build this was to understand if I could structure a [Ratatui](https://github.com/ratatui/ratatui) application in an Elm-like fashion.\n\nThe provided templates from the Ratatui official sources write code in a very procedural way, abusing of mutability a bit too much for my taste. (That is, using `\u0026mut` all over the place in function arguments).\n\nI want to minimize the usage of mutability and build the most pure functional TUI apps that I can.\n\nI feel that Elm has always been a great example to follow when it comes to building frontend in a pure-functional style, and so I will try to reproduce it in here.\n\n## How does it work\n\nThe state of your application is represented by a single type called the Model.\n\nThe Model will be used by a `view` process to render a View.\n\nA separate process will read events from the outside world and\nsend them to an `update` process.\n\nThe `update` process will take the model and an event and\nreturn a new model, potentially also returning a side effect.\n\nThe updated model will be sent to the `view`, triggering a new render\nbased on the new state of the application.\n\nIf any side effects are returned from `update`, they will be processed\nin a separate process.\n\nIf the process responsible for handling side effects wants to update\nthe state of the application, it will send a message to the `update` process.\n\nThe users of this framework only need to provide:\n\n- An update function that given a model and a message return an `Update` instance.\n\n- A view function that given a reference to the model, returns a `View`\n\n- An effects function that given a reference to the model and an effect,\n might perform any side effects and optionally return a message to update the state of the application\n\n### Examples\n\nYou can find a folder with example projects in the [examples](https://github.com/JasterV/teatui/tree/main/examples) folder.\n\n## License\n\nThis project is licensed under the MIT license ([LICENSE] or \u003chttp://opensource.org/licenses/MIT\u003e)\n\n[LICENSE]: ./LICENSE\n","funding_links":[],"categories":["\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJasterV%2Fteatui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJasterV%2Fteatui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJasterV%2Fteatui/lists"}