Live data from Hacker News

Show HN: Read Hacker News Like Pinterest – Built with Vuejs

hnews.xyz

71–80 of 111 posts

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#71

Earlier quoted context omitted.

It's a hard one to do.I agree you can do that now. I'm thinking on a solution, but it's not really easy. Right now I have no solution.

Another solution I can think of is - encrypt the URL with a symmetric key. Decrypt it to generate the thumbnail

Thank you for the suggestion. I'm not so familiar with this. Will this work on frontend too? If I expose the secrets on the fronted, then it's pointless. Do you have some suggestions on how to do this? Appreciate the help! It's an important aspect and a very resource intensive process that I need to protect.

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#72

Earlier quoted context omitted.

May be you should consider rejecting random urls from your thumbnail generation endpoint. Now I could generate thumbnail of any website e.g. my blog https://hnews.xyz/thumbnail/?url=http://rajeeshcv.com

It's a hard one to do.I agree you can do that now. I'm thinking on a solution, but it's not really easy. Right now I have no solution.

You could your scraper service a unique token that random people won't have so they get 401ed.

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#73

Earlier quoted context omitted.

Another solution I can think of is - encrypt the URL with a symmetric key. Decrypt it to generate the thumbnail

Thank you for the suggestion. I'm not so familiar with this. Will this work on frontend too? If I expose the secrets on the fronted, then it's pointless. Do you have some suggestions on how to do this? Appreciate the help! It's an important aspect and a very resource intensive process that I need to protect.

Your decryption/encryption secret (key) is stored on the server side only and if a client requests a thumbnail, you can validate the URL value by successfully decrypting it with this secret and probably do a simple HTTP URL validation check of the decrypted value. And you have to encrypt all thumbnail URLs with this secret before passing them to the client.

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#74

Wow - it actually made "new" look interesting to me. When I look at "new" on classic HN, the "0 point 0 comments" and expectation of low quality means I rarely click anything. This drew me into interesting articles I would not otherwise read. Great - very valuable! The title is nearly always visible on the rendered page. The overlayed title adds a lot of extra noise that is spoiling the browsing experience for me. Ca…

Thank you for the feedback. Noted down the feedback. I agree with you regarding the extra information. I will probably make it on hover. The title might be necessary, because it's not always visible in the screenshot. Regarding the refresh topic i want to have it for the people that want to keep the tab open, and always get the new news, but would be a good idea to have it optional. If you wan to contribute, you can…

> The title might be necessary, because it's not always visible in the screenshot.

That was my first assumption but I am now tempted to say you should fully invest in your concept. Drive a complete behaviour change from choosing stories based on the title to choosing stories based on the actual content, its design and being able to skim the first few paragraphs which lets you judge writing quality and intent more than a title.

If the title isn't visible on the page, so what? It clearly wasn't important to the designer. The focus on titles is perhaps a weakness of HN, not a strength. This means you should be delighted to get rid of the title and anything else that becomes an obstruction to skimming real content presented as the designer intended.

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#76
post #50

Earlier quoted context omitted.

Design can be changed. Can you tell me what would be a right proportion for you? Wider screenshot ( so higher resolution so you get more context of the page ) but less height? Actually on a retina ipad, the text is quite readable

You already designed it to your preference. I'm sharing mine with you. Reduce the tile size by 50%, turn opacity to 100% on the title bar and increase opacity of the tile thumbnail by 25%?

What I like about it is actually being able to read content in the tiles. For me, reducing their size would just turn it into a gimmick - cute thumbnails but why bother?

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#78

Earlier quoted context omitted.

Another solution I can think of is - encrypt the URL with a symmetric key. Decrypt it to generate the thumbnail

Thank you for the suggestion. I'm not so familiar with this. Will this work on frontend too? If I expose the secrets on the fronted, then it's pointless. Do you have some suggestions on how to do this? Appreciate the help! It's an important aspect and a very resource intensive process that I need to protect.

To the extent that you are pulling new stories directly from Firebase on the client side, encrypting (or signing) urls with a symmetric key will not work. This is because you would need to embed the secret in the front-end code which means the secret is no longer secret ;-)

You could also tail the Firebase feed from a server process, generate the relevant images and only serve images for pre-existing urls.

Re: Show HN: Read Hacker News Like Pinterest – Built with Vuejs

#79

This is really nice. A minor suggestion: I think you might as well thumbnail Ask HN/Tell HN/any other pure text posts too. This would look better than the big blank squares for those, and work well as a preview.

I agree with this. Other than this it's a great project, nice work!
Post reply on HN