Skip to content

getrapidkit/rapidkit-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

48 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RapidKit for VS Code

RapidKit is an open-source workspace platform that standardizes how teams build, scale, and deploy backend services.

FastAPI, NestJS, Go/Fiber & Go/Gin scaffolding with clean architecture, 27+ free modules, and automation-first workflows

Version Installs npm Part of RapidKit Platform

Install Extension Β· Documentation Β· Report Bug


Part of the RapidKit Ecosystem

RapidKit for VS Code is the IDE layer of the platform.

Layer Repository
Ecosystem Hub getrapidkit/rapidkit
CLI getrapidkit/rapidkit-npm
Core Engine getrapidkit/rapidkit-core
Examples getrapidkit/rapidkit-examples

Features in Action

Welcome Page - Your Central Hub

RapidKit Welcome Page

Your first stop: Quick access to workspaces, module browser, and setup verification. Browse recent projects, check workspace health with one click, and explore 27+ available modules - all from your central hub.

Quick Actions cards in the sidebar are theme-adaptive and automatically follow VS Code color tokens (light, dark, and high-contrast themes).

Setup Status - Toolchain Verification

RapidKit Setup Panel

Get ready fast: Dedicated setup panel for verifying your development toolchain. Check Python, pipx, Poetry, RapidKit CLI, and Core installation status at a glance. Color-coded status indicators and one-click installation buttons guide you through the setup.

Module Browser - Pick Your Stack

RapidKit Module Browser

Choose what you need: Browse 27+ production-ready modules organized by category (Auth, Database, Cache, AI, and more). See installation status, version info, and install directly from the extension with dependency management included.

🩺 New: Workspace Health Check

Check the health of any workspace with one click! The pulse icon (🩺) next to each workspace in the sidebar runs comprehensive diagnostics:

  • βœ… Python version check
  • βœ… Package managers (pip, pipx, Poetry)
  • βœ… RapidKit Core installation
  • βœ… Workspace configuration integrity

⚑ Quick Start

1. Ctrl+Shift+P β†’ "RapidKit: Create Workspace"
2. Open your workspace and run "RapidKit: Check Health (Doctor)"
3. Create project: FastAPI, NestJS, Go/Fiber, or Go/Gin
4. Done! πŸŽ‰

Your project is ready with:

  • βœ… Full project structure
  • βœ… Dependencies configured
  • βœ… Dev server ready (rapidkit dev)
  • βœ… API docs at /docs

🎯 What is RapidKit?

RapidKit generates production-ready backend projects with clean architecture built-in:

Framework Language Features
FastAPI Python Async, auto-docs, type hints, Poetry
NestJS TypeScript Modular, decorators, DI, npm/yarn/pnpm
Go/Fiber Go High-performance HTTP, middleware, Swagger docs
Go/Gin Go Minimal HTTP framework, routing, Swagger docs

Plus 27+ production-ready modules: Auth, Database, Cache, Logging, and more!

🧩 Available Modules

Click to see all 27 modules
Category Modules
πŸ” Auth Authentication Core, API Keys, OAuth, Passwordless, Session Management
πŸ’³ Billing Cart, Inventory, Stripe Payment
πŸ—„οΈ Database PostgreSQL, MongoDB, SQLite
πŸ”’ Security CORS, Rate Limiting, Security Headers
πŸ“§ Communication Email, Unified Notifications
πŸ‘₯ Users Users Core, Users Profiles
βš™οΈ Essentials Settings, Middleware, Logging, Deployment
πŸ“Š Observability Observability Core
πŸ’Ύ Caching Redis Cache
πŸ€– AI AI Assistant
⚑ Tasks Celery
πŸ’Ό Business Storage

Install via Extension: Browse Modules sidebar β€’ Install via CLI: rapidkit add module <slug>


πŸ“‚ Project Structure

Workspace Structure

my-workspace/                # Root workspace directory
β”œβ”€β”€ .rapidkit-workspace      # Workspace marker
β”œβ”€β”€ pyproject.toml           # Workspace Python config (stub; rapidkit-core declared)
β”œβ”€β”€ poetry.toml              # Poetry config (virtualenvs.in-project = true)
β”œβ”€β”€ poetry.lock              # Created on first `rapidkit init` (not go-only)
β”œβ”€β”€ .venv/                   # Shared Python venv β€” created on first `rapidkit init` (not go-only)
β”œβ”€β”€ rapidkit                 # CLI launcher (Unix) β€” created on first `rapidkit init`
β”œβ”€β”€ rapidkit.cmd             # CLI launcher (Windows) β€” created on first `rapidkit init`
β”œβ”€β”€ README.md                # Workspace documentation
└── my-api/                  # FastAPI project
    β”œβ”€β”€ .rapidkit/           # Project config (see below)
    β”œβ”€β”€ .venv/               # Project virtual environment
    β”œβ”€β”€ src/                 # Source code
    β”œβ”€β”€ config/              # Configuration
    β”œβ”€β”€ tests/               # Test suite
    β”œβ”€β”€ pyproject.toml       # Project dependencies
    └── README.md

go-only workspaces never have .venv/, poetry.lock, or launcher scripts β€” Go kits run entirely through npm without a Python engine.

FastAPI Project

my-api/
β”œβ”€β”€ .rapidkit/               # RapidKit configuration
β”‚   β”œβ”€β”€ project.json         # Project metadata
β”‚   β”œβ”€β”€ context.json         # Project context & history
β”‚   β”œβ”€β”€ file-hashes.json     # File integrity tracking
β”‚   β”œβ”€β”€ cli.py               # Local CLI module
β”‚   β”œβ”€β”€ activate             # Environment activation script
β”‚   β”œβ”€β”€ rapidkit             # Project CLI wrapper
β”‚   β”œβ”€β”€ snippet_registry.json # Code snippet tracking
β”‚   β”œβ”€β”€ audit/               # Audit logs
β”‚   β”‚   └── snippet_injections.jsonl
β”‚   β”œβ”€β”€ snapshots/           # File snapshots (rollback)
β”‚   └── vendor/              # Vendored modules
β”‚       β”œβ”€β”€ deployment/
β”‚       β”œβ”€β”€ logging/
β”‚       β”œβ”€β”€ middleware/
β”‚       └── settings/
β”œβ”€β”€ .venv/                   # Python virtual environment
β”œβ”€β”€ src/                     # Source code
β”‚   β”œβ”€β”€ main.py              # FastAPI entry point
β”‚   β”œβ”€β”€ routing/             # API routes
β”‚   β”‚   └── health.py
β”‚   └── modules/             # Feature modules
β”œβ”€β”€ config/                  # Configuration
β”œβ”€β”€ tests/                   # Test suite
β”œβ”€β”€ .env.example             # Environment template
β”œβ”€β”€ .python-version          # Python version lock
β”œβ”€β”€ bootstrap.sh             # Setup script
β”œβ”€β”€ docker-compose.yml       # Docker Compose
β”œβ”€β”€ Dockerfile               # Docker config
β”œβ”€β”€ Makefile                 # Make commands
β”œβ”€β”€ poetry.lock              # Locked dependencies
β”œβ”€β”€ pyproject.toml           # Poetry config
└── README.md

NestJS Project

my-app/
β”œβ”€β”€ .rapidkit/               # RapidKit configuration
β”‚   β”œβ”€β”€ project.json         # Project metadata
β”‚   β”œβ”€β”€ context.json         # Project context & history
β”‚   β”œβ”€β”€ file-hashes.json     # File integrity tracking
β”‚   β”œβ”€β”€ cli.js               # Local CLI module (optional)
β”‚   β”œβ”€β”€ activate             # Environment activation script
β”‚   β”œβ”€β”€ rapidkit             # Project CLI wrapper
β”‚   β”œβ”€β”€ snippet_registry.json # Code snippet tracking
β”‚   β”œβ”€β”€ audit/               # Audit logs
β”‚   β”œβ”€β”€ snapshots/           # File snapshots (rollback)
β”‚   └── vendor/              # Vendored modules
β”œβ”€β”€ node_modules/            # Node.js dependencies
β”œβ”€β”€ src/                     # Source code
β”‚   β”œβ”€β”€ main.ts              # NestJS entry point
β”‚   β”œβ”€β”€ app.module.ts        # Root module
β”‚   β”œβ”€β”€ app.controller.ts    # Root controller
β”‚   β”œβ”€β”€ app.service.ts       # Root service
β”‚   β”œβ”€β”€ config/              # Configuration module
β”‚   β”œβ”€β”€ examples/            # Example CRUD module
β”‚   └── modules/             # Feature modules
β”œβ”€β”€ test/                    # Test suite
β”œβ”€β”€ .env.example             # Environment template
β”œβ”€β”€ .node-version            # Node version lock
β”œβ”€β”€ .nvmrc                   # NVM version file
β”œβ”€β”€ bootstrap.sh             # Setup script
β”œβ”€β”€ docker-compose.yml       # Docker Compose
β”œβ”€β”€ Dockerfile               # Docker config
β”œβ”€β”€ eslint.config.cjs        # ESLint config
β”œβ”€β”€ jest.config.ts           # Jest config
β”œβ”€β”€ nest-cli.json            # NestJS CLI config
β”œβ”€β”€ package.json             # npm dependencies
β”œβ”€β”€ yarn.lock / package-lock.json
β”œβ”€β”€ tsconfig.json            # TypeScript config
└── README.md

πŸ› οΈ Project Commands

After creating a project, use these commands:

cd my-api
npx rapidkit init      # Install dependencies
npx rapidkit dev       # Start dev server (port 8000)
npx rapidkit test      # Run tests
npx rapidkit build     # Build for production
npx rapidkit lint      # Lint code
npx rapidkit format    # Format code

Note: npx rapidkit auto-detects when you're inside a project. Or install globally: npm i -g rapidkit


🎨 Extension Features

Commands (Ctrl+Shift+P)

Command Description
RapidKit: Create Workspace Create a new workspace (interactive profile picker)
RapidKit: Create Project Generate a FastAPI, NestJS, Go/Fiber, or Go/Gin project
RapidKit: Create FastAPI Project Quick FastAPI project creation
RapidKit: Create NestJS Project Quick NestJS project creation
RapidKit: Create Go/Fiber Project Quick Go Fiber project creation
RapidKit: Create Go/Gin Project Quick Go Gin project creation
RapidKit: System Doctor Check system requirements
RapidKit: Open Documentation Open RapidKit docs

Keyboard Shortcuts

Shortcut Action
Ctrl+Shift+R Ctrl+Shift+W Create Workspace
Ctrl+Shift+R Ctrl+Shift+P Create Project

Sidebar

  • Workspaces View - Manage all your RapidKit workspaces
    • Right-click a workspace for: Bootstrap, Setup, Cache/Mirror ops, and Policy actions
    • Policy actions map directly to npm CLI:
      • npx rapidkit workspace policy show
      • npx rapidkit workspace policy set <key> <value>
  • Projects View - Browse projects in current workspace
  • Modules View - Explore and install modules

πŸ“‹ Requirements

Tool Version Required For
VS Code 1.100+ Extension
Node.js 18+ CLI & NestJS
Python 3.10+ FastAPI, ML & RapidKit Core
Poetry Latest FastAPI dependencies (auto-installed)
Go 1.21+ Go/Fiber & Go/Gin projects
Git Latest Version control

Check requirements: Run RapidKit: System Doctor from Command Palette.


🌐 RapidKit Ecosystem

RapidKit consists of three integrated components that work seamlessly together:

1️⃣ VS Code Extension (This Extension)

Version Installs

Installation:

# VS Code Marketplace
code --install-extension rapidkit.rapidkit-vscode

Features:

  • 🎨 Visual workspace management
  • πŸš€ One-click project creation
  • πŸ“‚ Sidebar navigation
  • 🩺 System diagnostics
  • ⌨️ Command palette integration

πŸ“¦ Install from Marketplace


2️⃣ npm Package (CLI Bridge)

npm downloads

Installation:

# Use directly (no install needed)
npx rapidkit my-workspace

# Or install globally
npm install -g rapidkit

Features:

  • πŸ”§ Full CLI for workspace & project management
  • 🐍 Bridges TypeScript to Python Core
  • πŸ“¦ Manages Poetry/venv automatically
  • πŸ“‹ Shared workspace registry

Quick Commands:

npx rapidkit create                       # Interactive mode
npx rapidkit workspace list               # List all workspaces
npx rapidkit workspace policy show        # Show workspace policy
npx rapidkit workspace policy set <key> <value> # Set workspace policy key
npx rapidkit add module auth              # Add modules to project

πŸ“¦ View on npm β€’ πŸ’» GitHub Repo


3️⃣ Python Core (Generation Engine)

PyPI Python

Installation:

# Auto-installed by Extension & npm package
# Or install manually:
pip install rapidkit-core

Features:

  • πŸ—οΈ Core code generation engine
  • πŸ“š 27+ production-ready modules
  • 🎯 FastAPI & NestJS templates
  • πŸ”„ Module registry & dependency management

Provides:

  • Auth, Database, Cache, Redis
  • Logging, Monitoring, Testing
  • API clients, WebSockets, Storage
  • Deployment, Security, and more...

🐍 View on PyPI


πŸ”— How They Work Together

graph TD
    A[VS Code Extension] -->|commands| B[npm Package CLI]
    B -->|executes| C[Python Core Engine]
    C -->|generates| D[Your FastAPI/NestJS Project ✨]
Loading

Integration Flow:

  1. Extension provides beautiful UI and VS Code integration
  2. npm Package bridges TypeScript and Python ecosystems
  3. Python Core handles all code generation and scaffolding
  4. Result is a production-ready project with clean architecture

πŸ”„ Cross-Tool Workspace Compatibility

All workspaces are fully compatible across tools:

Feature Description
Shared Registry ~/.rapidkit/workspaces.json stores all workspaces
Unified Signature Both tools use RAPIDKIT_WORKSPACE marker
Auto-Detection Works from any subdirectory in either tool
Module Management Add via Extension UI or rapidkit add module

Example Workflow:

# 1. Create workspace via npm
npx rapidkit my-workspace

# 2. Open in VS Code (auto-detected)
code my-workspace

# 3. Create project via Extension UI (Ctrl+Shift+P β†’ RapidKit: Create Project)

# 4. Add modules via CLI
cd my-project
rapidkit add module auth
rapidkit add module redis

# 5. View all workspaces
rapidkit workspace list

οΏ½ Troubleshooting

Extension not showing commands?

  • Reload VS Code: Ctrl+Shift+P β†’ Developer: Reload Window
  • Check VS Code version: 1.100+ required

Python not found?

  • Run RapidKit: System Doctor to check requirements
  • Install Python 3.10+ from python.org
  • Restart VS Code after Python installation

Project not creating?

  • Ensure Node.js 18+ and Python 3.10+ are installed
  • Check Output panel (View β†’ Output β†’ RapidKit)
  • Report issue with logs at GitHub Issues

Workspace not detected?

  • Ensure .rapidkit-workspace marker exists
  • Run rapidkit workspace sync from terminal
  • Check ~/.rapidkit/workspaces.json registry

οΏ½πŸ”— Links


πŸ“„ License

MIT Β© RapidKit

About

Official VS Code extension for RapidKit - Create production-ready FastAPI & NestJS projects with ease

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors