Clone4.me
Intermediate BUILD / HACKER NEWS CLONE PROMPT

Build your own Hacker News.

A complete AI build prompt for a link-sharing community with ranked feeds, voting, and threaded discussion. Your own code, identity, and workflow.

LinksDiscussionVotingWebGo + TypeScript
Download .md
0 cloned 780 words 5 editable sections

What your Hacker News-inspired app will do

Build an original link-discussion community called Linkyard, inspired by Hacker News. Members submit interesting links or text posts, vote, and discuss them in threaded comments. Keep the pilot focused on one topic, with a transparent ranking formula and a small moderation workflow.

  • Submissions: create link or text posts, validate HTTP(S) destinations, normalize obvious duplicate URLs, and render user text safely. Display source domains without fetching arbitrary page metadata from the server.
  • Feeds: provide newest and ranked views with stable cursor pagination. Define an explicit score/time-decay formula and derive scores from stored votes. Keep ranking reproducible in tests.
  • Voting: allow one upvote per user/post with undo, prevent self-vote inflation, and calculate counts transactionally. Do not implement hidden or random score changes to imitate a larger community.
  • Discussion: support threaded replies, collapse/expand, editing your own comments within a documented window, and deletion tombstones that preserve the thread. Show actual reply counts.
  • Moderation: flag submissions/comments, let moderators remove or restore content, rate-limit posting, and record moderation actions. Provide a clear public community guideline page.

Is a DIY Hacker News alternative right for you?

Choose this brief for a focused link feed with transparent ranking. The Reddit-inspired brief covers a larger multi-community model.

A useful first project: A small professional or hobby community that values links and discussion over rich media.

Start with a smaller version

Submit a link, vote from another account, add a reply, and delete its parent comment. Check feed ordering and the remaining conversation after reload.

Know the tradeoffs

Voting consistency, feed pagination, safe rendering, and moderation still require server logic. The starter’s simple ranking is documented and does not reproduce Hacker News’s private implementation.

Understand the build-vs-buy tradeoffs

Building your own Hacker News: useful answers

Is this a ready-to-use Hacker News alternative?

This page provides a customizable build brief for a link-sharing community with ranked feeds, voting, and threaded discussion. It is not a hosted app. Your AI coding agent implements the software; you then need to test, run, and maintain it.

Can I customize the Hacker News clone prompt?

Yes. Choose Product & audience, Design, Features, Tech stack, or Data & behavior in the editor. Save and copy the complete assembled prompt, or download it as Markdown. Edits are saved in this browser.

What does the starting version leave out?

Test vote/undo retries, equal-score pagination, ranking over time, duplicate URLs, deleted parents with replies, posting restrictions, and moderator permissions. Exclude copying Hacker News posts, private ranking algorithms, scraping, notifications infrastructure, and paid features.

Original software. Familiar inspiration.
Use your own brand, code, layout, and assets. Clone4.me is independent and is not affiliated with Hacker News. Read our approach.

Curated by Clone4.me · AI-assisted build briefs · Scope reviewed October 15, 2026

Other social platforms tools to build

Advanced
Social platformsWeb
0 cloned

Build an opt-in random chat app with text matching, optional video, blocking, and reporting.

Random chatWebRTCModeration
TypeScript889 words
View / edit
Advanced
Social platformsWeb
0 cloned

Build a random video matching platform with WebRTC, skip controls, and real moderation flows.

Video chatMatchingWebRTC
Go / TypeScript843 words
View / edit
Advanced
Social platformsWeb
0 cloned

Build a discussion platform with communities, posts, votes, comment threads, and moderation.

CommunityThreadsVoting
Go / TypeScript836 words
View / edit