$100 to upgrade Fresh IDE for ePub TUI reading
3 points
by jph
13 hours ago
| 2 comments
| HN
I donate to open source, and I'm loving the new Fresh IDE TUI for teaching students. I found it after trying astronvim, helix, zed, micro, etc.

I'm offering $100 as an incentive for anyone on HN who can add epub reader capabilities to Fresh using Rust.

https://github.com/sinelaw/fresh/issues/2087

Spec: in the left-side file explorer, I select file `foo.epub`, then the right-side file viewer shows me the epub content as human-readable text not bytes.

Scope: The goal is to be good enough for a developer to be able to read epub documentation within Fresh in the TUI, without needing to call pandoc or launch a separate app or helper or plugin. Fresh runs locally on the developer's laptop, and the ePub is on a remote server and for security reasons cannot be downloaded to the local laptop.

Implementation: I can suggest trying the Rust crate `epub` and `bookokrat` because these work well for me in other projects. The implementation can't use JavaScript or TypeScript because of compliance aspects beyond me.

As an aside, I'm not affiliated with Fresh in any way, other than as a happy user and open source sponsor.

tra3
6 hours ago
[-]
Maybe Nov.el could be an inspiration: https://depp.brause.cc/nov.el/
reply
jph
6 hours ago
[-]
Great idea, yes you're right. I'll add that now.
reply
soapdog
11 hours ago
[-]
I don't think that amount will make anyone willing to take in the massive task of making an epub3 compatible reader for TUI. That is a big feature.
reply
jph
7 hours ago
[-]
Really? I ask because there's already an epub TUI reader, written in Rust, and open source, and I'm already using it in the terminal. I want it or something similar within Fresh because the two together will greatly help me with Fresh IDE epub docs in projects.

See https://github.com/bugzmanov/bookokrat

Update: a developer just now created a Fresh IDE pull request, thanks to this incentive.

See https://github.com/sinelaw/fresh/pull/2093

reply