9 Comments
User's avatar
Fonzi's avatar

“I’ve used Chatgpt and Gemini to create apps in python via Kivy that I can use on my phone, mainly to convert webpages into epub files that are easier to do text-to-speech with in my e-reader app than PDFs.” Any chance you could share this on github or something?

Expand full comment
Nicolas D Villarreal's avatar

Sure: here's my converter for mhtml's (the file your phone downloads when you download a webpage, tho you gotta manually add the mhtml extension) https://github.com/nicosims/wepageepub/blob/main/mhtml2epub

And here's the one that takes a url and creates an epub: (wont work on some sites that don't likely bots) https://github.com/nicosims/wepageepub/blob/main/web2epub2

Expand full comment
Fonzi's avatar

Thank you! Out of curiosity is there a particular advantage (compatibility, ease of annotation etc) re: epub vs pdf? or just personal preference

Expand full comment
Cyberneticist's avatar

JSTOR (https://www.jstor.org/) has 100 free articles every month for non-institutional accounts.

Expand full comment
Nicolas D Villarreal's avatar

One note about the programmable Google search engine is that by default it'll still include search results that are ads if you don't use an API. This wont be too much of a problem if your query is specific enough but you can avoid it for pretty cheap with the API. Genuinely didn't occur to me you could just pay for a version of Google without all the bullshit native advertising.

Expand full comment
Alexander McKeever's avatar

Does the ReadEra text to speech function work better than the free version? tried a couple libgen pdfs on the latter, not usable

Expand full comment
Nicolas D Villarreal's avatar

What's the problem? I just redownloaded the free version and it works fine. It could be the PDFs you tried weren't formatted well

Expand full comment
Alexander McKeever's avatar

Hmm yeah trying with some newer publications and its working better. Basically speech was very disjointed, splitting words, not recognizing punctuation etc. Not sure I'll use text to speech much going forward but the reading interface is quite nice on there

Expand full comment
Nicolas D Villarreal's avatar

Ereaders will play nicer with epub and similar formats when it comes to text to speech, and if they have to ocr it the results can be iffy.

Expand full comment