{"id":30286852,"url":"https://github.com/dasdron15/tomo","last_synced_at":"2025-08-16T21:15:02.654Z","repository":{"id":294953057,"uuid":"964861200","full_name":"Dasdron15/Tomo","owner":"Dasdron15","description":"A lightweight and beginner-friendly terminal code editor","archived":false,"fork":false,"pushed_at":"2025-08-13T22:12:36.000Z","size":940,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-14T00:14:59.120Z","etag":null,"topics":["c","code","editor","ncurses","text-editor","tree-sitter"],"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/Dasdron15.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T23:14:08.000Z","updated_at":"2025-08-13T17:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"abd87ca8-6210-4438-8b86-3586c92fa13b","html_url":"https://github.com/Dasdron15/Tomo","commit_stats":null,"previous_names":["dasdron15/cobalt","dasdron15/tomo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Dasdron15/Tomo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dasdron15%2FTomo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dasdron15%2FTomo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dasdron15%2FTomo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dasdron15%2FTomo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dasdron15","download_url":"https://codeload.github.com/Dasdron15/Tomo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dasdron15%2FTomo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270771975,"owners_count":24642391,"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-08-16T02:00:11.002Z","response_time":91,"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":["c","code","editor","ncurses","text-editor","tree-sitter"],"created_at":"2025-08-16T21:15:00.506Z","updated_at":"2025-08-16T21:15:02.644Z","avatar_url":"https://github.com/Dasdron15.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tomo\n\n![GitHub Release](https://img.shields.io/github/v/release/Dasdron15/Tomo?color=blue)\n![GitHub License](https://img.shields.io/github/license/Dasdron15/Tomo?color=blue)\n\n**Tomo** is a terminal-based code editor focused on simplicity and working out of the box without any configuration. Inspired by the lightweight nature of Helix and the intuitiveness of VS Code, it uses `ncurses` for terminal UI and `tree-sitter` for fast syntax highlighting.\n\nImage of Tomo code editor in action:\n\n![Screenshot](./assets/preview.png)\n\n## Features\n\n- Syntax highlighting\n- Smart indentation\n- Custom themes\n- Command palette\n\n## Themes\n\n**Tomo** supports custom themes via `.ini` files. Place your theme files in `~/.config/tomo/themes` directory.\n\n### Theme file format\n\nEach theme is a simple `.ini` file with the following format:\n\n```ini\ndefault = \"#d0d0d0\"\nkeyword = \"#ff5555\"\ntype = \"#87cefa\"\ncustom_type = \"#ffa500\"\nstring = \"#98fb98\"\nnumber = \"#f0e68c\"\nchar = \"#98fb98\"\nfunction = \"#dda0dd\"\nidentifier = \"#b0c4de\"\npreprocessor = \"#7fffd4\"\ncomment = \"#808080\"\nunactive = \"#555555\"\nstatus_bar_bg = \"#202020\"\nstatus_bar_text = \"#d0d0d0\"\nbackground = \"#121212\"\nselect = \"#333333\"\n```\n\n- Colors should be in hexadecimal format (`#RRGGBB`).\n- `default` - text default color  \n- `keyword` - programming language keywords  \n- `type` - built-in types (like `int`, `float`)  \n- `custom_type` - user-defined types (like structs, classes)  \n- `string` - string literals  \n- `number` - numeric literals  \n- `char` - character literals  \n- `function` - function names  \n- `identifier` - variable and parameter names  \n- `preprocessor` - preprocessor directives (C/C++)  \n- `comment` - Comments\n- `unactive` - Unactive line numbers \n- `status_bar_bg` - status bar background  \n- `status_bar_text` - status bar text color  \n- `background` - editor background  \n- `select` - selected text background\n\n## Shortcuts\n\n- \u003ckbd\u003eCtrl + C\u003c/kbd\u003e - Copy selected text\n- \u003ckbd\u003eCtrl + V\u003c/kbd\u003e - Paste selected text\n- \u003ckbd\u003eCtrl + X\u003c/kbd\u003e - Cut selected text\n- \u003ckbd\u003eCtrl + G\u003c/kbd\u003e - Go to line\n- \u003ckbd\u003eCtrl + Q\u003c/kbd\u003e - Quit the editor\n- \u003ckbd\u003eCtrl + S\u003c/kbd\u003e - Save the file\n- \u003ckbd\u003eCtrl + T\u003c/kbd\u003e - Change theme\n- \u003ckbd\u003eCtrl + P\u003c/kbd\u003e - Open command palette\n- \u003ckbd\u003eArrow keys\u003c/kbd\u003e - Move cursor\n- \u003ckbd\u003eArrow keys + Shift\u003c/kbd\u003e - Start text selection\n\n## Installation\n\n```sh\ngit clone https://github.com/Dasdron15/Tomo.git\ncd \u003cpath/to/tomo\u003e\nmake\nsudo make install\n```\n\n`make` builds the editor and `sudo make install` installs it system-wide\n\n## Usage \n\n```sh\ntomo \u003cpath/to/file\u003e\n```\n\nCurrently, folder/project opening is not supported but planned for future releases.\n\n## Planned features\n\n- Undo/Redo\n- Folder/project support\n- config file support\n- Mouse support\n- Syntax highlighting for more languages\n- Auto-completion\n- Vim mode\n\n## Contribution\n\nContributions, bug reports and feature requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasdron15%2Ftomo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasdron15%2Ftomo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasdron15%2Ftomo/lists"}