Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Ledit – a read-only, client-side only Reddit and HN client (marioslab.io)
5 points by badlogic on Aug 11, 2023 | hide | past | favorite | 5 comments
I've been frustrated with Reddit's recent API turn, and am also not the biggest fan of HN on mobile. I used to take part in discussion years ago on both sites, but have slowly turned into a lurker. As such, I need a slick client that works on both desktop and mobile, that let's me merely consume content, both media and comments, on both sites.

I build ledit over the past few nights for exactly that purpose. I gather others might also have a similar need that's not yet filled by other options out there.

https://github.com/badlogic/ledit

How does it work? * As a default, you see a multi-reddit called ledit mix. It's an set of subreddits my partner in crime combined to a multi-subreddit. Great for quick media fueled dopamine.

* Click on the icon in the top left corner to view bookmarked subreddits as well as the entry for hackernews. You can remove bookmarks by clicking the minus icon, or set them as the default by clicking their checkmark. You can also change the theme there if you so wish. Beware my terrible design skills.

* When you view a subreddit, indicated by `r/<subreddit>`, you can click the header bar and enter the name of a new subreddit you want to navigate to. No fuzzing with the browser's URL bar.

* You can bookmark the currently viewed subreddit via the icon in the top right corner. The icon will not be visible if you've already bookmarked the subreddit.

* You can also change the sorting of the currently viewed subreddit. For HN, the sorting lets you pick between news, newest, jobst, ask, show.

* Media will be fitted to the screen in a best effort manner.

* To view a post's comments, click the comment icon at the bottom of the post. They will be shown inline

* To collapse the comments either click the comments icon again, swipe back on mobile, or press Escape on the desktop.

* To collaps the children of a comment, click the comment itself.

* If you must reply to a comment, click the tiny reply button in its header. You'll be navigated to the comment on either Reddit or HN, where you can reply if you're logged in.

* Posts that have an image gallery are marked with an image icon. Click the image (not the icon) to expand and collapse the gallery.

* Tap videos to start/pause/resume them. If they scroll out of view, they'll get paused automatically.

The whole app is a single page app that directly talks to CORS enabled endpoints of Reddit and Hacker News.

In case of Reddit, I use the old `.json` endpoints. No API keys required.

In case of Hacker News, I use both the official Firebase API to fetch the stories, then use Algolia and the Firebase API to fetch comments and restore their order (that was fun to figure out...).

I could add additional sources that follow the posts -> comments structure pretty easily. I'm open for suggestions.




This is GREAT! The usability is through the roof, and supporting HN in the same way is super cool. It's similar to Sync but simpler and even better in some ways.

To bring your own subreddit subscriptions into this, use a multireddit:

1) Go to: https://www.reddit.com/subreddits/

2) On the right, copy the link "multireddit of your subscriptions" which has all your subreddits separated by "+".

3) Replace <all-your-subreddits> in this URL: https://marioslab.io/projects/ledit/#<all-your-subreddits>

4) Bookmark the page. Or you can click the tag icon in the upper right to save it. Find it again by clicking the Ledit icon in the upper left, where you can also set it as default.


Gave it a quick try. Looks nice and minimal for a read-only reddit client. Had to disable strict tracking protection in Firefox for it to work though.


Oh, thanks for the info. The client embeds external media, e.g. from YouTube. I'd assume that is the culprit. The server only serves 3 static files and doesn't do anything else.


This is great work. I use https://upstract.com/ (the new popurls) for this now personally.


Seems to have CORS issues in Firefox.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: