an independent, fully-featured Twitter/X clone built with Bun. badly vibe-coded.
warning: this is still very much a work in progress. there's still a lot of vibe-coded code, xss vulnerabilities, and scaling issues to be fixed.
- install bun
- clone the repo
bun install- create the following directories:
.data,.data/uploads,.data/extensions - fill in your API credentials in
.env bun dev
- admin panel
- user profiles
- tweets
- replies
- media attachments
- interactive cards
- scheduled tweets
- favorites
- search
- notifications
- direct messages
- reactions
- bookmarks
- communities
- tweet notifications
- DMs
- AI bot
- GIF picker with Tenor
- scheduling tweets
- delegates (wip)
- passkeys
- extensions
- captcha for registration
- and more.
- news in the search tab, provided by wikipedia
- editing tweets
- replying to dms
- reacting to dms
- push notifications
- user account creation location transparency report, powered by a VPN detection list and cloudflare headers
- barely decent antibot and ratelimit+challenge system
- translating tweets
- gray checks
<link rel="stylesheet" href="<your instance>/embed/share.css" />
<a
class="tweetapus-share-button"
href="<your instance>/?compose=Hello%20world"
target="_blank"
>
Tweet
</a>you can also set size using data-size="large":
<link rel="stylesheet" href="<your instance>/embed/share.css" />
<a
class="tweetapus-share-button"
href="<your instance>/?compose=Hello%20world"
data-size="large"
target="_blank"
>
Tweet
</a>