{"id":15415740,"url":"https://github.com/inokawa/rust-editor","last_synced_at":"2025-04-14T19:07:11.940Z","repository":{"id":39580465,"uuid":"335467369","full_name":"inokawa/rust-editor","owner":"inokawa","description":"An implementation of text editor with Rust/WebAssembly.","archived":false,"fork":false,"pushed_at":"2025-03-31T16:35:58.000Z","size":2671,"stargazers_count":36,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T19:07:10.812Z","etag":null,"topics":["editor","kilo","rust","text-editor","wasm","web","webassembly"],"latest_commit_sha":null,"homepage":"https://inokawa.github.io/rust-editor/","language":"Rust","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/inokawa.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},"funding":{"github":["inokawa"]}},"created_at":"2021-02-03T00:59:37.000Z","updated_at":"2025-03-28T22:44:57.000Z","dependencies_parsed_at":"2024-01-09T21:28:56.566Z","dependency_job_id":"1bc02d1a-fdec-41eb-8b3a-7185003b7a4d","html_url":"https://github.com/inokawa/rust-editor","commit_stats":{"total_commits":327,"total_committers":3,"mean_commits":109.0,"dds":0.3516819571865444,"last_synced_commit":"8a51453cfea06575fc8f4a4941b67ee5f6f7c809"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Frust-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Frust-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Frust-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Frust-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inokawa","download_url":"https://codeload.github.com/inokawa/rust-editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943456,"owners_count":21186958,"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":["editor","kilo","rust","text-editor","wasm","web","webassembly"],"created_at":"2024-10-01T17:09:28.497Z","updated_at":"2025-04-14T19:07:11.922Z","avatar_url":"https://github.com/inokawa.png","language":"Rust","funding_links":["https://github.com/sponsors/inokawa"],"categories":[],"sub_categories":[],"readme":"# rust-editor\n\n![deploy](https://github.com/inokawa/rust-editor/workflows/check/badge.svg)[![demo](https://github.com/inokawa/rust-editor/actions/workflows/demo.yml/badge.svg)](https://github.com/inokawa/rust-editor/actions/workflows/demo.yml)\n\nWIP\n\nAn implementation of text editor with Rust/WebAssembly.\n\n\u003cimg src=\"./example.gif\" height=\"400px\" /\u003e\n\nThis is a hobby project just for my study, but I'm trying to make it as much as practical.\n\nThis editor is roughly based on [kilo](https://github.com/antirez/kilo), but has some improvements.\n\n- Support ASCII/UTF-8 encoded texts\n- Support Undo/Redo\n- Run on terminal in UNIX, and on browser with WebAssembly\n\nNOTE: Some features are not implemented completely.\n\n## Demo\n\nhttps://inokawa.github.io/rust-editor/\n\n## Start\n\n### CLI\n\n```sh\ngit clone git@github.com:inokawa/rust-editor.git\ncd rust-editor\ncargo run \"path/to/file.txt\"\n```\n\n| Shortcuts | Action |\n| --------- | ------ |\n| Ctrl+Z    | Undo   |\n| Ctrl+Y    | Redo   |\n| Ctrl+F    | Search |\n| Ctrl+S    | Save   |\n| Ctrl+Q    | Quit   |\n\n### Web\n\n```sh\ngit clone git@github.com:inokawa/rust-editor.git\ncd rust-editor/web\nnpm install\nnpm start\n```\n\n## References\n\nThank you for this great tutorial of kilo:\n\n- https://viewsourcecode.org/snaptoken/kilo/\n\nAnd thank you for other great implementations of kilo:\n\n- https://github.com/rhysd/kiro-editor\n- https://github.com/ilai-deutel/kibi\n- https://www.philippflenker.com/hecto/\n- https://github.com/nkon/ked-texteditor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finokawa%2Frust-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finokawa%2Frust-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finokawa%2Frust-editor/lists"}