TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I built a Hacker News type website from scratch in Python

3 pointsby MLH6ft1about 2 years ago
What it is: a hacker news type website but for lawyers (since I am lawyer) to discuss developments in AI and Law.<p>Backstory: I recently completed Replit&#x27;s 100days of python, and then I thought how hard it would be to build a Hacker News style website based on whatever that I have learned from the course. The idea was to build a hacker news type website but for lawyers (since I am lawyer) to discuss developments in AI and Law. It took me around 10 days (2-4 hrs a day) to finish this. However, I have not implemented the &#x27;voting&#x27; and &#x27;profile page&#x27; features to the site yet (because that will only be useful only if I actually launch the site and people start using it a lot). Also used ChatGPT(the 3.5 version) for tackling lots of errors, I can only imagine how useful GPT-4 would be where I can pass in the entire code base in the prompt.<p>Unique feature: I have implemented a different type of comment hierarchy (took some inspiration from how arguments are presented in a legal proceedings). Instead of just implementing a &#x27;nested&#x27; comments structure, I came up with a new structure. If you post a comment then everyone can post &#x27;replies&#x27; to your comment. However, only you (i.e., the commenter) can post a &#x27;rebut&#x27; to the replies on your comment. If you rebut a reply, then the replier can also post a rebut to your rebuttal. Rebuts have been restricted such that both the commenter and replier can only post one rebut each. Also once you have rebutted to a reply, anyone else can also &#x27;intervene&#x27; and comment on the conversation going on between you (i.e., commenter) and the replier. However, only the commenter and replier can &#x27;respond&#x27; to the intervenor&#x27;s comment. After a &#x27;response&#x27; to the intervenor&#x27;s comment has been posted, no more comments can be posted to the &#x27;response&#x27;. Thus no more nested layers after the &#x27;responses&#x27;.

no comments

no comments