🤖 AI Nostr Framework

    MKStack

    The Complete Framework for Building Nostr Clients with AI

    Build powerful Nostr applications with AI-first development. From social feeds to private messaging, MKStack provides everything you need to create decentralized apps on the Nostr protocol.

    Nostr Protocol
    AI-First Development
    Open Source

    Build Your Nostr App in 3 Steps

    From idea to deployment in minutes

    1
    Build in Minutes
    Create full Nostr apps with just one prompt
    2
    Edit with Dork AI
    Refine and add features with AI assistance
    3
    Deploy Instantly
    One Nostr-native command deployment
    Ready to start building?
    $ npm install -g @getstacks/stacks
    $ stacks mkstack

    Step 1: Build in Minutes, Not Months

    See the power of AI-driven development with MKStack. Each of these applications was built with just one prompt. After you get an working demo from the first prompt, refine and build new features with the built-in Stacks agent.

    50+
    NIPs Supported
    8 Minutes
    Avg. Build Time
    AI-First
    Development
    Group Chat Application Demo

    Group Chat Application

    The Prompt:

    $ dork
    "Build me a group chat application"
    Decentralized Book Review Site Demo

    Decentralized Goodreads

    The Prompt:

    $ dork
    "Build a decentralized goodreads alternative. Use OpenLibrary API for book data."
    Chess Game Demo

    Chess Game

    The Prompt:

    $ dork
    "Build a chess game with NIP 64"

    Step 2: Edit with Dork, Built-in AI Agent

    Once you have your initial app, use Dork to refine and add features. Dork understands your codebase and Nostr protocols to make intelligent changes.

    How Dork Works

    Context-Aware AI

    Dork understands your entire codebase, project structure, and the Nostr protocols you're using.

    Nostr Protocol Expert

    Built-in knowledge of 50+ NIPs and best practices for Nostr development.

    Instant Implementation

    Makes changes directly to your code, following React and TypeScript best practices.

    Getting Started with Dork

    Run Dork in your MKStack project:
    $ stacks agent
    Then describe what you want to add or change:
    "Add user profiles with avatars and bio"
    "Implement NIP-17 private messaging"
    "Add a dark mode toggle"

    Refining Your App

    Dork can help you iterate on your app by adding new features, fixing bugs, improving UI/UX, implementing additional NIPs, and optimizing performance. Just describe what you want in natural language.

    Stacks Supported Providers

    For all providers, first run stacks configure and choose "AI Provider"

    OpenRouter

    https://openrouter.ai/

    1.Select "OpenRouter"
    2.Enter your OpenRouter API key from https://openrouter.ai/settings/keys
    3.Leave the default URL and press Enter

    Routstr

    https://www.routstr.com/

    1.Select "OpenRouter"
    2.Mint a Cashu token with at least 3000 sats using a wallet such as https://cashu.me
    3.Paste the Cashu token into the "API key" form and press Enter
    4.Enter https://api.routstr.com or any other Routstr server URL and press Enter

    PayPerQ

    https://ppq.ai/

    1.Select "OpenAI-compatible"
    2.Enter your PayPerQ API key from https://ppq.ai/api-docs
    3.Enter https://api.ppq.ai as the URL and press Enter

    Step 3: Deploy

    Deploy your Nostr app instantly with built-in NostrDeploy.com integration. Your app goes live in seconds with just one command.

    Built-in Deployment

    MKStack comes with pre-configured NostrDeploy.com deployment. No complex setup, no server management, no configuration files. Just run one command and your app is live on the web.

    Terminal
    $ npm run deploy
    Building for production...
    ✓ Built in 2.3s
    Deploying to NostrDeploy.com...
    ✓ Uploaded 15 files
    🚀 Success! Published to:
    https://mkstack-demo.nostrdeploy.com

    Nostr Apps Built with MK Stack

    Real Nostr applications built using MKStack and AI-first development.

    Chorus - Facebook-style groups on Nostr

    Chorus

    Communities

    Facebook-style groups on Nostr with built-in eCash wallet for cross-border fundraising. Designed for activists and community organizers.

    Nostr GroupsVisit Platform
    Blobbi - Creative platform for digital art

    Blobbi

    Games

    Adopt and care for your own unique digital companion that lives forever on the decentralized web. Each Nostr account can have one special Blobbi pet!

    Virtual PetVisit Platform
    Discover HiddenTreasures

    Treasures

    Social

    Join the decentralized geocaching adventure powered by Nostr. Hide caches, find treasures, and connect with explorers worldwide. Join the quest!

    What People Are Saying About MKStack

    See what developers and creators are sharing about their experience building with MKStack.

    No MKStack posts found. Try another relay?

    Comprehensive Nostr Protocol Support

    MKStack implements 50+ NIPs (Nostr Implementation Possibilities) covering everything from basic messaging to advanced features.

    Social Features

    • User profiles (NIP-01)
    • Follow lists (NIP-02)
    • Reactions (NIP-25)
    • Reposts (NIP-18)

    Messaging

    • Private DMs (NIP-17)
    • Public chat (NIP-28)
    • Group chat (NIP-29)
    • Encryption (NIP-44)

    Payments

    • Lightning zaps (NIP-57)
    • Cashu wallets (NIP-60)
    • Nutzaps (NIP-61)
    • Wallet connect (NIP-47)

    Content

    • Long-form (NIP-23)
    • File metadata (NIP-94)
    • Live events (NIP-53)
    • Calendars (NIP-52)

    Built-in Components & Hooks

    Authentication

    • • LoginArea component
    • • useCurrentUser hook
    • • Account switching
    • • NIP-07 browser signing
    • • Key management

    Data & Publishing

    • • useNostr hook
    • • useNostrPublish hook
    • • useAuthor hook
    • • Event validation
    • • Relay management

    Media & UI

    • • useUploadFile hook
    • • NoteContent component
    • • EditProfileForm
    • • RelaySelector
    • • Rich text rendering

    Build Your Own Nostr App with AI

    From idea to deployed Nostr application in minutes using AI-powered development.

    Install & Create

    Install Stacks CLI and create a new Nostr app using MKStack template. Everything is set up automatically.

    $ npm install -g @getstacks/stacks
    $ stacks mkstack

    Prompt Dork

    Tell Dork AI agent what you want to build. It uses Nostrbook MCP to understand Nostr protocols and build your app.

    Dork: What do you need?
    You: Build a NIP-28 group chat app

    Deploy

    Deploy your Nostr app instantly with built-in NostrDeploy.com integration. Your app goes live in seconds.

    $ npm run deploy
    ✅ App deployed to NostrDeploy.com!