vibra-code

作者 sa4hnd已验证

Open-Source AI App Builder for Mobile — Build apps with AI like vibecodeapp, rork, lovable & bolt.new but fully open source. Describe what you want → AI builds it → Preview on your phone. Built with Claude Code, Expo, React Native, Convex, E2B.

120
Stars
38
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/sa4hnd/vibra-code

快速入门

使用 vibra-code 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md


Vibra Code

Vibra Code

Open-Source AI App Builder for Mobile

Describe what you want → AI builds it → Preview it natively on your phone


App Store   Website   X



GitHub stars License Built with Claude Code


SPONSORED BY E2B FOR STARTUPS

E2B sponsored $20K in cloud sandbox credits through their Startups program.


Build Things You Imagine



Demos

Mobile App

https://github.com/user-attachments/assets/f72fcbf0-091a-4cc1-a453-fed062f52bdf

Website

https://github.com/user-attachments/assets/5610f5e1-d146-4634-b616-301560e230f0

Game Built with Vibra Code

https://github.com/user-attachments/assets/0d5a79ef-f69a-452b-a25a-9e149de6e05a


What is Vibra Code?

Vibra Code is an open-source AI app builder that lets you create mobile apps by describing them in plain English. The backend runs Claude Code (Anthropic's AI coding CLI) inside an E2B cloud sandbox to generate complete apps while you watch in real time. Then you see a live preview — right on your phone.

Think of it as an open-source alternative to Vibe Code App, Rork, Lovable, and Bolt.new — but you can self-host it, customize the AI prompts, swap AI providers, and fork it to make it your own.

This is the complete source code behind the app on the App Store. Built by one developer with Claude Code. Now open source.


Why Open Source?

Every other AI app builder is closed-source. You can't see how it works, can't customize it, can't self-host it.

Vibra CodeVibe Code AppRorkLovableBolt.new
Open sourceYesNoNoNoNo
Self-hostableYesNoNoNoNo
Custom AI promptsYesNoNoNoNo
Swap AI providersYesNoNoNoNo
Fork & modifyYesNoNoNoNo

Looking for an open-source vibe coding app? This is it. Fork it, self-host it, make it yours.


Features

60fps native chat UI built with Texture + IGListKit. Off-main-thread rendering. No jank.

Multi-AI providers -- Claude (default), Cursor, Gemini. Switch with one env var.

E2B cloud sandboxes for isolated, safe code execution.

Real-time sync via Convex. Changes stream from sandbox to phone instantly.

Voice & image input -- describe apps by voice or attach mockup screenshots.

GitHub integration -- push generated projects directly to GitHub.

Web + mobile preview -- preview both web and mobile apps.

Built on Expo -- modified Expo Go gives you full native control.


Architecture

  Phone                     Server                        Cloud
┌──────────┐   API    ┌──────────────┐   Queue    ┌──────────────┐
│  Expo    │ ──────── │   Next.js    │ ────────── │  E2B Sandbox │
│  iOS App │          │   + Convex   │   Inngest  │  + AI Agent  │
└────┬─────┘          └──────┬───────┘            └──────┬───────┘
     │                       │                           │
     └───── real-time sync ──┴─── code generation ───────┘
  1. User describes an app on their phone
  2. Backend creates a session in Convex
  3. Inngest spawns an E2B sandbox
  4. AI agent generates code in the sandbox
  5. Updates stream via Convex back to the phone
  6. Phone shows a live preview via tunnel URL

Quick Start

Prerequisites

RequiredPurpose
ANTHROPIC_API_KEYAI code generation (Claude)
E2B_API_KEYCloud sandboxes (sign up)
Clerk publishable + secret keysAuthentication (sign up)
Convex deployment URLReal-time database (sign up)

Stripe and RevenueCat keys are optional -- only needed if you want payments.

1. Backend

cd vibracode-backend
npm install
cp .env.example .env.local    # then add your API keys

npx convex deploy              # deploy database
npx inngest-cli@latest dev     # job server → localhost:8288
npm run dev                    # Next.js → localhost:3000

2. Build the E2B Sandbox Template

npm install -g @e2b/cli && e2b auth login
cd vibracode-backend/e2b-cursor-template
e2b template build
# Copy the template ID → set it in config.ts and lib/e2b/config.ts

3. Mobile App (macOS required)

git clone --recurse-submodules https://github.com/sa4hnd/vibra-code.git
cd vibra-code/vibracode-mobile

brew bundle                                                # cmake, ninja for Hermes
yarn                                                       # JS dependencies
yarn setup:native                                          # native setup
cd packages/expo && yarn build && cd ../..                 # build Expo
cd react-native-lab/react-native && yarn install && cd ../..   # RN from source
cd apps/expo-go/ios && pod install && cd ../../..          # CocoaPods
cd apps/expo-go && yarn start                              # Metro (must be port 80)

Then in Xcode:

  1. Open apps/expo-go/ios/Exponent.xcworkspace
  2. Set DEV_KERNEL_SOURCELOCAL in EXBuildConstants.plist
  3. Build and run
Troubleshooting
ProblemFix
SHA-1 / symlink errorsrm -rf ./react-native-lab/react-native/node_modules
C++ build errorsfind . -name ".cxx" -type d -prune -exec rm -rf '{}' +
Everything brokengit submodule foreach --recursive git clean -xfd then re-run setup

Project Structure

vibra-code/
├── vibracode-backend/            # Next.js 15 + Convex + Inngest
│   ├── app/api/                  # API routes
│   ├── convex/                   # Database schema & functions
│   ├── lib/inngest/functions/    # Background jobs
│   ├── lib/e2b/                  # Sandbox configuration
│   └── e2b-cursor-template/      # E2B Dockerfile
│
├── vibracode-mobile/             # React Native / Expo
│   └── apps/expo-go/
│       ├── src/screens/          # App screens
│       ├── src/services/         # Business logic
│       └── ios/Client/Menu/      # Native chat UI (Texture + IGListKit)
│
├── expo-template/                # Sandbox app template (submodule)
└── CLAUDE.md                     # AI dev guidelines

Tech Stack

LayerTechnology
APINext.js 15 (App Router)
DatabaseConvex (real-time)
JobsInngest
SandboxesE2B
AIClaude Code CLI / Cursor / Gemini
AuthClerk
PaymentsStripe + RevenueCat (optional)
MobileReact Native / Expo SDK 54
Chat UITexture + IGListKit (60fps)

Native iOS Chat System (ios/Client/Menu/)

The heart of the mobile app is a high-performance native chat UI built with Texture (AsyncDisplayKit) + IGListKit for 60fps scrolling. This is where users interact with the AI agent.

Core Files

FilePurpose
EXPreviewZoomManager.h/mMain singleton — coordinates zoom, chat, bars, and the entire preview experience
EXPreviewZoomManager+Zoom.mZoom in/out animations (3D transform with perspective)
EXPreviewZoomManager+ChatView.mChat UI, message rendering, session loading from Convex
EXPreviewZoomManager+TopBar.mTop bar — app name, refresh button, chevron, three-dots menu
EXPreviewZoomManager+BottomBar.mBottom bar — text input, send, mic (voice), image attach, model selector
EXPreviewZoomManager+Keyboard.mKeyboard show/hide handling and layout constraints
EXPreviewZoomManager+Gestures.mTap gestures for zoom/chat toggle
EXPreviewZoomManager+WebPreview.mWeb project preview (WKWebView for non-mobile projects)

Chat Components (Chat/)

FilePurpose
EXChatListAdapter.h/mIGListKit + Texture adapter — O(N) diffing for efficient list updates
EXChatMessageNode.h/mASCellNode for user/assistant text messages with markdown
EXChatGroupNode.h/mASCellNode for tool operations — file reads (blue), edits (orange), bash (green)
EXChatTaskCardNode.h/mASCellNode for todo task cards with Liquid Glass effect
EXChatStatusNode.h/m"Working..." status indicator with shimmer animation
EXChatMessageCache.h/mMessage caching for offline support
EXLottieAnimationHelper.swiftCell animations (springIn, fadeIn, shimmer, glass effects)
EXMarkdownHelper.swiftMarkdown parsing (bold, italic, code blocks, links)

Services

FilePurpose
EXChatBackendService.h/mAPI calls to Convex backend — send messages, load sessions
EXAudioRecorderService.h/mVoice recording for voice input
EXAssemblyAIService.h/mSpeech-to-text transcription
EXWebPreviewView.h/mWKWebView wrapper for web project previews

Modals

FilePurpose
+APIModal.mAI provider selector (Claude, Cursor, Gemini)
+FilesModal.mFile browser — browse generated project files
+LogsModal.mLive logs viewer from the sandbox
+PublishModal.mPublish to GitHub / share project
+HapticModal.mHaptic feedback settings
+ENVModal.mEnvironment variables editor

Message Types

The chat renders different node types based on the message content from Convex:

TypeNodeVisual
messageEXChatMessageNodeUser/assistant text with markdown
readEXChatGroupNodeFile read operations (blue accent)
editEXChatGroupNodeFile edit operations (orange accent)
bashEXChatGroupNodeTerminal commands (green accent)
tasksEXChatTaskCardNodeTodo list with Liquid Glass
statusEXChatStatusNodeWorking indicator with shimmer

Built with Claude Code

This entire project — backend, mobile app, native iOS UI, infrastructure — was built by one developer using Claude Code.

If you're working on this codebase, Claude Code gives you the best experience. The CLAUDE.md has detailed context about every file, pattern, and convention.

Vibra Code vs Alternatives

Looking for an AI app builder? Here's how Vibra Code compares:

  • Vibe Code App alternative — Vibra Code is the open-source version you can self-host and customize
  • Rork alternative — Same concept (describe → AI builds → preview on phone) but fully open source
  • Lovable alternative — Lovable focuses on web apps; Vibra Code builds native mobile apps with Expo
  • Bolt.new alternative — Bolt.new runs in the browser; Vibra Code gives you a native iOS/Android experience
  • Cursor alternative — Cursor is an AI code editor; Vibra Code is an AI app builder that generates complete apps from descriptions
  • Replit alternative — Replit is a cloud IDE; Vibra Code is purpose-built for mobile app generation with native preview

Vibra Code is the first open-source AI mobile app builder. Fork it, self-host it, make it yours.

Contributing

PRs welcome. See CONTRIBUTING.md.

License

AGPL-3.0 © 2024-2026 Vibra Code contributors.


Built by Sehind Hemzani — 19 y/o developer from Kurdistan


 



If this project is useful, please give it a star — it helps others find it.

Star this repo

常见问题

What is vibra-code?

vibra-code is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by sa4hnd. Open-Source AI App Builder for Mobile — Build apps with AI like vibecodeapp, rork, lovable & bolt.new but fully open source. Describe what you want → AI builds it → Preview on your phone. Built with Claude Code, Expo, React Native, Convex, E2B. It has 120 GitHub stars.

Is vibra-code safe to use?

Yes. vibra-code passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install vibra-code?

Clone the repository with "git clone https://github.com/sa4hnd/vibra-code" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is vibra-code written in?

vibra-code is primarily written in TypeScript. It is open-source under sa4hnd on GitHub, so you can review or fork the full source.

Are there alternatives to vibra-code?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh vibra-code against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情