Commit Graph

22 Commits

Author SHA1 Message Date
Daniel Jones
e7dfddc8f8 Added HTML framework and module.
Found HTML crate. This crate will allow me to render the HTML syntax to the TUI.
2023-05-15 13:33:14 -05:00
Daniel Jones
0426525804 Page turning
Not working. Calling it a night. Will figure out page turning tomorrow.
2023-05-01 20:35:42 -05:00
Daniel Jones
0dc6e19dd1 grab epub text
Got it to grab the text. It is formatted as HTML so next step is to parse that.
2023-05-01 19:26:22 -05:00
Daniel Jones
383457db62 Added epub functions
Still not properly grabbing the text, but must leave it for now. Uploading to Github for later access.
2023-05-01 15:31:08 -05:00
Daniel Jones
eb76e8a8ca epub function
Decided that I am focusing too widely on too many things. Working on bare functionality before menus or extra features. Erased old code and will work exclusively on epub reading until basic functionality is added.
2023-05-01 11:24:26 -05:00
Daniel Jones
395b1d1ce0 termsize library added
Used termsize to find size of the terminal and display a box properly. Changes depending on size of terminal upon start.
2023-03-18 12:48:14 -05:00
Daniel Jones
776d71b16c Menu improved
Added menu display, with directory contents in box.

Also added different ebook functions to finish later. Will use them once I get to them. Calling it a night, but will add menu selecting and hopefully the ability to read text files tomorrow.
2023-03-17 20:05:02 -05:00
Daniel Jones
627ed3d7a7 Merge branch 'master' of https://github.com/DanielReddJones/bibliofile 2023-03-17 17:04:17 -05:00
Daniel Jones
00d406b714 Update .gitignore 2023-03-17 17:04:12 -05:00
Daniel Jones
0cab484e2a
No need for test file to be in the repository. 2023-03-17 16:34:53 -05:00
Daniel Jones
617c882b6c added getyxmax
TODO: See why files of type "Unicode text, UTF-8 text" works but "Unicode text, UTF-8 (with BOM) text, with CRLF line terminators" does not.

TODO: add menu to select works, add line numbering, scrolling ability, and bookmarks
2023-03-17 16:27:16 -05:00
Daniel Jones
49e69b0c6f Got addstr to read string variable
This did not display anything when I worked on it this morning. Saving to be safe.
2023-03-17 13:59:57 -05:00
Daniel Jones
cff6deaf6b Added documentation 2023-03-16 22:22:09 -05:00
Daniel Jones
461ca2a884 Update main.rs
Added ncurses function
2023-03-16 21:58:32 -05:00
Daniel Jones
ba1b7ec819
Removed Cargo.lock
Cargo.lock was uploading for some reason despite being included in the gitignore. Removed.
2023-03-16 21:51:18 -05:00
Daniel Jones
31041fe70a
updated gitignore 2023-03-16 21:50:04 -05:00
Daniel Jones
2d82980b16 Merge branch 'master' of https://github.com/DanielReddJones/bibliofile 2023-03-16 21:44:27 -05:00
Daniel Jones
16234e8958 Added ncurses dependency 2023-03-16 21:44:16 -05:00
Daniel Jones
0a97d4e5f6
Create LICENSE 2023-03-16 21:16:42 -05:00
Daniel Jones
304e5aed6b Added ability to read file by line 2023-03-16 21:10:15 -05:00
Daniel Jones
b323604f01 Update .gitignore
updated git ignore
2023-03-16 20:14:58 -05:00
Daniel Jones
cddf66d9cf Initial Commit
initial commit
2023-03-16 20:11:57 -05:00