{"id":43263777,"url":"https://github.com/zzasaa-jpg/text_editor_txt_in_cpp","last_synced_at":"2026-02-11T14:05:56.243Z","repository":{"id":334228442,"uuid":"1137981829","full_name":"zzasaa-jpg/Text_Editor_TxT_in_CPP","owner":"zzasaa-jpg","description":"Daily development tool. Written in C++.","archived":false,"fork":false,"pushed_at":"2026-01-23T13:53:20.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-24T05:43:34.203Z","etag":null,"topics":["cpp","editor","filesystem","os-development","system","text-editor"],"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/zzasaa-jpg.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-20T05:07:50.000Z","updated_at":"2026-01-23T13:53:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zzasaa-jpg/Text_Editor_TxT_in_CPP","commit_stats":null,"previous_names":["zzasaa-jpg/text_editor_txt_in_cpp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zzasaa-jpg/Text_Editor_TxT_in_CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzasaa-jpg%2FText_Editor_TxT_in_CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzasaa-jpg%2FText_Editor_TxT_in_CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzasaa-jpg%2FText_Editor_TxT_in_CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzasaa-jpg%2FText_Editor_TxT_in_CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzasaa-jpg","download_url":"https://codeload.github.com/zzasaa-jpg/Text_Editor_TxT_in_CPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzasaa-jpg%2FText_Editor_TxT_in_CPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28980855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T13:38:33.235Z","status":"ssl_error","status_checked_at":"2026-02-01T13:38:32.912Z","response_time":56,"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":["cpp","editor","filesystem","os-development","system","text-editor"],"created_at":"2026-02-01T15:02:20.503Z","updated_at":"2026-02-01T15:02:49.845Z","avatar_url":"https://github.com/zzasaa-jpg.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TxT --- Raw C++ Terminal Editor (Windows Only)\n\nTxT is a minimal terminal-based text editor written in **pure C++ using\nWin32 APIs**.\n\nNo frameworks.\\\nNo GUI libraries.\\\nNo dependencies.\n\nBuilt for learning low‑level systems programming on Windows.\n\n------------------------------------------------------------------------\n\n## Platform Support\n\n✅ Windows 10 / 11\\\n❌ Linux\\\n❌ macOS\n\nThis editor relies on Win32 console APIs (`HANDLE`, `ReadConsoleInput`,\ncursor control).\n\n------------------------------------------------------------------------\n\n## Features (v1)\n\n### Core Editor\n\n-   Line based buffer\n-   Arrow navigation\n-   Character insert / delete\n-   New line support\n-   Vertical + horizontal scrolling\n-   Status bar\n\n### Controller Mode (Vim‑like)\n\nPress **ESC** to enter controller mode.\n\nCommands:\n\n-   `:q` → quit (blocked if modified)\n-   `:q!` → force quit\n-   `:w` → save current file\n-   `:w filename` → save as\n-   `:o filename` → open file\n\n------------------------------------------------------------------------\n\n### File Engine\n\n-   Open existing files\n-   Create new files\n-   Write buffer to disk\n-   Modified flag\n-   Quit protection\n-   Invalid command handling\n-   Cursor + scroll reset after load\n\n------------------------------------------------------------------------\n\n### Status Bar\n\nDisplays:\n\n-   File name\n-   Modified indicator\n-   Cursor position\n\n------------------------------------------------------------------------\n\n## Open File at Startup\n\n    txt.exe myfile.txt\n\nUses argv to load file.\n\n------------------------------------------------------------------------\n\n## Build (Windows)\n\nTested with MinGW‑w64 (GCC):\n\n    g++ -std=c++17 main.cpp -o txt\n\n(compile all source files)\n\n------------------------------------------------------------------------\n\n## Project Structure\n\nsrc/ terminal/ render/ buffer/ input/ scroll/ file_controller/\nfile_engine/ editor/ main.cpp\n\nEach module is separated:\n\n-   terminal → Win32 console\n-   render → drawing\n-   buffer → text storage\n-   input → keyboard\n-   file_controller → command mode\n-   file_engine → disk I/O\n-   editor → core loop\n\n------------------------------------------------------------------------\n\n## Philosophy\n\nTxT is designed to be:\n\n-   Offline first\n-   Single binary\n-   Predictable\n-   Hackable\n-   Educational\n\nBuilt from scratch to understand how editors actually work.\n\n------------------------------------------------------------------------\n\n## License\n\nMIT (Open source)\n\n------------------------------------------------------------------------\n\nMahendra Kumar --- Raw C++ Editor Project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzasaa-jpg%2Ftext_editor_txt_in_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzasaa-jpg%2Ftext_editor_txt_in_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzasaa-jpg%2Ftext_editor_txt_in_cpp/lists"}