Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: A news aggregator for the Python community written in Python/Django (github.com/sebst)
106 points by sebst on Oct 11, 2019 | hide | past | favorite | 37 comments



I built a news aggregator (a Hacker news lookalike) in Django. The aim is to power a community aggregator specific to the Python community at https://news.python.sc.

If you want to participate, claim your invite here: https://forms.gle/TJSNLXD8fgyFYUaFA

Of course, there is not much content here, so you’re all welcome to contribute ;-)


I don't see how to reply to a comment. For example, if I go here[0] where there are two top-level comments, I don't see any reply links.

[0] https://news.python.sc/item/73cc2374-210c-4b6a-aca1-bfb98623...


Good point. For now you'd need to click on the "0 comments" link next to the comment you'd like to reply to


excellent idea! would love to see this applied to other languages and technologies! have to wait till i get home to claim a spot.


For Go users there is https://golangnews.com


Awesome! Well done and thanks for sharing.


FYI the invite link is blocked by my work proxy servers. So maybe it's blocked other places too.


Can you reply to my email with your invite code, please?


Cool. I built something similar once also. Did you look into using Django-MPTT for the nested comments and decide against it? https://github.com/django-mptt/django-mptt .


I built an HN clone in Django called Educator News [0], but I couldn't figure out how to get meaningful traction. It was really interesting to build, and implementing comments was one of the few times in my life where I've used recursion on a real-world project. I looked at Django-MPTT, and made a note to look into implementing it if the project went anywhere meaningful.

[0] https://github.com/ehmatthes/educator_news


Yes, I used that lib, too.


ah, cool -- on second look i now see it in requirements.txt


Very good job, I like it! I like it even better that you prepopulated the feed with very interesting articles for the hn launch. Can you share any tips about your deployment process? I can assume you didn't use docker as i don't see any Dockerfile in your repo. Did you use ci/cd and/or staging servers etc? I really like Django but its deployment isn't as straightforward or beginner-friendly as something like laravel. I love hearing how people are managing their side projects.


Deploying Django apps to Heroku is pretty straightforward. If you want to host yourself you can give a try to Dokku which similar but self-hosted. I have written a small tutorial on how to deploy Django apps with Dokku : https://ponytech.net/blog/django-deployment-dokku


I just used a simple elastic beanstalk environment.


Well played, HN community! Not a single spam submission or otherwise abusive behaviour!

I opened the registration to the public, no need to request an invite!


I just registered and got an error 500 when veryfing my email


Will investigate, thanks for letting me know!


This is amazing. It would be great to have a README section. I am bookmarking this as my template/boilerplate for starting up new Django projects :)


I plan to make a make-of tutorial out of that.


QQ: Why is it invite only ?


Just to be cautious in the beginning - I did not know what to expect.

I opened it now!


Thanks for sharing, learned a thing or two!

A quick suggestion: add an index to the `Vote` model for the `user` and `item` fields.


Show HN: Meta: Show PN: Meta: Show HN: A news aggregator for the Python community written in Python/Django

https://news.python.sc/item/20d9cda4-4337-4c66-a924-d4391f8a...

;-)


Is the only reason we're ok with this blatant design ripoff because OP is "one of us"? It's basically a clone with only the colour changed.


HN's design was always just its own blatant ripoff of reddit anyway.

Here's what reddit looked like in February 2007 when HN launched: https://web.archive.org/web/20070202004002/http://reddit.com...


Wrong. See dang's comment below. Reddit was heavily inspired by del.icio.us/popular (which I built back in 2004 or so)

There's really not a lot of ways to design a list of links, anyway.


I'd be careful about making historical claims (let alone calling names like "blatant ripoff") unless you're sure you're on solid ground. pg gave Steve and Alexis the idea for Reddit and was their biggest influence. Reddit's and HN's designs are similar because they came from a common source. pg has in fact said what that source was: delicio.us/popular: https://news.ycombinator.com/item?id=903365

https://web.archive.org/web/20051220094850/http://del.icio.u...

The Reddit guys confirmed that in interviews. For example: https://mixergy.com/interviews/no-reddit-didnt-copy-digg-her...

Similar story here: https://www.vanityfair.com/news/2018/09/how-steve-huffman-an...


do one for neural networks with keras + pytorch + papers and i will pay for it


What exactly do you have in mind?


The space is evolving a lot. Just want a way to stay on top of it.


Drop me a line on twitter @sebastiansteins


Please, let enable a RSS or Atom feed!


In the pipeline!


You should call it PyNews :)


Thanks for making this available but if you really want it to get it adopted you really should change from GNU license to much more permissive MIT license.


And you should not tell people what they should do with their work and IP. If they chose GNU, they chose GNU, and they have their reasons, deal with it.




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

Search: