3 ms·
It's so fast!! Now, if only there was a way to browse Reddit and HN using 'tin' or 'nn'.
by thought_alarm 11y ago
It's so fast!!
Now, if only there was a way to browse Reddit and HN using 'tin' or 'nn'.
- voltagex_ 11y agoI have too many projects, one that I shelved was "Reddit-as-a-filesystem", because I was messing around with Dokany [1] at the time. The same kind of thinking (Reddit->FUSE->Files) could be applied to a Reddit -> Gopher proxy. To reduce the cost of the project, I'd make it self-host the Gopher server on the user's PC and make the API calls from there, rather than setting up gopher-hackernews.xyz:70 My gut feeling is that the slowest part of this would be the API call to HN [2] or Reddit [3]. [2]: https://github.com/HackerNews/API https://github.com/HackerNews/API [3]: https://www.reddit.com/dev/api https://www.reddit.com/dev/api [1]: https://github.com/dokan-dev/dokany https://github.com/dokan-dev/dokany
- mbrock 11y agoInstead of using API calls for user navigation, you can keep a synchronized local mirror of whatever subreddits the user is interested in. I have a repository somewhere with a thing that does that, through Reddit's .json URLs, mirroring subreddits into Git repositories full of JSON files, and then serving a minimal local web interface with real time updates. I'll make a note to clean it up and publish it...
- voltagex_ 11y agoThat's a very clever idea. I've been playing with FreeBSD's ports system this afternoon. There's something to be said for using the filesystem instead of a database, API calls or whatever.