Reddit Clone (Hubbub)
Reddit clone · Social app · from our videos on X
Hubbub is a Reddit-style community app built in SwiftUI. The Home feed mixes photo and text posts from h/ communities, and the orange up and down arrows bounce, burst and roll the score on every vote. Open a post for threaded comments you can upvote, collapse and reply to; AITA threads land a verdict that stamps the post. Give awards, join communities, write a post from Create, and check Chat, Inbox and your karma, all filled with fictional people and posts ready for your own community.
- iPhone · Swift
- Built in 1 prompt
- Free to remix

Remix copies the working app into your account for free, exactly as we built it. It runs in Vibecode's cloud iOS simulator, in your browser.
Watch the video on X@vibecodeapp · Dec 5, 2026The prompt that builds it
We built Reddit Clone (Hubbub) in one prompt. Paste it into a new app to build your own copy, or change it first.
Prompt · 2,832 words
Build Hubbub, a polished native iPhone app in SwiftUI: a Reddit-style community app with its own brand (Hubbub: a code-drawn #FF4500 circle holding a white speech bubble with a tail at its lower left, two #FF4500 dot eyes and a small smile; the wordmark "hubbub" in bold rounded lowercase). A Home feed of posts from communities ("h/" names) with orange up and down vote arrows, threaded comments you can upvote and collapse, AITA verdicts, awards, community pages with Join, Create post, Chat, Inbox, Search and a profile with karma. Local fixtures only: no network, accounts or permissions. The user is u/alex_rivera. Today is Saturday, December 5, 2026.
ASSETS
curl -L once and unzip flat: https://hubbub-c0de5.beacon.host/media.zip (hubbub-icon.png: set it as the app icon; post photos fries.jpg, tree.jpg, reindeer-dog.jpg, cabin.jpg, pizza.jpg, pc.jpg, cat-tree.jpg, snow.jpg). Avatars, community icons and the logo are drawn in code. No image generation is needed.
SHELL
Opens on Home: no splash, onboarding, sign-in or permission prompts. Light mode everywhere (force .light); the status bar stays visible and dark. Root = one ZStack: the TabView (Home, Communities, Create, Chat, Inbox), the overlay layer (the award sheet, the Create screen, the profile drawer, the toast: views in this same ZStack, never sheets or fullScreenCovers), and the demo window (TouchDot + HOOK/TOUR strips) on top. Each tab has its own NavigationStack(path:) so screens push and pop with the native slide. When anything leaves, the screen under it is already rendered: never a black or blank frame.
LOOK
Background #FFFFFF, surface #F6F7F8, pill grey #EAEDEF, text #0F1A1C, secondary #576F76, hairlines #E5EBEE, upvote #D93900 (its pill tint #FFE9E0), downvote #6A5CFF (tint #EDEBFF), brand #FF4500, Join blue #0045AC, MOD green #0E8A4F. Verdicts (word · flair · colour · tint): nta "NTA" · "Not the A-hole" · #10A34A · #E3F6EA; yta "YTA" · "You're the A-hole" · #E0243A · #FDE4E7; esh "ESH" · "Everyone sucks" · #D98E04 · #FFF3D6; nah "NAH" · "No A-holes here" · #2F6FDE · #E3EDFF. SF Pro everywhere. Avatars: circles with an emoji (60% of the size) on a tint; community icons the same. Springs under 450 ms, light haptics on taps, pressed states (scale 0.97 or a #F6F7F8 highlight).
FORMAT
One NumberFormatter and DateFormatter set with Locale(identifier: "en_US"). Scores and counts: under 10,000 grouped ("3,142"); 10,000+ one decimal and "k" ("12.4k"); millions "2.4M". Ages "5h", "2d", "Just now". The simulator's region is not en_US: never use the device locale.
DATA (Data/: ONE catalog; a new community, post or comment is one entry)
User(id, name "u/…", avatar emoji, tint, isMod). Me: u/alex_rivera (🦊, #FFB86B), 12,408 karma, cake day Mar 3.
Community(id, name, icon emoji, tint, members, online, about, isPrivate, posts). Post(id, communityId, author, age, title, body?, image?, score, comments count, awards [emoji], verdict: Verdict? (landed by the script, nil until then), verdictToast: String?, commentList). Comment(id, author, age, text, score, replies [Comment]).
CommunityCatalog.communities (icon · tint · members · online):
- aita "h/AITA" ⚖️ #FFB000 22.1M 18.4k. Posts:
- fries · u/fryguy_88 (🍟, #FFD166) · 5h · "AITA for not sharing my fries with my date?" · body "She said she wasn't hungry, then ate half my fries. I ordered a second basket." · fries.jpg · 12,407 · 2.3k comments · verdict nta. Comments: fries-c1 u/saltandvinegar (🧂, #CDE7F0) 4h "NTA. Order your own fries. 🍟" 3,141, a reply u/fryguy_88 "Thank you. I feel seen." 488; fries-c2 u/ketchupqueen (🍅, #FFD6D6) 4h "NTA. \"Not hungry\" is a lie as old as fries." 1,870; fries-c3 u/sharing_is_caring (🤝, #E3D9FF) 3h "YTA. It's fries, not a kidney." 402.
- tree · u/jinglebelle (🎄, #CFF5D8) · 6h · "AITA for putting my tree up on November 1st? 🎄" · body "My roommate says Christmas starts after Thanksgiving. The pumpkins are still out, I know." · tree.jpg · 8,204 · 1.9k comments · verdict nta. Comments: tree-c1 u/merrylittlemia (⛄, #DDEBFF) 5h "NTA. Joy doesn't need permission." 2,488, a reply u/jinglebelle "THANK you" 512; tree-c2 u/gourdon_ramsay (🦃, #FFE2C7) 5h "YTA. Let the turkey rest first." 904; tree-c3 u/ornamental (🔴, #FFE0E6) 4h "NTA, the pumpkins are ornaments now" 611.
- doggos "h/Doggos" 🐶 #FFC46B 2.4M 3.1k · dog · u/goldenhour_dad (🐕, #FFE7B3) · 3h · "He thinks he's one of the reindeer now 🦌" · reindeer-dog.jpg · 24,118 · 412 · awards 🏆. Comments: dog-c1 u/snoutsnout (🐾, #F1E4D3) "The antlers are doing a lot of work" 1,204 with two replies ("He's a natural" 301, "Rudolph who?" 188); dog-c2 u/treatdealer (🦴, #EDE7DD) "10/10 would feed carrots" 655.
- cozy "h/CozyPlaces" 🔥 #E8743B 3.1M 2.2k · cabin · u/pinewood_ (🌲, #D8F0DF) · 9h · "Snowed in. Not complaining." · cabin.jpg · 9,812 · 233.
- cooking "h/Cooking" 🍳 #F2C94C 4.6M 4.9k · pizza · u/dough_boy (🍕, #FFE6C7) · 7h · "First pizza out of my new backyard oven" · pizza.jpg · 4,318 · 187.
- ask "h/AskHubbub" ❓ #FF4500 48.2M 61k · ask · u/curious_cat_22 (🐱, #FFE0D1) · 2h · "What's a small thing that instantly makes your day better?" · no image · 18,920 · 6.2k. Comments "A song I forgot I loved coming on shuffle" 7,710; "Clean sheets. That's it." 5,102.
- cats "h/Cats" 🐱 #A78BFA 6.7M 7.2k · cattree · u/whiskerbiscuit (😼, #EDE4FF) · 11h · "Found the problem with the tree" · cat-tree.jpg · 31,077 · 640.
- buildapc "h/BuildAPC" 🖥️ #22D3EE 7.9M 9.8k · pc · u/rgb_rachel (🌈, #D7F7FB) · 1d · "Finished my first build. Be honest." · pc.jpg · 2,940 · 312.
- pics "h/pics" 📷 #3B82F6 31.4M 22k · snow · u/brownstone_ben (🏠, #DCE8FF) · 8h · "First snow on our street last night" · snow.jpg · 15,604 · 298.
Home order at launch: tree, dog, fries, cabin, ask, cattree, pizza, snow, pc. Every post gets 2-3 short comments if not listed.
VOTE (Components/VoteControl.swift: ONE view for posts and comments)
- Post rows: a #EAEDEF capsule (32 pt tall) with arrowshape.up and arrowshape.down (18 pt) around the score (14 pt semibold). Comment rows: no capsule, 16 pt arrows, 13 pt score.
- States: none (outline arrows #576F76, score #0F1A1C); up (arrowshape.up.fill, arrow and score #D93900, a post capsule turns #FFE9E0); down (arrowshape.down.fill, #6A5CFF, capsule #EDEBFF). A second tap removes the vote.
- An upvote: the arrow springs 1.0 → 1.35 → 1.0 (0.28 s), six small #D93900 arrowshape.up.fill (9 pt) burst up and out from it and fade (0.5 s, pure functions of seed and time), the score rolls +1 with .contentTransition(.numericText(value:)), light haptic. A downvote does the same in #6A5CFF with the burst going down.
- Double-tap on a feed image upvotes it (the same animation, plus a 64 pt #D93900 arrow that pops over the image and fades in 0.45 s).
VERDICT (Components/VerdictStamp.swift)
verdict(postId) lands the post's verdict: a stamp over the post's title (in the detail and on its feed card): "VERDICT" (11 pt heavy, tracking 2) over the word (44 pt black heavy caps) inside a 3 pt rounded-rect outline, all in the verdict colour on white 88%, rotated −10°. It slams from scale 1.8 and 0% opacity to 1.0 in 0.18 s (spring, small overshoot), a ring in the verdict colour expands from it and fades (0.35 s), the post card shakes 3 pt for 0.2 s, medium haptic. It stays on that post. The post's flair pill (verdict tint, colour text, 12 pt semibold, beside the title) appears in the same 0.18 s, and verdictToast (if any) shows.
SCREENS
1. Home: top bar: line.3.horizontal (opens Communities), the logo + "Home" + chevron.down (a menu: Home, Popular, Latest), magnifyingglass (pushes Search), my avatar (30 pt; tap opens the profile drawer). Feed: posts separated by 8 pt #F6F7F8 bands. PostCard: header (the community icon 24 pt, "h/AITA" 13 pt semibold, " • 5h" #576F76, a blue "Join" capsule for communities I haven't joined, ellipsis), the title (17 pt semibold, 3 lines max, never one word per line), the body (15 pt #576F76, 3 lines), the image (full width, 4:3, fill, 12 pt corners inside 12 pt insets), the action row (the vote capsule, a bubble.left capsule with the comment count, an award capsule (gift, plus the awards' emoji when any), a square.and.arrow.up "Share" capsule). Tap the card → the post. Tap the header → the community.
2. Post (pushed): nav bar: back chevron, the community icon + name, magnifyingglass, ellipsis. Then the author row (avatar 32 pt, "u/fryguy_88 • 5h"), the title (20 pt bold), the flair pill when the verdict has landed, the body (16 pt), the image (full width minus 24, max 220 pt tall, fill, 12 pt corners), the action row, "Sort by: Best" (13 pt semibold #576F76, chevron.down), then the comments. Budget on the 402x874 iPhone: the first two top-level comments fully visible above the bottom bar with no scroll. Bottom bar: "Join the conversation" field (#EAEDEF capsule, 40 pt). Comment: avatar 24 pt, "u/name" 13 pt semibold (a green "MOD" capsule for mods) " • 4h", the text (15 pt, wraps), a row: ellipsis, arrowshape.turn.up.left "Reply", then the VoteControl at the right. Replies indent 16 pt with a 1.5 pt #E5EBEE thread line on the left. Tapping a comment's header collapses it and its replies into one line ("u/name • 4h • 2 more replies", 0.2 s); tap again to expand. Reply focuses the bottom field with "Replying to u/name"; Send adds my comment (score 1, voted up) under it with a highlight.
3. Community (pushed): a 110 pt banner in the community tint with a soft gradient, the icon 64 pt overlapping it (white 3 pt ring), the name 22 pt bold, "22.1M members • 18.4k online" (13 pt #576F76, a green dot), the about text, the Join capsule (blue "Join" → "Joined" with a checkmark, grey outline, 0.2 s, haptic), tabs Posts | About, then its posts as PostCards.
4. Communities: "Your communities" (rows: icon 32 pt, name, members; tap pushes the community) and "Recommended for you" (rows with a Join capsule).
5. Create (overlay, full screen, slides up 0.3 s): xmark, a disabled-then-blue "Post" capsule, the community picker row ("h/AskHubbub" with its icon, chevron.down; a tap lists my communities), a big "Title" field (22 pt bold, focused), "body text (optional)" (16 pt), and a toolbar (link, photo, list.bullet). Post closes it and puts my post on top of Home ("u/alex_rivera • Just now", score 1, up-voted) with a toast "Posted to h/AskHubbub".
6. Chat: "Chats" 28 pt bold; rows (avatar, name, last line #576F76, age): u/ketchupqueen "lol the fries thread", h/AITA mods "Your post is live", u/goldenhour_dad "he ate the antlers". Tap pushes a thread with bubbles (mine #0045AC white text, theirs #EAEDEF) and a field that sends.
7. Inbox: "Inbox" 28 pt bold, rows with an icon tile and a bold line: "Your post hit 1,000 upvotes in h/AskHubbub 🎉" 2h; "u/ketchupqueen replied to your comment" 4h; "You got a 🏆 award" 1d; "Trending in h/Cats: Found the problem with the tree" 1d. Tap pushes the post.
8. Search (pushed): a #EAEDEF field ("Search Hubbub"), "Trending today" rows (AITA fries, first snow, reindeer dog); typing filters communities and posts live; tap pushes.
9. Profile drawer (overlay from the right, 320 pt, dimmed backdrop): avatar 72 pt, "u/alex_rivera", "12,408 karma • 2y" with a cake 🎂 "Cake day Mar 3", rows Profile, Saved, History, Settings.
Award sheet (overlay from the bottom, 0.3 s): "Give award" 17 pt bold, a 3x2 grid of 64 pt tiles: 🏆 Gold, 💖 Wholesome, 🤣 LOL, 🚀 Rocket, 🧠 Big Brain, 🍿 Popcorn. A pick closes it, the emoji flies (0.45 s arc, scale 1.6 → 1.0) into that post's award capsule with a gold sparkle burst, and the capsule shows it.
Toast: a #0F1A1C capsule (white 14 pt medium, 14/10 pt padding) that slides up above the tab bar or bottom bar (0.2 s), holds 1.6 s, fades 0.2 s.
Tab bar: white with a hairline; house "Home", person.2 "Communities", plus "Create", bubble.left.and.bubble.right "Chat", bell "Inbox" (11 pt labels; selected #0F1A1C filled, others #576F76).
DEMO ENGINE (Data/DemoScript.swift, Demo/)
- Every element a script touches registers its frame with .demoTarget("…") (an anchor preference): "back", "avatar", "post-<id>", "header-<postId>", "image-<postId>", "up-<postId or commentId>", "down-<id>", "award-<postId>", "award-<kind>", "collapse-<commentId>", "join", "tab-home", "tab-communities", "tab-create", "tab-chat", "tab-inbox", "create-title", "create-post", "community-row-<id>".
- DemoStep (absolute seconds from the start): reset(route) (no animation), dotAt(target, pressed: Bool) (drawn at once), dot(target, glide), press (the TouchDot presses where it is, then that target's real action runs), scroll(to: target, duration) (the current ScrollView via scrollPosition, easeInOut), verdict(postId), type(text) (0.045 s a character through the real field), hideDot. ScriptPlayer runs a [DemoStep] on the main actor against its start time (absolute times, so drift never builds).
- DemoScript.hook(open: postId, votes: [commentId]) builds HOOK MODE's steps; a remix changes only the arguments.
- TouchDot: above everything (44 pt, black 35%, a 3 pt white ring, soft shadow); scales in as it lands, glides between targets (0.2 s ease), presses (scale 0.85, 0.1 s); hideDot fades it (0.25 s).
HOOK (the video's first 3 seconds)
HOOK MODE: tapping an invisible 20x60 pt strip at the RIGHT edge (x 382-402, y 500-560 pt), in its own window above everything (a tap there closes whatever is open), resets everything and plays DemoScript.hook(open: "tree", votes: ["tree-c1", "tree-c3"]) through the real ScriptPlayer, stores and views, identical every time (seconds from the tap):
0.00 with no animation: Home underneath (its feed at the top, the hook's post first), the fries post pushed on top, scrolled to the top, no verdict yet; the TouchDot already pressed (scale 0.85) on "up-fries-c1" (its arrow still grey, 3,141). 0.00-0.12 hold exactly that.
0.12 the upvote lands (orange, bounce, burst, 3,141 → 3,142) and the dot releases. 0.50 verdict("fries") (green NTA stamp). 0.95 dot to "back", 1.10 press (pop to Home). 1.45 dot to "post-<open>", 1.60 press (push it). Then for each vote, starting 2.00 and every 0.60 s: dot to "up-<commentId>" (0.15 s), press at +0.20 (the upvote). At the last press +0.40: verdict(open). +0.50 after that: hideDot.
- Every wait uses the hook's own times, never the app's normal delays. Frame 0 fully drawn; something moves every half second; no flash longer than 0.1 s.
TOUR MODE (for filming the app's other moves)
Tapping an invisible 20x60 pt strip at the LEFT edge (x 0-20, y 500-560 pt), same window, resets and plays DemoScript.tour (seconds from the tap): 0.0 Home at the top; 0.8 scroll(to: post-dog, 0.6); 1.8 press image-dog (double-tap upvote: the big arrow pops, 24,118 → 24,119); 2.8 press award-dog (the sheet); 3.6 press award-gold (it flies into the capsule); 4.8 press post-dog; 5.8 press collapse-dog-c1 (collapses); 6.6 press collapse-dog-c1 (expands); 7.4 press back; 8.2 press header-dog (h/Doggos); 9.2 press join (Joined); 10.2 press back; 11.0 press tab-communities; 12.0 press tab-create; 12.6 type "What's the best Christmas movie? 🎄"; 14.8 press create-post (Home shows it on top, toast); 16.2 press tab-inbox; 17.2 press tab-chat; 18.0 press tab-home; 18.6 press avatar (drawer); 19.6 press avatar (closes); 20.2 hideDot. Every press runs the real action.
RULES
- Native SwiftUI, iOS 26 (keep the template's target), iPhone portrait.
- Deterministic fixtures. No backend, login, permissions, audio, network calls at runtime, notifications or analytics. No persistence: delete the SwiftData starter, no UserDefaults or files.
- Files under 300 lines, big bodies split into subviews, no long chained expressions; every animation smooth at 60 fps; decode images off the main thread.
- Keep every file inside /home/user/workspace (/tmp is denied).
REMIX-READY
Theme/Theme.swift (colours, verdict colours, fonts, metrics; no colour literals elsewhere), Theme/Copy.swift (every UI word), Data/CommunityCatalog.swift (users, communities, posts, comments, Home order), Data/DemoScript.swift (HOOK MODE and TOUR MODE as [DemoStep]). Codable models with String ids (User, Community, Post, Comment, Verdict, Award, ChatThread, InboxItem) behind one FeedSource protocol (FixtureSource) feeding an @Observable FeedStore (votes, joins, awards, verdicts, collapsed ids). CommunityCatalog, Verdict, VoteControl, VerdictStamp and ScriptPlayer are the seams; at the reset Home lists the hook's post (open:) first. Components/ (one file per component above) and Features/<Screen>/. README.md under 80 lines: the file map; how to rename the app and add a community, a post, a comment or a verdict; 3 one-prompt remixes (a forum for one city's neighbours; a fan club for one band with a merch community; a campus board with h/Housing and h/Rides). "Read README.md first." atop CLAUDE.md and ios/AGENTS.md; replace ios/CLAUDE.md's structure block with this app's files. No scratch folders.
FILMING
Long-press my avatar on Home for 1 s to reset everything to launch (Home at the top, no pushed screens, fixtures restored, votes and verdicts cleared, no overlay).
BUILD
Theme, Copy, Format and the catalog, then Home with PostCard and VoteControl and the tab bar (launch and look first), the post with comments (collapse, reply), VerdictStamp, the community page, Communities, Create, the award sheet, Chat, Inbox, Search and the profile drawer, then ScriptPlayer, TouchDot and HOOK MODE, then TOUR MODE; a one-line status per screen; launch in the simulator every two or three files. Fetch media.zip as soon as the shell runs; check the files exist, never view them. Walk each flow once and fix what breaks; no pixel measuring or debug modes. Deliver the whole app, not a plan. Do not publish.More templates
All templates- View template

Apple Phone Clone
iOSThe iPhone Phone app: Contact Poster calls, Call Screening transcripts, Hold Assist, voicemail and the Keypad.
- View template

BeReal Clone
iOSA BeReal-style daily photo app: a 2-minute window, dual photos, face reactions and a feed that unlocks.
- View template

Apple Find My Clone
iOSThe iPhone Find My app: friends, devices and items on a map, Play Sound, Lost Mode and Precision Finding.
- View template

iMessage Clone
iOSThe iPhone Messages app: blue bubbles, Tapbacks, typing dots and every iMessage effect, Balloons to Lasers.





