Get a Working Twitter Clone App for $0

Vishal walks through X Clone, a Twitter clone built with Vibecode: the prompt behind it, what it does and how to make it your own.

Vishal Dubey

Vishal DubeyReviewed by Ansh Nanda

Updated Built and tested

Table of contents
  1. See it running
  2. The prompt
  3. Features
  4. How to build it
  5. The hard parts
  6. Make it a real app
  7. What it costs
  8. Questions
  9. More templates

TL;DR

How do you build a Twitter clone?

This article will go through the exact steps of building a Twitter clone. You can follow along, or scroll to the bottom and remix the version we already made you. It's $0 on a new account!

Oyelabs sells a Twitter clone script from $2,599, with web and phone apps. RaftLabs, an agency, puts a first version of a text app like X at $15,000 to $30,000.

Ours is a native X (Twitter) clone for iPhone, $0 to remix on a new account. It runs in your browser in about a minute, on sample posts.

A Twitter clone is a microblogging app built like X. X has:

  • For you and Following feeds
  • Photos, polls and quotes
  • Likes, reposts and replies
  • Grok, which answers when tagged
  • Search, notifications, DMs and profiles

Our X Clone has all of them, with its own @ai bot in place of Grok. Inside, it goes by its own name: Squawk.

Below, we turn it into a running club's app in 10 minutes, make @ai answer with Grok in 6, and add real accounts with report and block in 17.

  • Vibecode template$0to remix on a new account
  • Clone script$2,599at Oyelabs, with phone apps
  • Agency build$15,000+per RaftLabs, for a first version

See it running

X Clone, a Twitter clone built with Vibecode

Template

X CloneiOS

Twitter clone · Swift and SwiftUI

A For you feed, the like burst, polls, quotes, reposts, bookmarks and an @ai reply bot, on sample posts.

Remix this template

Remix copies the working Swift app into your Vibecode account, and a new account's first remix is free. Or open a new iOS app with the prompt below to build a fresh copy.

Open the template page
X Clone running in the Vibecode iOS simulator

The prompt we used

We built X Clone in two messages on Claude Opus 5.5. The first built the app in 22 minutes. The second fixed four details we caught in the demo video, in 3 more.

Together they used $16.71 of credits for the agent, plus $3.40 of simulator time. Remixing gets you the finished app instead, $0 on a new account.

The prompt below folds both messages into one.

Its photos come ready-made in a zip, so the agent makes no pictures. Paste it into a new iOS app project to build your own copy, or change the details first.

Prompt · 3,077 words

Build Squawk, an original microblogging app for iPhone in SwiftUI, in the genre of X and Threads: a For you / Following timeline, posts with photos, quotes, polls and reader-added context, the like burst, repost and quote, bookmarks, the post page with replies and a "Post your reply" bar, @ai replies (Squawk AI answers under your reply), Explain this post, compose with the post springing onto the timeline, Search, Notifications, Messages, the profile and the AI tab. Its own name, logo and words, all below. The user is Maya Chen (@mayachen). Today is Sunday, November 8, 2026.

ASSETS
curl -L once each and unzip flat: https://vibecode-x-media.beacon.host/squawk-brand.zip (squawk-icon.png: use it as the app icon) and https://vibecode-x-media.beacon.host/media.zip (the JPEG photos named below; av-* are 400 px avatars). Put every image in the asset catalog under its file name. The Squawk logo is drawn in code: a 24 pt #0F1419 rounded speech bubble (a capsule-cornered rectangle with a small tail at its lower left) with a white exclamation mark cut into it. Squawk AI's avatar is drawn in code too: a black circle with white "sparkles" (SF Symbol). No image generation is needed.

SHELL
Opens on Home, For you: no splash, onboarding, sign-in or permission prompts. A 5-tab bar, icons only, white with a top hairline #EFF3F4: Home (house / house.fill), Search (magnifyingglass), AI (sparkles), Notifications (bell / bell.fill with a #1D9BF0 count badge "3"), Messages (envelope / envelope.fill); every icon #0F1419, the selected one filled. Light mode only; the status bar stays visible and dark on every screen.

SCREENS
1. Home. Top bar: Maya's 32 pt avatar left (opens Profile), the Squawk logo centred, person.badge.plus right. Timeline tabs left-aligned under it: "For you" with a small chevron.down, "Following", then a plus; selected = 15 pt bold #0F1419 with a 4 pt rounded #1D9BF0 underline as wide as the label that slides between tabs; others 15 pt medium #536471; a hairline below. The feed scrolls under a pinned header. A 56 pt #1D9BF0 circle with a white plus (shadow) floats 16 pt above the tab bar, 16 pt from the right: compose.
2. Post cell (Components/PostCell): 12 pt top and bottom, 16 pt sides, a 40 pt round avatar, 8 pt gap, then the column: name (15 pt bold #0F1419, truncates) + badge (checkmark.seal.fill 15 pt #1D9BF0; #E2B719 gold for Squawk AI) + "@handle · 2h" (15 pt #536471); at the right a sparkles button (16 pt #536471, opens Explain this post) and ellipsis. Text 15 pt #0F1419 (line height 20), @mentions, #tags and links #1D9BF0, long text clamps at 4 lines with "Show more" #1D9BF0. Media: full column width, its own aspect (3:2 photos), 16 pt corners, a 0.5 pt #CFD9DE border; a tap opens it full screen on black. Quote card: 1 pt #CFD9DE border, 16 pt corners, 12 pt padding, 20 pt avatar + name + handle, the text, a photo thumbnail. Poll: 4 outlined option capsules; a tap fills each bar to its percent in 0.4 s, the chosen one bold with a check, "18,205 votes · 6 hours left". Action row, 12 pt above the bottom: reply (bubble.left), repost (arrow.2.squarepath), like (heart), views (chart.bar), all 17 pt #536471 with 13 pt counts 4 pt after, spread over the first 75%, then bookmark and square.and.arrow.up at the right. Hairline #EFF3F4 between cells. A cell tap opens the post page.
3. Like (Components/LikeButton): a tap fills the heart #F91880; it scales 0.8 → 1.25 → 1.0 in 0.3 s while 8 small #F91880 dots burst out 14 pt in a ring and fade (0.35 s); the count turns #F91880 and rolls up one digit (old number slides up and out, new one slides in). Unlike reverses with no burst. Repost: a sheet with "Repost" (arrow.2.squarepath) and "Quote" (pencil.line); Repost turns the icon and count #00BA7C with the same roll; a reposted post's sheet says "Undo repost"; Quote opens compose with the post as a quote card. Bookmark: fills #1D9BF0 and slides down the top toast "Added to your Bookmarks" with "Add to Folder" (#1D9BF0) at the right.
4. Post page (push): top bar arrow.left, "Post" (17 pt bold), ellipsis. The post: 40 pt avatar, name + badge over "@handle" (#536471); the text 17 pt; media; "9:41 AM · 11/8/26 · 1.2M Views" (15 pt #536471, the number bold #0F1419); hairline; the action row with counts (15 pt); hairline; "Top replies" + chevron.down (15 pt bold #536471) and "View quotes" + chevron.right at the right; then the replies (reply cells = post cells without media). A reply to a reply hangs under it, joined by a 2 pt #CFD9DE line from the parent's avatar to the child's. Added context (on posts that have it) sits under the text: a #F7F9F9 card with 12 pt corners and a 1 pt #CFD9DE border: info.circle + "Added context" (15 pt bold), the note (15 pt), a source link (#1D9BF0), then "Rated helpful by readers who usually disagree" (13 pt #536471) and a small outlined "Rate it" capsule.
   The reply bar is pinned above the tab bar: a 40 pt #EFF3F4 capsule, 16 pt margins, "Post your reply" in #536471. A tap expands it with the keyboard: "Replying to @handle" (#536471, the handle #1D9BF0), the field, and a toolbar: photo, GIF, list.bullet, mappin, sparkles (inserts "@ai " at the start of the field), a 20 pt character ring and a "Reply" capsule (#1D9BF0, white 15 pt bold, 32 pt tall; 50% opacity while empty). If the keyboard goes down with text in the field, the bar stays one line tall showing the text (@ai blue) with the blue Reply capsule at its right.
   Send: the field clears, the top toast "Reply sent" slides down (a fully opaque #E8F5FD rounded rectangle on every frame, 12 pt corners, a 1 pt #BEE3F8 border, 16 pt side margins, 52 pt tall, checkmark.circle.fill #1D9BF0 + "Reply sent" 17 pt #0F1419; it only slides, no fade: in 0.25 s from above the status bar, holds 1.6 s, out 0.25 s); Maya's reply ("now") opens at the top of the replies: the rows below move down with a 0.3 s spring while the cell fades in, never a jump; the post's reply count rolls up one.
5. @ai replies: when a sent reply contains "@ai", Squawk AI answers under it, threaded (the 2 pt line): its 40 pt avatar, "Squawk AI", the gold badge, "@ai · now". First three #536471 dots pulse in turn ("thinking", 1.2 s), then the answer types in word by word (60 ms a word) while the cell grows line by line with no jump, then its action row fades in (counts 0). Answers come from AIService (below). If the new AI cell would end under the reply bar, the list scrolls up just enough (0.3 s) to show it whole.
6. Explain this post (the sparkles on any post): a sheet at the medium detent: sparkles + "Explain this post" (17 pt bold), the post quoted small (avatar, name, the first line), then AIService's explanation typing in word by word (15 pt), and an "Ask anything" capsule at the bottom that opens the AI tab.
7. Compose (the plus): a full-screen sheet: "Cancel" (17 pt #0F1419) left; "Drafts" (#1D9BF0) and the "Post" capsule (#1D9BF0, white bold, 50% while empty) right; Maya's 40 pt avatar + the field "What's happening?" (20 pt, placeholder #536471); above the keyboard "Everyone can reply" with a globe (15 pt #1D9BF0), then the toolbar (photo, camera, sparkles, GIF, list.bullet, mappin, #1D9BF0) with the character ring. Post: the sheet slides down with the typed text still in it, a dark top toast "Your post was sent" (a #0F1419 capsule at 92%, white 15 pt, 1.6 s), and the new post springs in at the top of For you: if the feed isn't at the top it jumps there with no visible scroll (one frame), then the feed moves down by the post's height with a 0.35 s spring and the cell fades in; it shows "now" and zero counts. It also appears first on Maya's profile.
8. Search: a #EFF3F4 "Search" capsule, tabs For You / Trending / News / Sports / Entertainment; "Today's News" (3 stories: bold title, three small avatars, "18 hours ago · Trending · 128K posts") and "Trending in United States" rows (topic bold, "48.2K posts"). Typing filters posts and people live.
9. Notifications: tabs All / Verified / Mentions; rows with a 28 pt icon (heart.fill #F91880, arrow.2.squarepath #00BA7C, person.fill #1D9BF0, the Squawk logo), small avatars, "Priya Shah liked your post" and the post's first line in #536471.
10. Messages: a "Search Direct Messages" capsule; rows (48 pt avatar, bold name, "@handle · 2h", last line #536471). A thread: 22 pt-corner bubbles, mine #1D9BF0 white text, theirs #EFF3F4; a "Start a message" capsule that sends.
11. Profile: banner-maya (120 pt), the 80 pt avatar ringed in white over it, an outlined "Edit profile" capsule, "Maya Chen" + blue badge, "@mayachen", bio "Building apps on weekends. Dog person. SF.", "San Francisco, CA", "mayachen.dev", "Joined March 2019", "412 Following  2,318 Followers", tabs Posts / Replies / Highlights / Articles / Media / Likes.
12. AI tab: the AI avatar 44 pt centred, "Hi Maya. What do you want to know?", four chips ("What's happening today?", "Explain the Max post", "Roast my profile", "Plan my Sunday") and an "Ask anything" composer; my messages in #EFF3F4 bubbles, the AI's answers as plain text typing in word by word.

AI
Services/AIService.swift: protocol AIService { func reply(to post: Post, text: String) async -> String; func explain(_ post: Post) async -> String; func chat(_ text: String) async -> String }. ScriptedAI (the only implementation now) answers from Data/AIScript.swift: each post's aiAnswer for a reply that contains "@ai", its explain line, the four chips' answers; anything else gets "I couldn't verify that one. No reliable source backs it up yet." A remix swaps ScriptedAI for a live model by changing one line in AppEnvironment.

FIXTURES (Data/Fixtures.swift; avatars av-*.jpg)
Accounts: Maya Chen @mayachen (av-maya, blue), Max the Golden @maxthegolden (av-max, blue, 284K followers), Priya Shah @priyabuilds (av-priya, blue), Marcus Cole @marcuscooks (av-marcus, blue), Sofia Reyes @sofiareyes (av-sofia), Kenji Mori @kenjimori (av-kenji), Dev Malhotra @devmalhotra (av-dev), Lena Park @lenapark (av-lena), Omar Haddad @omarhaddad (av-omar), Chloe Hart @chloehart (av-chloe), Ethan Brooks @ethanoutside (av-ethan), Zara Okafor @zaraokafor (av-zara, blue), Night Sky Daily @nightskydaily (av-nightsky), Squawk AI @ai (the code avatar, gold).
For you, in order (counts = replies, reposts, likes, views; AI answer):
1. Max the Golden · 2h: "Max graduated today. Top of his class 🎓" + max-grad (3:2). 2.1K, 8.4K, 96K, 1.2M. Replies: Sofia "the chewed diploma 😭", Kenji "valedictorian of fetch", Zara "Congrats Max!! 🎉". AI: "Nope. No college accepts a student who still eats the homework." Explain: "A dog account posted Max in a graduation cap with a half-chewed diploma. It's a joke: dogs don't graduate, though puppy-school certificates are real."
2. Priya Shah · 3h: "shipped my first iOS app this weekend. 14 downloads, 13 of them are my mom" + feed-desk. 412, 1.9K, 12K, 284K. AI: "App download stats aren't public, so I can't verify. Your mom sounds like a solid early adopter though."
3. Night Sky Daily · 5h: "Northern lights over Iceland last night 🌌" + feed-aurora. 380, 6.2K, 41K, 902K. AI: "Auroras light up Iceland often, but \"last night\" needs a date I don't have."
4. Lena Park · 6h, a poll: "Best way to spend a Sunday?" Long brunch 41%, Hike 23%, Ship a side project 29%, Nap 7%. 96, 120, 1.4K, 88K. AI: "Polls show preferences, not truth. Brunch leads, but I'd ship the project."
5. Marcus Cole · 7h: "14 hours of broth for one bowl of ramen. worth it." + feed-ramen. 233, 1.1K, 18K, 410K. AI: "Yes, tonkotsu really simmers that long. Worth it only if you worship the broth."
6. Dev Malhotra · 8h: "Fun fact: goldfish only have a 3-second memory 🐠" + feed-goldfish, with added context: "Goldfish can remember things for months. Researchers have trained them to respond to sounds, colours and feeding times." source "nationalgeographic.com". 1.3K, 980, 7.7K, 1.1M. AI: "No, it's a myth. Goldfish remember for months, unlike this recycled claim."
7. Kenji Mori · 9h: "He has a whole bed." + feed-cat-box. 520, 4.4K, 63K, 1.6M. AI: "True. Cats treat big beds as optional and tiny boxes as mandatory."
8. Zara Okafor · 10h, quoting post 2: "13 out of 14 is still product-market fit". 88, 640, 9.1K, 190K.
9. Ethan Brooks · 11h: "above the clouds before work" + feed-hike. 61, 340, 5.2K, 120K. AI: "Photo checks out for the ridge above clouds at sunrise. The before-work claim is on the honor system."
10. Omar Haddad · 12h: "best tacos in Austin, no debate" + feed-tacos. 302, 210, 3.8K, 96K. AI: "Can't confirm without a taste test, and \"best\" always starts a fight."
11. Lena Park · 13h: "the city looked unreal tonight" + feed-skyline. 44, 280, 6.6K, 150K. AI: "Yep. Blue hour is nature's filter, and it rarely misses."
12. Sofia Reyes · 14h: "front row energy" + feed-concert. 39, 150, 2.9K, 70K. AI: "Energy yes, front row maybe. Those hands could be anywhere in the crowd."
Following: posts 2, 5, 7, 8 plus Chloe Hart · 1h "monday fuel" + feed-latte (AI: "If Monday fuel means latte art and a croissant, yes, that checks out.") and Ethan Brooks · 4h "new running shoes, who dis" + feed-sneakers.
Stories: "Golden retriever's 'graduation' photo takes over For you" (128K posts), "Northern lights seen across Iceland" (64K), "Weekend builders share their first apps" (21K). Trends: #SundayFunday 48.2K; Max the Golden 128K; Northern Lights 64K; #BuildInPublic 12.6K. Notifications: Priya liked your post; Kenji and 3 others reposted your post; Lena followed you; Zara mentioned you. Messages: Priya "hack night thursday?", Kenji "sent a photo", Marcus "ramen saturday?". Maya's posts: "first commit of the weekend ☕️" (2d), "hot take: the best apps are tiny" (5d).

HOOK (the video's first 3 seconds)
- HOOK MODE: tapping an invisible 80x36 pt hotspot at the top centre (x 161–241, y 64–100 pt), drawn in its own window above every sheet, cover, toast and the keyboard (a tap there closes whatever is open), resets to this state and plays this run through the real reply, toast, AI and like code, identical every time (seconds from the tap): 0.00 Max's post page pushed with no animation, scrolled to the top, his post unliked, any earlier Maya or AI replies removed, the keyboard down, the reply bar in its typed state with "@ai is this true?" (@ai blue) and the blue Reply capsule, fully drawn on the very first frame, and the touch dot landing on Reply; hold 0.40 s; 0.40 tap Reply; 0.45 "Reply sent" slides down; 0.50 Maya's reply opens at the top of the replies; 0.85 the AI cell opens under it with the thinking dots; 1.15 the answer types in at 85 ms a word ("Nope. No college accepts a student who still eats the homework."), the list scrolling up just enough to show the whole cell; 2.55 the dot lands on the heart on the AI's reply; 2.80 tap: it fills pink with the ring burst and 0 rolls to 1; hold.
- The touch dot: 44 pt, black at 35%, a 3 pt white ring, a soft shadow, drawn above everything; it scales in as it lands at each point and lifts (fades out over 0.15 s) right after each tap, so it never rests on a control and never hides the heart's pop and burst.
- What the eye must see: frame 0 fully drawn (no fade-in, no blank photo); Max's photo whole on screen the entire run; rows move with springs and never jump or blink; the heart pops and never blinks; toasts hold ≥1.2 s; flashes ≤0.12 s at ≤35%. Waits use these times, not the app's normal delays. Every image is preloaded and decoded off the main thread at launch; warm up haptics at launch.

LOOK
Text #0F1419; secondary #536471; hairlines #EFF3F4; borders #CFD9DE; blue #1D9BF0 (pressed #1A8CD8); like #F91880; repost #00BA7C; gold #E2B719; grey fill #F7F9F9; white background. SF Pro (15 pt body, bold names, heavy titles). Pressed states darken; haptics on likes, reposts, sends and tab taps.

RULES
- Native SwiftUI, iOS 26 (keep the template's target), iPhone portrait.
- Deterministic fixtures. No backend, login, permissions, analytics or network calls at runtime (images are bundled; the AI is scripted). No persistence: delete the SwiftData starter, no UserDefaults or files.
- Springs under 350 ms, haptics on taps, pressed states.
- Files under 300 lines, big bodies split into subviews, no long chained expressions.

REMIX-READY
Theme/Brand.swift (the name, the logo view, a Copy enum with every word), Theme/Theme.swift (colours, fonts; no colour literals elsewhere), Data/Fixtures.swift, Data/AIScript.swift, Data/DemoScript.swift (HOOK MODE timings). Codable models with String ids: Account, Post (text, media, quote, poll, counts, aiAnswer, explain, context, replies), Poll, Trend, NewsStory, AppNotification, Thread, Message; behind one AppDataSource protocol (FixtureDataSource) feeding @Observable stores (TimelineStore, PostStore, ComposeStore, InboxStore, ProfileStore); views never read Fixtures. Services/AIService.swift as above. Components/: PostCell, ActionBar, LikeButton, MediaView, QuoteCard, PollView, ContextCard, ReplyBar, AIReplyCell, Toast, TouchDot. Features/<Screen>/. README.md under 80 lines: file map; how to rename, recolour, swap the logo, change the accounts and posts, add a post kind (a new case in Post.Kind + one view in Components); how to plug a real model into AIService (a backend route + one Swift file); 3 one-prompt remixes ("Squawk for your company's internal timeline", "Squawk for your running club with a weekly leaderboard", "Squawk for a classroom where the AI is the teaching assistant"). "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 the Home tab icon for 1 s to reset everything to launch (likes, reposts, bookmarks, replies, new posts, the poll, scroll, tab).

BUILD
Theme, Brand, Fixtures, then each screen in small files, a one-line status per screen; launch in the simulator every two or three files. Home with the post cell, like, repost and bookmark first, then the post page with replies, the reply bar, "Reply sent" and @ai replies, then HOOK MODE, then compose, Explain this post, Search, Notifications, Messages, Profile and the AI tab. Fetch squawk-brand.zip and media.zip as soon as the shell runs; check each image exists, never view them. Walk each flow once and fix what breaks; no pixel measuring or debug modes. Deliver the whole app, not a plan.

Twitter clone features

What X Clone includes today, and what you add next. Everything in the template runs on sample data, with no login and no backend, so it works the moment you open it.

  • X Clone's For you feed: Max the Golden in a graduation cap with 96K likes, then Priya Shah's post about her first iOS app and its 14 downloads
  • Max's post page with Maya's reply "@ai is this true?" and Squawk AI's answer under it: "Nope. No college accepts a student who still eats the homework."
  • Dev's goldfish post with an Added context note that goldfish remember things for months, a nationalgeographic.com link and a Rate it button
  • Compose with "this whole app is 2 prompts" typed, Everyone can reply above the toolbar, and the blue Post button

In the template

  • For you and Following

    Two feeds of sample posts with photos, and a blue underline that slides between the tabs.

  • Posts

    Photos that open full screen, quote posts, polls that fill to their percent, and Show more on long posts.

  • Like, repost and bookmark

    The heart pops pink with a burst of dots, and the count rolls up. Repost or quote a post, and bookmark it with a toast.

  • Replies

    A post page with top replies threaded under it, a Post your reply bar and a Reply sent toast.

  • @ai replies

    Reply "@ai is this true?" and Squawk AI answers under your reply, word by word. Explain this post and an AI tab use the same bot. Its answers are written ahead of time.

  • Added context

    A reader note under a post, with its source link and a Rate it button, like X's Community Notes.

  • Compose

    A What's happening box, an Everyone can reply label and a Post button. Your post springs onto the top of For you.

  • Search, notifications and messages

    Today's News and trends, likes and reposts on your posts, and message threads with blue bubbles.

  • Profile

    A banner, a bio, follower counts and tabs for Posts, Replies, Media and Likes.

Add with a prompt

  • Answers from Grok

    Grok answers, and can search the web live to check a claim. One message, 6 minutes.

  • Accounts and a shared feed

    Sign-up, and posts saved in a database, so every phone sees them. One message, 17 minutes.

  • Report, block and a word filter

    The safety tools Apple asks of apps where people post. Built in the same 17-minute message.

  • Photo uploads

    Posting your own photos, resized and stored on a server.

  • Push notifications

    Alerts for replies, likes and new followers.

  • A ranked feed

    For you ordered by what each person likes, instead of newest first.

How to build a Twitter clone with Vibecode

  1. 1

    Remix the template

    Open the X Clone share page and press Remix. Vibecode copies the whole Swift project into your account, so you start from a working app instead of an empty screen. A new account's first remix is free.

  2. 2

    Make it yours by chatting

    Tell the agent what to change, in plain English. For example: "Rename the app to Stride, make it orange, and turn it into the members-only app for our running club." Each change rebuilds the app and runs it in Vibecode's cloud iOS simulator, right in your browser.

  3. 3

    Publish to the App Store

    Click Publish, choose Publish to App Store and sign in with your Apple ID. Vibecode builds, signs and uploads the app to Apple, with no Mac and no Xcode. You need an Apple Developer account ($99/year) and the Plus plan or higher.

The hard parts of a real Twitter clone

Screens are the quick part. These are what take the time once real people use it.

A feed for everyone, not one phone

The template keeps every post on the phone. Close the app, and your new posts are gone.

A real Twitter keeps posts on a server, so everyone sees the same feed. The accounts step below moved posts into a database in one message.

Ranking at X's size is the bigger job. X picks For you by what each person likes, and a big account's post has to reach every follower fast.

Sign-up and deleting an account

Real accounts mean passwords, password resets and handles nobody else has taken.

Apple also requires a way to delete an account inside the app, once people can sign up. The accounts step below added Delete account to the profile.

Source: App Review Guideline 5.1.1(v)

Take it from template to real app

We sent each prompt to its own fresh remix of the template.

  1. 1

    Make it your club's own app

    One message turned a fresh remix into Stride, a San Francisco running club's app. It took 10 minutes and $5.17 of credits.

    We picked Claude Opus 5.5 for every message we ran. You pick the model for each message, so your minutes and credits may differ.

    The agent renamed it, drew a shoe logo with a wing, and turned the blue orange. It added 12 club members and 12 running posts, with 8 new images for 43 cents.

    Five posts got a run card with the distance, time and pace. A new Leaderboard tab ranks this week's miles, and @ai now answers as Coach.

    Prompt

    Turn Squawk into Stride, the members-only app of the Dolores Run Club in San Francisco. Rename it to Stride everywhere, the name in Brand and every word in Copy. Draw a new logo in code, a simple running shoe with a small wing, and use it for the app icon too. Change the blue (#1D9BF0) to orange (#FC5200) everywhere: links, the tab underline, the compose button, badges, toasts and the Reply and Post buttons. Keep likes pink and reposts green. Replace the accounts and posts with 12 club members and 12 posts about running: a Saturday long run at sunrise, a track workout, a race finish, a poll on Sunday's route, lost keys at the park, coffee after the run. Make a new photo for each photo post with image generation. Keep Maya Chen as the user. Add a run post kind (Post.Kind.run): a card with the distance, time and pace, like "10.2 mi · 1:24:05 · 8:15 /mi", and a thin orange route line. Give 5 posts a run card. Add a Leaderboard tab in place of Search: this week's miles for each member, ranked, with their avatar, a bar and a crown on #1. Maya is #4 with 18.6 mi. Squawk AI becomes Coach, still answering replies that tag @ai. Rewrite the @ai answers and Explain lines for the new posts in a coach's voice, and make the AI tab's chips running questions. Move HOOK MODE onto the new posts with the same steps and timings: the "@ai is this true?" reply goes to the Saturday long run. Keep every other screen and animation.

    Stride's new Leaderboard tab after one message: 190.2 club miles this week, Imani Brooks at #1 with a crown, and Maya at #4 with 18.6 mi
    Stride's new Leaderboard tab after one message: 190.2 club miles this week, Imani Brooks at #1 with a crown, and Maya at #4 with 18.6 mi
  2. 2

    Make @ai answer with Grok

    One message connected Squawk AI to Grok 4.7 with live web search, in place of its written answers. It took 6 minutes and $3.39 of credits.

    The key stays on the backend, so it never ships inside the app. The message also pointed Explain this post and the AI tab at Grok.

    We replied "@ai is this true?" to the goldfish post. About 12 seconds later, Grok's answer typed in under our reply.

    It said "False. Goldfish can remember trained tasks for months, not three seconds. They would outlast that myth by a long swim." Each answer cost 4 to 6 cents of credits in our tests.

    The demo mode still plays its written answers, so a recording looks the same every time.

    Prompt

    Make Squawk AI answer for real with Grok 4.7, the way the README's "Plug in a real model" says. Add a backend route POST /api/ai/reply that calls Grok 4.7 with live web search, so it can check a claim against today's news. Keep the key on the backend, never in the app. Add Services/LiveAI.swift and switch AppEnvironment to it. When a reply contains "@ai", send the post (the author, the text, a short description of its photo and any added context) and the reply. Squawk AI answers in 1 to 3 short sentences: it says whether the claim is true, false or can't be checked, gives one fact, and adds a little humor. Explain this post and the AI tab use the same model. Keep the thinking dots and the word-by-word typing. If a call fails, Squawk AI says "I couldn't check that right now. Try again in a minute." Keep the scripted answers for HOOK MODE only, so the demo plays the same every time. Test it in the simulator: reply "@ai is this true?" to Dev's goldfish post and to Max's graduation post.

    The goldfish post with Maya's reply "@ai is this true?" and Grok's answer as Squawk AI: "False. Goldfish can remember trained tasks for months, not three seconds. They would outlast that myth by a long swim."
    The goldfish post with Maya's reply "@ai is this true?" and Grok's answer as Squawk AI: "False. Goldfish can remember trained tasks for months, not three seconds. They would outlast that myth by a long swim."
  3. 3

    Add real accounts, report and block

    One message added email sign-up, a shared database, report, block and a word filter through Vibecode Cloud. It took 17 minutes and $10.35 of credits.

    People sign up with email, then pick a name, a @handle and an avatar. Posts, replies, likes, reposts and follows are saved in the database.

    The agent tested it with two accounts. Ana posted, and her post showed up in Ben's For you. Ben blocked Ana, and her post disappeared.

    Every post's menu now has Report post and Block. The word filter refused a post with a blocked word, and the profile got Delete account.

    Other phones see the same feed once you deploy the backend and ship the new app version.

    Prompt

    Add Vibecode Cloud and make Squawk a real social app. People sign up and sign in with email and a password, then pick a name, a @handle and one of the sample avatars. Save posts, replies, likes, reposts and follows in the database through a new AppDataSource beside FixtureDataSource, so a post shows up on every phone. Seed the database with the sample accounts and posts, so the feed isn't empty. For you shows everyone's posts, newest first, 20 at a time as you scroll. Following shows only the people you follow, and the Follow button on a profile works. Add the moderation Apple asks of apps where people post: Report post and Block @handle in each post's ellipsis menu. A report saves the post, the reason and who sent it. Blocking hides that account's posts and replies from you. A word filter stops a post or reply that contains a word from a blocked-words list. Add Delete account to the profile, which deletes the account and its posts. Keep HOOK MODE on the sample data. Test it in the simulator with two accounts: post from one, see it in the other's For you, then block that account and see the post disappear.

    Ben's For you, loaded from the database, with a post's menu open: Not interested in this post, Report post, and Block @maxthegolden in red
    Ben's For you, loaded from the database, with a post's menu open: Not interested in this post, Report post, and Block @maxthegolden in red

What a Twitter clone costs

Our template is $0 to remix on a new account. The three changes above cost $3.39 to $10.35 of credits each.

Clone scripts sell you ready-made code with an admin panel. Oyelabs' Twitter clone starts at $2,599, with web, iPhone and Android apps.

Miracuves sells one for $3,699, with a web app and Flutter phone apps. Both say they launch it for you in about a week.

An agency builds to order. RaftLabs puts a first version of a text app like X at $15,000 to $30,000, in 12 to 16 weeks.

Ours is a native iPhone app on sample posts. Start here to see your app running before you pay for the rest.

Buy a script if you want a website, an admin panel and Android on day one. Hire an agency if you need every part built to order.

We checked each price below on the company's own page on November 30, 2026.

Ways to get a Twitter clone, by cost and what you get
OptionUpfront costWhat you ownFirst versionStill on you
Clone scriptFrom $2,599 at Oyelabs, with web, iPhone and Android apps. $3,699 one time at Miracuves, with Flutter phone apps.The source codeOyelabs says live within a week. Miracuves says six working days.Hosting, store accounts and changes once support ends (2 months at Oyelabs)
Development agency$15,000 to $30,000 for a first version of a text app like X. $30,000 to $50,000 for the full platform (RaftLabs).What your contract says12 to 16 weeks for a first version (RaftLabs)Servers, and full moderation, which RaftLabs prices at $6,000 to $12,000 more
Open source on GitHub$0The code, under each project's licenseYours to set up and host. 6 of the 8 most-starred are web apps.A server, a database, the phone app and every change
Vibecode templateThis template$0 to remix on a new account. Plans from $20 a month.The app and its code. Download it on Pro ($50 a month).About a minute to remix. 10 minutes for our running club's app.Real accounts, moderation, publishing and an Apple Developer account ($99 a year). The accounts step above starts the first two.

Sources: Oyelabs Twitter clone script and priceMiracuves Twitter clone and priceRaftLabs: cost to build an app like XGitHub's twitter-clone topic, by starsVibecode pricingVibecode terms (who owns your app)

Frequently asked questions

Is it legal to build a Twitter clone?

Yes. A feed, likes, reposts and replies are patterns lots of apps use, like Threads and Bluesky.

Use your own name and logo. Our template already does: inside, it's called Squawk, with its own speech-bubble logo.

Can I publish a Twitter clone to the App Store?

Yes, as your own app, like a club's microblog.

Apple's rule 1.2 asks for a filter, report, block, contact details and quick answers to reports. Rule 5.1.1(v) adds Delete account once people sign up. The accounts step built the tools. The answers and contact details are on you.

On Plus and up, Vibecode submits it with your Apple Developer account.

Sources: App Review Guideline 1.2App Review Guideline 5.1.1(v)How to publish to the App Store with Vibecode

Does the Twitter clone work on Android?

No. X Clone is a native iPhone app written in Swift, so it runs on iPhone only.

For Android, start a new app in Vibecode and choose Legacy, then Mobile app (Legacy). It builds React Native apps for iPhone and Android. Paste the prompt from this page there and ask for React Native instead of SwiftUI.

You submit the Android app to Google Play yourself.

Can I add a real backend to the Twitter clone?

Yes. X Clone runs on sample data, so it works the moment you remix it.

When you need real users, Vibecode Cloud adds a database, sign-in and file storage with one prompt. That's enough for accounts, posts, replies, likes, follows and photos. It's on the Plus plan and up.

You can also connect Supabase, Firebase or your own API.

Can my Twitter clone show real X posts?

Not as a copy of X. X's developer agreement bans using its API to build "a substitute or similar service" to X. Its terms ban scraping too.

So fill your feed with your own members' posts. The accounts step above added sign-up and a shared feed in one message.

Sources: X developer agreement, section III.AX terms of service

How long does it take to make an app like Twitter?

Remixing this template gives you a working Twitter clone in about a minute. Our running club version took one message and 10 minutes.

Real accounts with report and block took 17 minutes. Grok answers took 6.

A launch takes longer: real people, moderation and App Review. RaftLabs, an agency, puts a first version at 12 to 16 weeks.

Sources: RaftLabs: cost to build an app like XCan I vibe code X? Our verdict

Is there a Twitter clone on GitHub?

Yes, 484 public projects under GitHub's twitter-clone topic. The most-starred is a Flutter app with about 4,200 stars.

Six of the top eight are web apps you host yourself, and the one SwiftUI app is archived.

Remix ours for $0 on a new account. It runs in your browser in about a minute, and Pro plans can download its code.

Sources: GitHub's twitter-clone topic, by starsVibecode pricing

Can I make a Twitter clone website instead?

Yes. Vibecode builds web apps too. Start a new web app and describe your microblog, or paste the prompt above and ask for a web app instead of SwiftUI.

Web apps deploy to a public yourapp.vibecode.run URL or your own domain.

Is the X Clone template free?

A new account's first remix is free. It counts as that account's free first build. You get your own copy of the Swift project, with 2 free minutes in the simulator.

After that, remixing and running an app need credits. Every change you ask the agent for uses credits too.

Publishing to the App Store needs a paid plan (Plus and up) and an Apple Developer account ($99/year). Downloading the source code is on the Pro and Max plans. See the pricing page for current plans.

Browse all app templates. Most are native Swift apps made with Vibecode's iOS app builder.

Have an idea of your own? The free Can I vibe code it? checker tells you what it takes and writes your first prompt.

Then build it with our free AI app builder. Your first app build is $0 on a new account.

Choosing a builder? Read the best AI mobile app builders guide or compare Vibecode with other app builders.

Want a social app of your own instead of a copy? How to create a social media app follows a real build from the first prompt to sign-up, report and block.

About the editorial team

Vishal Dubey

Product Engineer at Vibecode

Vishal is a product engineer at Vibecode. Before Vibecode he did product engineering at EarnIn and co-founded Ivella (YC S21), a banking app for couples. He studied computer science at Duke.

Ansh Nanda

Co-founder and CEO of Vibecode

Ansh is the co-founder and CEO of Vibecode. Before Vibecode he was employee #7 at Bluesky and helped grow it to 3 million users. He studied computer science at Duke.

Start from a working Twitter clone

Remix X Clone, then change it by chatting. A new account's first remix is free.

Remix this template