Live data from Hacker News

Show HN: Instantly listen to any URL

per.quest

61–70 of 89 posts

Re: Show HN: Instantly listen to any URL

#62
post #56

Is this somehow using the waybackmachine to scrape pages? When I try some of the classic ssrf paths like file:/// or http://localhost:8080 , I get audio about the internet archive. When I put in https://localhost:443 , I get audio for the default nginx page, which matches what the internet archive has for that url: https://web.archive.org/web/20210620003533/http://localhost/ But putting http://localhost returns the a…

Added a check against localhost thanks for pointing that out.

https://2130706433:443/ https://0177.0.0.01:443/

Re: Show HN: Instantly listen to any URL

#63

Neat! Could you add speed controls, a download audio option, download audio as mp3/webm/etc, and options for different voices? Why is there no donation option for this project? Why not add a email signup for updates/news? What are your options for micro monetization?

Right?! This is honestly a service I would pay for and it’s… up for free? There must be some type of cost on their end. Heck I’m happy to invest!

I explained in my comment here on how I achieved something very similar for free in my android app:

https://news.ycombinator.com/item?id=28176237

Re: Show HN: Instantly listen to any URL

#64
post #54

Earlier quoted context omitted.

Not sure about OP but I just implemented this in my Hacker News android client (thanks for the idea OP). This is how I implemented it. I had already achieved article to "reader mode" extraction by heavily customizing the Kotlin port of Mozilla‘s Readability: https://github.com/dankito/Readability4J From the extracted "reader mode" text, I had to do further extraction to get rid of things like image captions, author n…

I really want one of these that can follow RSS/Atom feeds.

Can you explain a bit more on your requirement? I could build something like that if I understand a bit more details.

Re: Show HN: Instantly listen to any URL

#66
post #47

Earlier quoted context omitted.

Exactly what I did, simple web interface I run inside rambox along with all chats and email clients and whatnot, paste a url and it scrapes it and generates the audio to be played in browser(rambox in this case). OK, I do keep a copy of the audio and the text and some other metadata but that's completely optional. As far as tts, while the cloud speech is unmatched, it's still proprietary and not free. However there a…

That sample does sound pretty convincing. Just out of curiosity, that spec'd out machine is sitting idle most of the time, only to generate some TTS occasionally?

No, nothing else as far as tts is concerned. It is my workstation however so it's doing a million other things simultaneously. Full disclosure, I have no idea how far the tts can be pushed on it but it is single threaded so there is room for more should there be a need for it.

Re: Show HN: Instantly listen to any URL

#67
post #62

Earlier quoted context omitted.

https://2130706433:443/ https://0177.0.0.01:443/

Can someone educate me on why these 2 links resolve to localhost?

I think the first is the 32 bit int version of 127.0.0.1, and 0177 is the octal representation of 127.

Re: Show HN: Instantly listen to any URL

#68
post #67

Earlier quoted context omitted.

Can someone educate me on why these 2 links resolve to localhost?

I think the first is the 32 bit int version of 127.0.0.1, and 0177 is the octal representation of 127.

Along those lines, you can also use hex https://0x7f.0.0.0x01:443/

Re: Show HN: Instantly listen to any URL

#69
post #54

Earlier quoted context omitted.

Not sure about OP but I just implemented this in my Hacker News android client (thanks for the idea OP). This is how I implemented it. I had already achieved article to "reader mode" extraction by heavily customizing the Kotlin port of Mozilla‘s Readability: https://github.com/dankito/Readability4J From the extracted "reader mode" text, I had to do further extraction to get rid of things like image captions, author n…

I really want one of these that can follow RSS/Atom feeds.

Inoreader may provide what you're looking for!

Re: Show HN: Instantly listen to any URL

#70

Earlier quoted context omitted.

Just tried this on https://craftinginterpreters.com/a-map-of-the-territory.html and I'm getting weird pauses in the middle of sentences

Know what it is (sometimes text parses with extra spaces causing pauses). Will fix soon.

I do not think extra spaces are the issue (since there aren't any in the link). I suspect it is converting fix chunk of words into audio and before the next chunk there is an awkward pause. Still, very soothing and natural voice.
Post reply on HN