Skip to main content
Welcome to the Mobula Cookbooks! These guides provide production-ready code extracted from our open-source projects, complete with live demos and full source code.
Open Source Terminal: All cookbook examples are extracted from the Mobula Trader Terminal (MTT) - a fully open-source trading terminal built with Next.js 16.Live Demo: See everything in action at mtt.gg

What Makes Cookbooks Different?

Regular GuidesCookbooks
Conceptual explanationsProduction-ready code
Minimal examplesFull implementations
API-focusedFrontend + Backend
Standalone snippetsWorking applications

Available Cookbooks


Tech Stack

All cookbooks use the same modern stack:
TechnologyPurpose
Next.js 15React framework with App Router
@mobula/sdkMobula API client with WebSocket support
ZustandLightweight state management
TailwindCSSUtility-first styling
TypeScriptType safety

Quick Start

Clone the MTT repository and start exploring:
# Clone the MTT repository
git clone https://github.com/MobulaFi/MTT.git
cd MTT

# Install dependencies
bun install

# Set up environment
echo "NEXT_PUBLIC_MOBULA_API_KEY=your_api_key" > .env.local

# Start development server
bun dev
Then open http://localhost:3000 to see the terminal.

Project Structure

MTT/
├── src/
│   ├── app/                    # Next.js pages
│   │   ├── page.tsx           # Pulse feed (homepage)
│   │   ├── token/[blockchain]/[address]/
│   │   └── pair/[blockchain]/[address]/
│   ├── features/
│   │   ├── pulse/             # Pulse feature (cookbook 1)
│   │   ├── token/             # Token pages
│   │   └── pair/              # Pair pages
│   ├── components/
│   │   └── charts/            # TradingView (cookbook 2)
│   ├── hooks/                 # Reusable hooks
│   ├── store/                 # Zustand stores
│   └── lib/
│       └── mobulaClient.ts    # SDK initialization

Get Your API Key

Create Free API Key

Sign up and get instant access to all Mobula APIs

Need Help?