Skip to content

Dappit-io/dappit-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Dappit Mobile β€” Vibe Code from Your Phone

The first mobile Web3 vibe coding platform. Describe an app β†’ AI builds it β†’ Preview it live β†’ Ship it. All from your Android phone.

Dappit Logo


πŸš€ What is Dappit Mobile?

Dappit Mobile brings the power of AI-assisted web development to your phone. Built on Solana Mobile Stack, it combines:

  • AI App Builder β€” Describe any app in plain English. Dappit's AI (Claude) generates a complete HTML/CSS/JS app in ~5 seconds, rendered live in a WebView
  • Iterative Vibe Coding β€” Don't like it? Type "make it darker" or "add a navbar" and watch it regenerate
  • Solana Wallet β€” Full Mobile Wallet Adapter (MWA) integration with Phantom/Solflare
  • Token Launcher β€” Create and launch tokens on Solana directly from your phone
  • AI Chat β€” Conversational AI assistant for Web3 development questions

✨ Hero Feature: App Builder

You type:  "Build a crypto portfolio dashboard with live prices"
AI builds: Complete HTML/CSS/JS app with charts, gradients, dark mode
You see:   Live preview in WebView, running on your phone
You say:   "Add a sidebar with wallet balances"  
AI iterates: Updated app with your changes, instantly

The App Builder uses Dappit's cloud AI backend (dappit.io/api/llmcall) with Claude Haiku for fast generation (~5-10s), streamed via XMLHttpRequest for React Native compatibility.

🎬 Demo

Watch Demo Video
β–Ά Watch Demo Video

πŸ“± Screenshots

Dappit Mobile Screenshots

πŸ—οΈ Architecture

Dappit Architecture

πŸ›  Tech Stack

Technology Purpose
React Native (0.76) + Expo (SDK 52) Cross-platform mobile framework
Solana web3.js Blockchain transactions & RPC
Mobile Wallet Adapter (MWA v2) Phantom/Solflare wallet integration
React Native Paper (Material Design 3) Premium UI components
WebView Live HTML/CSS/JS preview
AsyncStorage Local project persistence
Dappit Cloud API AI code generation (Claude Haiku)
TypeScript Type-safe development

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • Android device with USB debugging enabled
  • JDK 17 + Android SDK 34
  • Phantom or Solflare wallet app installed on device

Development

# Clone
git clone https://github.com/Achilles1089/dappit-mobile.git
cd dappit-mobile

# Install dependencies
npm install

# Generate native project
npx expo prebuild --platform android

# Build and install on device
npx expo run:android --device

# Start Metro dev server
npx expo start --dev-client

Release APK

# Build standalone release APK (no dev server needed)
npx expo prebuild --platform android --clean --no-install
cd android && ./gradlew :app:assembleRelease
# APK at: android/app/build/outputs/apk/release/app-release.apk

Key Files

src/
β”œβ”€β”€ screens/
β”‚   β”œβ”€β”€ BuilderScreen.tsx      # AI App Builder (hero feature)
β”‚   β”œβ”€β”€ AIChatScreen.tsx       # AI Chat assistant
β”‚   β”œβ”€β”€ DashboardScreen.tsx    # Home dashboard
β”‚   β”œβ”€β”€ WalletScreen.tsx       # Solana wallet (MWA)
β”‚   β”œβ”€β”€ TokenLauncherScreen.tsx # Token creation
β”‚   └── LoginScreen.tsx        # Auth flow
β”œβ”€β”€ components/
β”‚   └── DappitIcon.tsx         # Brand icon system
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ ai.ts                  # AI API client (XHR)
β”‚   β”œβ”€β”€ api.ts                 # Axios config
β”‚   └── token.ts               # Token/points service
β”œβ”€β”€ theme/
β”‚   └── colors.ts              # Brand color system
└── utils/
    β”œβ”€β”€ useMobileWallet.tsx    # MWA hook
    └── useAuthorization.tsx   # Auth state

🎯 Challenges Solved

  1. React Native + Cloudflare β€” fetch() (OkHttp) fails against Cloudflare Workers. Solved with XMLHttpRequest for full streaming compatibility
  2. Model Registry β€” Mobile client needed exact model names from deployed API registry to hit the correct AI endpoint
  3. Streaming vs Timeout β€” Claude Haiku fast enough (~5s) to avoid Cloudflare's 60s gateway timeout, no chunked streaming needed
  4. SVG in React Native β€” Custom brand icons via react-native-svg instead of emoji characters for consistent cross-device rendering
  5. AAPT2 Resource Conflicts β€” 3D PNG assets caused duplicate resource compilation errors in release builds. Solved by switching to MaterialCommunityIcons fallbacks
  6. Standalone APK β€” Built release APK directly with Gradle (assembleRelease) to bypass EAS CLI login requirements

πŸ“₯ Download

Get the latest release APK and demo video:

Download v1.0.0 β†’


Built with πŸ”₯ by Dappit β€” The First Web3 Vibe Coding Platform

About

πŸ“± Dappit Mobile β€” The first mobile Web3 vibe coding platform. Describe an app β†’ AI builds it β†’ Preview live β†’ Ship it. Built with React Native, Expo SDK 52, and Solana Mobile Stack.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors