💾 Archived View for bbs.geminispace.org › s › Gemini › 2580 captured on 2023-11-14 at 09:52:50. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
I wrote a (python) tool to convert ebooks (in epub format) to gempub archives, it can also import the output to IPFS.
https://gitlab.com/galacteek/gemgemgem
Gempub output example:
https://bafybeib7kowmj44lpmdxaipkdtfxuyiw3czc47kvvqi6as65dvn4nr4sn4.ipfs.dweb.link/jules-verne_journey-to-the-center-of-the-earth_f-a-malleson.gpub
Jun 29 · 5 months ago · 👍 gritty, sirwilburthefirst, dmoonfire
🌙 dmoonfire · Jun 30 at 05:15:
I think that's awesome. I want to see more gpub generators and readers that can handle them.
That reminds me that I wanted to teach the gpub format to my Markdown publishing framework. That way, I can add all my books in that format.
Tried to use gempubify but the auto-install of MD2Gem didn't work so I manually installed it. Also, when the run the command as a normal user on an epub that I got off gutenberg (not epub3), it simply runs and appears to do nothing. should the file show up in the current directory?
I also came across this converter by @sloum: https://git.rawtext.club/sloum/epub-to-md
🖥️ galacteek · Jul 01 at 21:16:
@gritty When you run gempubify without specifying the output file path with -o, it will create the gempub file in the same directory in which the epub source file is. This seems like the right behaviour to me but you can always use -o to output somewhere else. gempubify doesn't log anything on the console.
Will fix the setup.py, i had to patch md2gemini to be able to rewrite .xhtml links to .gmi in the ebooks. Also wrote a gempub viewer with Kivy.
🖥️ galacteek · Jul 02 at 23:31:
gemgemgem now includes a basic gempub viewer called gemv. AppImage available here:
https://gitlab.com/galacteek/gemgemgem/-/releases/continuous-master/downloads/GemV-latest-x86_64.AppImage