Skip to content

XinnBlueBird/devforge

Repository files navigation

DevForge

DevForge

The AI Developer Toolkit

Six powerful modules for developers. Smart contract auditing, code learning, prompt engineering, diff analysis, RFC generation, and an interactive playground — all powered by MiMo V2.5 Pro.

Live Next.js TypeScript Tailwind CSS MiMo License


Modules

Module Route Description
AuditLens /audit Smart contract security auditor — vulnerability reports with severity, PoC, and fixes
Mentor /learn AI code learning platform — step-by-step tutorials, concepts, quizzes
PromptForge /prompts Prompt engineering workbench — quality scores, improvements, templates
DiffSense /diff Git diff intelligence — risk scoring, breaking changes, changelogs
ThreadWeaver /rfc RFC generator — architecture, API design, migration plans
Playground /playground Interactive code playground — paste code, ask questions, get instant analysis

Features

  • Streaming responses — Real-time token-by-token output powered by MiMo V2.5 Pro
  • Analysis history — Locally saved with localStorage, recallable anytime
  • Export as Markdown — Download any analysis result as a .md file
  • API documentation — Full endpoint reference at /docs
  • Product changelog — Versioned release history at /changelog
  • No sign-up required — Zero friction, just paste and analyze
  • No data stored — All processing is stateless, history stays in your browser
  • Mobile responsive — Works on all screen sizes

Tech Stack

Getting Started

Prerequisites

Installation

git clone https://github.com/XinnBlueBird/devforge.git
cd devforge
npm install

Environment Variables

Create a .env.local file:

MIMO_API_KEY=your-mimo-api-key
MIMO_BASE_URL=https://token-plan-sgp.xiaomimimo.com/v1
MIMO_MODEL=mimo-v2.5-pro

Development

npm run dev

Open http://localhost:3000.

Production

npm run build
npm start

API

DevForge exposes a streaming endpoint:

POST /api/analyze
Content-Type: application/json
{
  "type": "audit" | "learn" | "prompts" | "diff" | "rfc" | "playground",
  "input": "your code or text here"
}

Responses stream as Server-Sent Events (SSE) in OpenAI-compatible format.

See API Documentation for full details.

Project Structure

src/
├── app/
│   ├── api/analyze/route.ts    # Streaming MiMo API proxy
│   ├── audit/page.tsx          # Smart contract auditor
│   ├── learn/page.tsx          # Code learning platform
│   ├── prompts/page.tsx        # Prompt workbench
│   ├── diff/page.tsx           # Diff intelligence
│   ├── rfc/page.tsx            # RFC generator
│   ├── playground/page.tsx     # Code playground
│   ├── docs/page.tsx           # API documentation
│   ├── changelog/page.tsx      # Product changelog
│   ├── page.tsx                # Homepage
│   ├── layout.tsx              # Root layout
│   └── globals.css             # Design tokens + global styles
├── components/
│   ├── Navbar.tsx              # Navigation bar
│   ├── Footer.tsx              # Site footer
│   └── AnalysisPage.tsx        # Shared analysis page component
└── lib/
    ├── api.ts                  # API client + history management
    └── prompts.ts              # System prompts for each module

Submitted To

Xiaomi MiMo 100T Grant — Token Creator Incentive Program

License

MIT


Built with Next.js · Powered by MiMo V2.5 Pro · Open Source

About

The AI Developer Toolkit — 6 modules (smart contract audit, code learning, prompt engineering, diff analysis, RFC generation, playground) powered by MiMo V2.5 Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors