This project was a CLI program for that formats notes into .html or .txt files. It was coded using the ratatui Rust crate. On the first page of the program, the user can create and manage their notes. When selecting a note, the program handles regular text input, as well as arrow keys for moving the cursor up/down/right/left. Lines that start with '\* ' are displayed as HTML list items (<li>). When the user is done typing notes, they can save the data as a .html or .txt file. The saved HTML files can then be opened in a browser or hosted on the user's personal website. I learned how to code the program with The Rust Programming Language book and by following examples on the ratatui docs. Some of the challenging aspects of this project was figuring out how to handle text input, parse the HTML, and interact with the file system. I also reorganized the UI a few times because I wanted to change how the data was displayed.
This project was a CLI program for that formats notes into .html or .txt files. It was coded using the ratatui Rust crate. On the first page of the program, the user can create and manage their notes. When selecting a note, the program handles regular text input, as well as arrow keys for moving the cursor up/down/right/left. Lines that start with '\* ' are displayed as HTML list items (<li>). When the user is done typing notes, they can save the data as a .html or .txt file. The saved HTML files can then be opened in a browser or hosted on the user's personal website. I learned how to code the program with The Rust Programming Language book and by following examples on the ratatui docs. Some of the challenging aspects of this project was figuring out how to handle text input, parse the HTML, and interact with the file system. I also reorganized the UI a few times because I wanted to change how the data was displayed.