{"id":43106809,"url":"https://github.com/georgiyozhegov/ruterm","last_synced_at":"2026-02-11T14:01:53.281Z","repository":{"id":227913892,"uuid":"772704175","full_name":"georgiyozhegov/ruterm","owner":"georgiyozhegov","description":"Tiny library for working with the terminal.","archived":false,"fork":false,"pushed_at":"2024-08-12T11:25:22.000Z","size":188,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T05:25:37.859Z","etag":null,"topics":["library","rust","simple","terminal"],"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/georgiyozhegov.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}},"created_at":"2024-03-15T18:09:29.000Z","updated_at":"2024-08-12T11:25:26.000Z","dependencies_parsed_at":"2024-05-03T15:14:49.594Z","dependency_job_id":"8784e302-7387-489f-98a6-286d2cbbff0b","html_url":"https://github.com/georgiyozhegov/ruterm","commit_stats":null,"previous_names":["georgiyozhegov/terminal","georgiyozhegov/ruterm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/georgiyozhegov/ruterm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgiyozhegov%2Fruterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgiyozhegov%2Fruterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgiyozhegov%2Fruterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgiyozhegov%2Fruterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georgiyozhegov","download_url":"https://codeload.github.com/georgiyozhegov/ruterm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgiyozhegov%2Fruterm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["library","rust","simple","terminal"],"created_at":"2026-01-31T18:00:36.172Z","updated_at":"2026-02-11T14:01:53.276Z","avatar_url":"https://github.com/georgiyozhegov.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":["Command-line"],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/georgiyozhegov/terminal/assets/159022025/b9bf9c24-486c-44b1-ac9e-e856426c2acc\" width=240px height=240px\u003e\n    \u003ch1 align=\"center\"\u003eRuterm\u003c/h1\u003e\n    \u003cp align=\"center\"\u003eTiny (~400 loc) library for working with the terminal\u003c/p\u003e\n    \n[![docs.rs](https://img.shields.io/docsrs/ruterm)](https://docs.rs/ruterm/latest/ruterm/)\n[![crates.io](https://img.shields.io/crates/d/ruterm)](https://crates.io/crates/ruterm)\n![GitHub License](https://img.shields.io/github/license/georgiyozhegov/terminal)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/georgiyozhegov/terminal)\n\u003c/div\u003e\n\n# Examples\n\n\u003cimg style=\"height: 300px; width: auto;\" src=\"https://github.com/georgiyozhegov/ruterm/assets/159022025/0575c990-7527-41ca-9068-eb88f4f27825\"\u003e\n\u003cimg style=\"height: 300px; weight: auto;\"src=\"https://github.com/georgiyozhegov/ruterm/assets/159022025/93541f66-fb79-41ee-b564-8aaac6316564\"\u003e\n\n\n# Usage\n\n```rust\nuse ruterm::{\n    error::Result,\n    in_raw,\n    view::{color::fore, RESET},\n    tio::write,\n    size,\n    cursor,\n};\n\nfn main() -\u003e Result\u003c()\u003e {\n    in_raw!({\n        cursor::start()?; // clear screen\n        let (w, h) = size()?;\n        cursor::set(w / 2, h / 2)?; // move cursor to the center\n        write(fore::GREEN)?; // green foreground\n        write(\"Hello from raw mode!\\n\\r\")?;\n        write(RESET)?; // reset style\n        cursor::set(0, h)?; // move cursor to the bottom\n    });\n\n    Ok(())\n}\n```\n\n# Installation\n\nFrom crates.io:\n```bash\ncargo add ruterm\n```\n\nFrom repository (more recent):\n```bash\ncargo add --git https://github.com/georgiyozhegov/ruterm.git\n```\n\n**Warning**: Currently, supports only Linux. \u003cbr\u003e\n\n# References\n\n- [Kilo Editor](https://github.com/antirez/kilo)\n- [Raw Mode Tutorial](https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html)\n- [ANSI Escape Codes](https://en.wikipedia.org/wiki/ANSI_escape_code)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgiyozhegov%2Fruterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorgiyozhegov%2Fruterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgiyozhegov%2Fruterm/lists"}