{"id":26560582,"url":"https://github.com/metamars2/twp","last_synced_at":"2026-04-19T15:01:42.264Z","repository":{"id":279786971,"uuid":"939635464","full_name":"MetaMars2/TWP","owner":"MetaMars2","description":"TWP Editor is a lightweight, Vim-like text editor for the Windows terminal.","archived":false,"fork":false,"pushed_at":"2025-03-20T17:26:50.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T12:08:21.141Z","etag":null,"topics":["text-editor","vim"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MetaMars2.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}},"created_at":"2025-02-26T21:22:18.000Z","updated_at":"2025-03-20T17:08:19.000Z","dependencies_parsed_at":"2025-07-06T12:08:22.412Z","dependency_job_id":"976a520e-1d81-46ab-b4e0-a8f1681f1030","html_url":"https://github.com/MetaMars2/TWP","commit_stats":null,"previous_names":["metamars2/twp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MetaMars2/TWP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMars2%2FTWP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMars2%2FTWP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMars2%2FTWP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMars2%2FTWP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaMars2","download_url":"https://codeload.github.com/MetaMars2/TWP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMars2%2FTWP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["text-editor","vim"],"created_at":"2025-03-22T13:18:24.396Z","updated_at":"2026-04-19T15:01:42.260Z","avatar_url":"https://github.com/MetaMars2.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TWP Editor\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/600x200?text=TWP+Editor+Banner\" alt=\"TWP Editor Banner\" /\u003e\n\u003c/p\u003e\n\nTWP Editor is a lightweight, Vim-like text editor for the Windows terminal. It offers a simple yet effective interface for text editing with keyboard shortcuts inspired by Vim.\n\n## Features\n\n* **Vim-inspired modal editing** (Normal and Insert modes)\n* **File operations** (create, open, save)\n* **Startup menu** with ASCII art banner\n* **Full file path support**\n* **Status bar** showing editor state and filename\n* **Smooth rendering** using double-buffering system\n* **Scrolling navigation** for large files\n* **Page navigation** for quick movement through documents\n\n## Installation\n\n### Requirements\n\n* Windows operating system\n* GCC compiler\n* Make (optional, for using the Makefile)\n\n### Build Instructions\n\n1.  Clone or download the repository:\n\n    ```bash\n    git clone [repository_url]\n    ```\n\n2.  Navigate to the project directory:\n\n    ```bash\n    cd twp-editor\n    ```\n\n3.  Compile using the included Makefile:\n\n    ```bash\n    make\n    ```\n\n    Or manually compile with GCC:\n\n    ```bash\n    gcc src/*.c -o twp.exe\n    ```\n\n## Usage\n\n### Starting the Editor\n\n* Launch without arguments to show the startup menu:\n\n    ```bash\n    twp.exe\n    ```\n\n* Open a file directly:\n\n    ```bash\n    twp.exe path/to/your/file.txt\n    ```\n\n### Keyboard Controls\n\n#### Normal Mode\n\n* `h` - Move cursor left\n* `j` - Move cursor down\n* `k` - Move cursor up\n* `l` - Move cursor right\n* `u` - Page up (scroll up one screen)\n* `d` - Page down (scroll down one screen)\n* `g` - Jump to the beginning of the file\n* `G` - Jump to the end of the file\n* `i` - Enter Insert mode\n* `:` - Enter command mode\n\n#### Insert Mode\n\n* Arrow keys - Navigate\n* Type to insert text\n* Backspace - Delete character\n* Enter - Insert new line\n* Esc - Return to Normal mode\n\n### Commands\n\n* `:w` - Save file\n* `:q` - Quit\n* `:o` - Open a file\n* `:new` - Create new file\n\n## License\n\nThis project is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamars2%2Ftwp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetamars2%2Ftwp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamars2%2Ftwp/lists"}