{"id":26791786,"url":"https://github.com/abdxdev/terminal-based-rich-text-editor","last_synced_at":"2025-04-22T12:45:30.491Z","repository":{"id":266547546,"uuid":"898656881","full_name":"abdxdev/Terminal-Based-Rich-Text-Editor","owner":"abdxdev","description":"A high-performance terminal-based rich text editor designed for speed and functionality. It supports autosuggestions, undo/redo, and customizable shortcuts. :add","archived":false,"fork":false,"pushed_at":"2025-04-10T01:35:47.000Z","size":923,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T02:31:44.896Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdxdev.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-12-04T19:38:18.000Z","updated_at":"2025-04-10T01:31:27.000Z","dependencies_parsed_at":"2024-12-04T20:40:24.414Z","dependency_job_id":"a5e0e2b0-b98d-42ff-97d2-9b9883bfa815","html_url":"https://github.com/abdxdev/Terminal-Based-Rich-Text-Editor","commit_stats":null,"previous_names":["abdbbdii/terminalbasedrichtexteditor","abdxdev/terminal-based-rich-text-editor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdxdev%2FTerminal-Based-Rich-Text-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdxdev%2FTerminal-Based-Rich-Text-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdxdev%2FTerminal-Based-Rich-Text-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdxdev%2FTerminal-Based-Rich-Text-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdxdev","download_url":"https://codeload.github.com/abdxdev/Terminal-Based-Rich-Text-Editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250243080,"owners_count":21398276,"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":"2025-03-29T15:18:05.663Z","updated_at":"2025-04-22T12:45:30.478Z","avatar_url":"https://github.com/abdxdev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terminal-Based Text Editor\n\n![alt text](screenshots/screenshot_1.png?raw=true)\n![alt text](screenshots/screenshot_2.png?raw=true)\n\nA high-performance terminal-based rich text editor designed for speed and functionality. It supports autosuggestions, undo/redo, and customizable shortcuts. The editor leverages advanced data structures to ensure smooth and efficient text editing.\n\n### Features\n\n1. **Autosuggestions**: Real-time autocomplete powered by Trie.\n2. **Undo/Redo**: Stack-based undo/redo operation.\n3. **GapBuffer Efficiency**: Smooth editing and fast cursor movement.\n4. **Custom Shortcuts**: Bind frequently used actions for faster workflow.\n\n### Data Structures Used\n\n1. **GapBuffer**: For efficient text editing and cursor movement within a line.\n2. **GapBufferLinkedList**: Extends GapBuffer to support multi-line text editing.\n3. **Trie**: Powers the autosuggestion system for real-time word predictions.\n4. **Stack**: Implements undo/redo functionality.\n\n### Getting Started\n\n1. Install a **Nerd Font** for enhanced terminal visuals from [nerdfonts.com](https://www.nerdfonts.com/font-downloads).\n2. Clone the repository and build the project with **C++14** support:\n   ```bash\n   git clone https://github.com/abdxdev/TerminalBasedRichTextEditor.git\n   cd TerminalBasedRichTextEditor\n   start TerminalBasedRichTextEditor.sln\n   ```\n   Ensure your compiler supports **C++14**.\n3. Launch the editor in a terminal supporting **Nerd Fonts**. \n\u003e _Note: You need to set the font in your terminal settings._\n\n### Keyboard Shortcuts\n\n#### File Operations:\n\n- `Ctrl+S`: Save file\n- `ESC`: Quit editor\n\n#### Editing:\n\n- `Ctrl+Z`: Undo\n- `Ctrl+Y`: Redo\n- `Arrow Keys`: Move cursor\n\n#### Suggestions:\n\n- `Tab` or `Enter`: Apply suggestion\n- `Esc`: Dismiss suggestion\n\n#### Formatting:\n\n- `F1`: Change foreground color\n- `F2`: Change background color\n- `F3`: Toggle autosuggestions\n- `F4`: Refresh screen\n- `F5`: Change cursor style\n- `Ctrl+B`: Toggle bold\n- `Ctrl+I`: Toggle italics\n- `Ctrl+U`: Toggle underline\n- `Ctrl+T`: Toggle strikethrough\n\n### License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdxdev%2Fterminal-based-rich-text-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdxdev%2Fterminal-based-rich-text-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdxdev%2Fterminal-based-rich-text-editor/lists"}