https://github.com/dhi13man/rust_text_editor
Creation of a Rust-backed text editor that supports certain Vim like commands. Built as a part of a Hackathon.
https://github.com/dhi13man/rust_text_editor
cli hackathon hacktoberfest open-source rust rust-lang tui
Last synced: 10 months ago
JSON representation
Creation of a Rust-backed text editor that supports certain Vim like commands. Built as a part of a Hackathon.
- Host: GitHub
- URL: https://github.com/dhi13man/rust_text_editor
- Owner: Dhi13man
- License: bsd-3-clause
- Created: 2022-08-13T09:24:53.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-24T17:28:54.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T14:50:31.919Z (about 1 year ago)
- Topics: cli, hackathon, hacktoberfest, open-source, rust, rust-lang, tui
- Language: Rust
- Homepage:
- Size: 802 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- Contributing: CONTRIBUTING.MD
- License: LICENSE
Awesome Lists containing this project
README
# Rust Text Editor
[](https://github.com/Dhi13man/rust_text_editor/blob/main/LICENSE)
[](https://github.com/Dhi13man/rust_text_editor/graphs/contributors)
[](https://github.com/Dhi13man/rust_text_editor/network/members)
[](https://github.com/Dhi13man/rust_text_editor)
[](https://github.com/Dhi13man/rust_text_editor/commits/main)
Creation of a Rust-backed text editor that supports certain Vim like commands. Built in 6-ish as a part of a Hackathon.
## Installation and Contribution
1. Ensure you have [Rust](https://www.rust-lang.org/tools/install) SDK installed.
2. Clone this repository and CD into it.
3. Please view the [Contrbution Guidelines](https://raw.githubusercontent.com/Dhi13man/rust_text_editor/master/CONTRIBUTING.MD) here to know how you can contribute to this.
## Usage
1. Clone the repository and CD into it.
2. Execute `cargo run`.
3. Follow the commands in the Help Section. To open files, copy their path into your clipboard and hit `Ctrl + O`.
## Features
- Basic TUI Setup
- Proper Logs at all times
- User Friendly Help Menu
- Create Random Files
- Edit Files, Save Files, Open Multiple Files from the file paths saved in your Clipboard
- Word Wrap and Responsive UI
- Scrollable UI
## Inital Bugs and Open Issues (Feel Free to Contribute Fixes)
- [ ] Unoptimized: The Editor has virtually no optimization
- [ ] No Inuitive File Opener System: It can only open files when you copy the path to the files in your clipboard and hit the relevant shortcut
- [ ] A Mess: Code works, but is not organised too well
- [ ] Frontend: The UI could probably be improved
## Acknowledgement
### ilaborie/plop-tui
This project is built on top of [plop-tui](https://github.com/ilaborie/plop-tui) to implement generic features of a CLI based Code editor.
### Dependencies
The project utilizes various open-source Cargo Crate dependencies to work. Big thanks to all the creators.
```toml
log = "0.4"
copypasta = "0.8.1"
names = { version = "0.14.0", default-features = false }
tui-logger = "0.8.0"
tui = "0.18.0"
crossterm = "0.24.0"
tokio = { version = "1", features = ["full"] }
eyre = "0.6"
```
## Screenshots
| Editor Initialized |
| :---: |
|  |
| Editor Write Mode |
| :---: |
|  |
| Full Functionality With Multiple Files |
| :---: |
|  |