Live data from Hacker News

Show HN: A Reddit reader that looks like the frontpage of a print newspaper

unim.press

1–10 of 129 posts

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#3
The Same Origin Policy disallows reading the remote resource at https://api.reddit.com/r/dataisbeautiful/hot?limit=25. (Reason: CORS request did not succeed).

The resource at “https://api.reddit.com/r/dataisbeautiful/hot?limit=25” was blocked because content blocking is enabled.

ReferenceError: error is not defined

MacOS, Firefox 77.0.1

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#4
post #3

The Same Origin Policy disallows reading the remote resource at https://api.reddit.com/r/dataisbeautiful/hot?limit=25 . (Reason: CORS request did not succeed). The resource at “ https://api.reddit.com/r/dataisbeautiful/hot?limit=25” was blocked because content blocking is enabled. ReferenceError: error is not defined MacOS, Firefox 77.0.1

Had to disable my adblocker for it to connect to the Reddit API.

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#7

Text always says lorem ipsum. It could be composed of comments in the thread.

Depends on the type of the post. I suppose I could have fetched comments, but for now, it uses lorem ipsum if the post isn't a text post. If it's a self/text post, it uses that text as the article body.

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#9

How long did it take for you to build it? And did you already know the backend tech in order to speed up development?

6 hours -- I had the idea this morning and started at around 2PM (first commit on GitHub). Finished at around 8PM. The app is all client-side, so I didn't have any backend need.

The app renders using a UI rendering library I wrote (https://github.com/thesephist/torus), so I knew the tools I was using inside out, which helped with speed.

Post reply on HN