{"id":15657854,"url":"https://github.com/willothy/red","last_synced_at":"2025-07-30T03:07:39.248Z","repository":{"id":234036505,"uuid":"623157518","full_name":"willothy/red","owner":"willothy","description":"TUI library and text editor in Rust","archived":false,"fork":false,"pushed_at":"2023-04-14T18:00:53.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T02:23:29.881Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willothy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-04-03T20:13:07.000Z","updated_at":"2023-04-14T01:16:54.000Z","dependencies_parsed_at":"2024-04-19T18:31:54.376Z","dependency_job_id":null,"html_url":"https://github.com/willothy/red","commit_stats":null,"previous_names":["willothy/red"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willothy/red","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willothy","download_url":"https://codeload.github.com/willothy/red/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fred/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267802903,"owners_count":24146512,"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-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2024-10-03T13:10:00.444Z","updated_at":"2025-07-30T03:07:39.188Z","avatar_url":"https://github.com/willothy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# red\n\nText editor and TUI multiplexing library, for fun and education.\n\n## Features:\n\n- [x] Floating windows\n  - [ ] Render optimizations\n- [x] Horizontal and vertical splits\n- [x] Global keyboard events\n- [x] Extensible widget trait\n- [x] Conventient layout primitives\n- [ ] Focus\n- [ ] Focused-widget keyboard events\n- [ ] Mouse events\n\n## Demo\n\nWatch in fullscreen, the lines don't render properly in a small viewport.\n\n[FloatingDemo.webm](https://user-images.githubusercontent.com/38540736/231884015-44bb77ce-2111-4d92-b463-b6a02b29be8b.webm)\n\n## Demo usage\n\nThe TUI library is not yet ready for use so it hasn't been published yet, but you can run the `demo` if you want to try it out.\n\n```sh\n\n$ git clone git@github.com:willothy/red\n\n$ cd red\n\n$ cargo run --example demo\n\n```\n\n### Demo keymaps:\n\n- `\u003cC-q\u003e`: quit\n- `\u003cTab\u003e`: switch layout (not working with new UI manager yet)\n- `\u003cShift-Tab\u003e`: switch current float\n- `\u003cUp\u003e`: move the current float up\n- `\u003cDown\u003e`: move the current float down\n- `\u003cLeft\u003e`: move the current float left\n- `\u003cRight\u003e`: move the current float right\n- `\u003cShift-Up\u003e`: resize the current float\n- `\u003cShift-Down\u003e`: resize the current float\n- `\u003cShift-Left\u003e`: resize the current float\n- `\u003cShift-Right\u003e`: resize the current float\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillothy%2Fred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillothy%2Fred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillothy%2Fred/lists"}