馃懡 gemalaya

Just released gemalaya 0.3.4. What's new:

- custom themes and cycling between themes (use ctrl+y)

- supports loading multimedia content

- keyb shortcuts to increase/decrease the font size

- runs a levior (http-to-gemini proxy) instance to be able to browse web content as gemtext (can be disabled in the config or with --no-proxy)

https://gitlab.com/galacteek/gemgemgem

https://gitlab.com/galacteek/gemgemgem/-/releases/continuous-master/downloads/Gemalaya-latest-x86_64.AppImage

1 year ago 路 馃憤 devyl, ruby_witch, astroseneca

Links

https://gitlab.com/galacteek/gemgemgem

https://gitlab.com/galacteek/gemgemgem/-/releases/continuous-master/downloads/Gemalaya-latest-x86_64.AppImage

Actions

馃憢 Join Station

18 Replies

馃懡 astroseneca

@gemalaya Here are my archived epub files for you to practice: https://dropmefiles.com/A5Ovu 路 1 year ago

https://dropmefiles.com/A5Ovu

馃懡 gemalaya

@astroseneca I can read both epubs fine but i got them from a different source, the filenames don't match what you have. Either way, there's definitely an issue with some (maybe a lot of) epubs. Thank you for providing the screenshots.

md2gemini can't convert the "titlepage" with these epubs, not sure why yet 路 1 year ago

馃懡 astroseneca

@gemalaya Pellucidar 2 is almost completely readable (except for the cover). With Beyond The Farthest Star, the situation is the opposite (there is a cover, but the content does not show).

https://imgur.com/mY3rUAA

https://imgur.com/mZU09hL

btw, here's what my system knows about epub:

https://imgur.com/fKTJYeX 路 1 year ago

https://imgur.com/mY3rUAA

https://imgur.com/mZU09hL

https://imgur.com/fKTJYeX

馃懡 gemalaya

@astroseneca I can't reproduce what you're getting, with any .epub file i have.

MIME type detection seems to fail on your system for these files and so gemv doesn't detect it as epub. Just pushed a fix that also detects epub ebooks by file extension if mime detection fails, the latest appimage will work for you. I'm interested to know what "mime type" is printed in the console for those epub files that you have. 路 1 year ago

馃懡 astroseneca

Well I don't see any change as I still can't open my local .epub files. Let me send you my console output after trying to open Edgar Rice - Beyond the Farthest Star - 2006.epub or (Pellucidar 2) Edgar Rice Burroughs - Pellucidar .epub for more clarity:

https://imgur.com/9ARJj07 路 1 year ago

https://imgur.com/9ARJj07

馃懡 gemalaya

Fixed another bug that showed up with Pallucidar (fragments in document URLs) 路 1 year ago

馃懡 gemalaya

@astroseneca The AppImage was rebuilt. Just tried it and it can load "Beyond the Farthest Star" now. You'll probably see a traceback in the terminal (md2gemini error) with a "Error converting document .." message, it's normal.

Thank you for reporting the issue. 路 1 year ago

馃懡 astroseneca

@gemalaya thank you very much. 路 1 year ago

馃懡 gemalaya

@astroseneca I've found the source of the problem. The html => markdown => gemtext transformation process was failing for this particular epub on the "titlepage" because of a bug in md2gemini.

Pushing the fix soon, pinging you when the AppImage is published. 路 1 year ago

馃懡 astroseneca

@gemalaya Just in case, here is a link to a similar file (Pellucidar 2) Edgar Rice Burroughs - Pellucidar .epub , which also does not load in the program in any way:

http://library.lol/main/CF98C52A2F3E10C48468C5E290A0B4D8 路 1 year ago

http://library.lol/main/CF98C52A2F3E10C48468C5E290A0B4D8

馃懡 gemalaya

@astroseneca Thank you. I also use Void Linux, it's not related. I will manage to find the .epub file that you're trying to open.

The problem lies in the .epub => .gpub conversion, some epub files can fail to convert. It'll be fixed soon. 路 1 year ago

馃懡 astroseneca

@gemalaya In the console output, the last line says that:

KeyError: "There is no item named 'metadata.txt' in the archive"

Yes, there is definitely no metadata.txt in Burroughs, Edgar Rice - Beyond the Farthest Star - 2006.epub . 路 1 year ago

馃懡 astroseneca

@gemalaya I don't know or use file sharing servers and don't know how to transfer my .epub file to you. I tried to read Burroughs, Edgar Rice - Beyond the Farthest Star - 2006.epub

It may also turn out that this problem is related to my Void Linux system, as it already was with the Gemalaya browser. 路 1 year ago

馃懡 gemalaya

Sorry for the typo @astroseneca. Tried with a local .epub and it works fine. Can you provide a link ? 路 1 year ago

馃懡 gemalaya

@astraseneca Just looked at the code. The "Load from URL" button opens a "Load gempub from URL" dialog where you can pass a gemini/http/ipfs URL of a gempub file, but at the moment it can only load an ebook in the gempub format and to open an .epub file you have to use "Open ebook" and use a local file.

It's only a few small changes to make "Load from URL" work with both formats, i'll change that in the coming days, sorry! 路 1 year ago

馃懡 astroseneca

Hi. Well, astrOseneca, first of all (I am a male). I meant opening the local .epub . 路 1 year ago

馃懡 gemalaya

Hi @astraseneca. You mean that you can't open an ebook file in the epub format by using the "Load from URL" button and putting the URL of a .epub file ? I think i had tried this with a .gpub file, will try it and get back to you. Opening a local .epub file works. 路 1 year ago

馃懡 astroseneca

It's nice to read this, but I have a question about GemV. I can't download the .epub file through your program: it closes immediately. Is this function still raw? 路 1 year ago