{"id":17175074,"url":"https://github.com/grenderg/tte","last_synced_at":"2025-04-13T16:23:14.188Z","repository":{"id":50249202,"uuid":"87365809","full_name":"GrenderG/tte","owner":"GrenderG","description":"tte (tiny text editor) is a terminal based text editor written in C from scratch.","archived":false,"fork":false,"pushed_at":"2021-10-07T15:34:36.000Z","size":438,"stargazers_count":136,"open_issues_count":4,"forks_count":22,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-27T07:21:19.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrenderG.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":"2017-04-05T23:34:31.000Z","updated_at":"2024-12-26T11:14:20.000Z","dependencies_parsed_at":"2022-08-25T19:01:47.746Z","dependency_job_id":null,"html_url":"https://github.com/GrenderG/tte","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrenderG%2Ftte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrenderG%2Ftte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrenderG%2Ftte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrenderG%2Ftte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrenderG","download_url":"https://codeload.github.com/GrenderG/tte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248742099,"owners_count":21154428,"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","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-14T23:55:39.154Z","updated_at":"2025-04-13T16:23:14.168Z","avatar_url":"https://github.com/GrenderG.png","language":"C","readme":"[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R6R21LO82)\n\n# tte\n\ntte (tiny text editor) is a terminal based text editor written in C from scratch, trying to be very minimalistic and dependency independent (it's not even using **curses**).\n\nThis project was mainly created for educational purposes, so is very commented!\n\nThanks to [antirez](http://antirez.com) for inspiring me with his project `kilo` and [Jeremy Ruten](https://twitter.com/yjerem) for his tutorials.\n\n## Installation\n\n### Compiling\n```\ngit clone https://github.com/GrenderG/tte.git\ncd tte/\nmake install\n```\n### Downloading executable\nDownload it from [here](https://github.com/GrenderG/tte/releases/latest), then\n```\nsudo mv tte /usr/local/bin/\nsudo chmod +x /usr/local/bin/tte\n```\n\n## Usage\n```\ntte [file_name]\ntte -h | --help\ntte -v | --version\ntte -e | --extension \u003cfile_extension\u003e \u003cfile_name\u003e\ntte -t | --use-tabs [file_name]\n```\nIf you are planning to use special characters like (á, é, í, ó, ú, ¡, ¿, ...) you must use `ISO 8859-1` encoding in your terminal. See [this issue](https://github.com/GrenderG/tte/issues/2) for more info.\n\n## Keybindings\nThe key combinations chosen here are the ones that fit the best for me.\n```\nCtrl-Q : Exit\nCtrl-F : Search text (ESC, arrows and enter to interact once searching)\nCtrl-S : Save\nCtrl-E : Flip line upwards\nCtrl-D : Flip line downwards\nCtrl-C : Copy line\nCtrl-X : Cut line\nCtrl-V : Paste line\nCtrl-Z : Undo\nCtrl-Y : Redo\nCtrl-P : Pause tte (type \"fg\" to resume)\n```\n\n## Current supported languages\n* C (`*.c`, `*.h`)\n* C++ (`*.cpp`, `*.hpp`, `*.cc`)\n* Java (`*.java`)\n* Bash (`*.sh`)\n* Python (`*.py`)\n* PHP (`*.php`)\n* JavaScript (`*.js`, `*.jsx`)\n* JSON (`*.json`, `*.jsonp`)\n* XML (partially) (`*.xml`)\n* SQL (`*.sql`)\n* Ruby (`*.rb`)\n\n## Images\n![First screenshot](https://raw.githubusercontent.com/GrenderG/tte/master/images/scr_1.png)\n","funding_links":["https://ko-fi.com/R6R21LO82"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrenderg%2Ftte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrenderg%2Ftte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrenderg%2Ftte/lists"}