npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@codacus/bolt.diy

v0.0.6

Published

Welcome to bolt.diy, An open source tool that lets you use multiple AI language models in one place. Supports OpenAI, Anthropic, Gemini, Mistral, and others, with easy integration for additional models via the Vercel AI SDK.

Downloads

131

Readme

bolt.diy (Previously oTToDev)

bolt.diy: AI-Powered Full-Stack Web Development in the Browser

Welcome to bolt.diy, the official open source version of Bolt.new (previously known as oTToDev and bolt.new ANY LLM), which allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models.

Check the bolt.diy Docs for more information.

We have also launched an experimental agent called the "bolt.diy Expert" that can answer common questions about bolt.diy. Find it here on the oTTomator Live Agent Studio.

bolt.diy was originally started by Cole Medin but has quickly grown into a massive community effort to build the BEST open source AI coding assistant!

Table of Contents

Join the community

Join the bolt.diy community here, in the thinktank on ottomator.ai!

Requested Additions

  • ✅ OpenRouter Integration (@coleam00)
  • ✅ Gemini Integration (@jonathands)
  • ✅ Autogenerate Ollama models from what is downloaded (@yunatamos)
  • ✅ Filter models by provider (@jasonm23)
  • ✅ Download project as ZIP (@fabwaseem)
  • ✅ Improvements to the main bolt.new prompt in app\lib\.server\llm\prompts.ts (@kofi-bhr)
  • ✅ DeepSeek API Integration (@zenith110)
  • ✅ Mistral API Integration (@ArulGandhi)
  • ✅ "Open AI Like" API Integration (@ZerxZ)
  • ✅ Ability to sync files (one way sync) to local folder (@muzafferkadir)
  • ✅ Containerize the application with Docker for easy installation (@aaronbolton)
  • ✅ Publish projects directly to GitHub (@goncaloalves)
  • ✅ Ability to enter API keys in the UI (@ali00209)
  • ✅ xAI Grok Beta Integration (@milutinke)
  • ✅ LM Studio Integration (@karrot0)
  • ✅ HuggingFace Integration (@ahsan3219)
  • ✅ Bolt terminal to see the output of LLM run commands (@thecodacus)
  • ✅ Streaming of code output (@thecodacus)
  • ✅ Ability to revert code to earlier version (@wonderwhy-er)
  • ✅ Cohere Integration (@hasanraiyan)
  • ✅ Dynamic model max token length (@hasanraiyan)
  • ✅ Better prompt enhancing (@SujalXplores)
  • ✅ Prompt caching (@SujalXplores)
  • ✅ Load local projects into the app (@wonderwhy-er)
  • ✅ Together Integration (@mouimet-infinisoft)
  • ✅ Mobile friendly (@qwikode)
  • ✅ Better prompt enhancing (@SujalXplores)
  • ✅ Attach images to prompts (@atrokhym)
  • ✅ Added Git Clone button (@thecodacus)
  • ✅ Git Import from url (@thecodacus)
  • ✅ PromptLibrary to have different variations of prompts for different use cases (@thecodacus)
  • ✅ Detect package.json and commands to auto install & run preview for folder and git import (@wonderwhy-er)
  • ✅ Selection tool to target changes visually (@emcconnell)
  • ✅ Detect terminal Errors and ask bolt to fix it (@thecodacus)
  • ✅ Detect preview Errors and ask bolt to fix it (@wonderwhy-er)
  • ✅ Add Starter Template Options (@thecodacus)
  • HIGH PRIORITY - Prevent bolt from rewriting files as often (file locking and diffs)
  • HIGH PRIORITY - Better prompting for smaller LLMs (code window sometimes doesn't start)
  • HIGH PRIORITY - Run agents in the backend as opposed to a single model call
  • ⬜ Deploy directly to Vercel/Netlify/other similar platforms
  • ⬜ Have LLM plan the project in a MD file for better results/transparency
  • ⬜ VSCode Integration with git-like confirmations
  • ⬜ Upload documents for knowledge - UI design templates, a code base to reference coding style, etc.
  • ⬜ Voice prompting
  • ⬜ Azure Open AI API Integration
  • ✅ Perplexity Integration (@meetpateltech)
  • ⬜ Vertex AI Integration

Features

  • AI-powered full-stack web development directly in your browser.
  • Support for multiple LLMs with an extensible architecture to integrate additional models.
  • Attach images to prompts for better contextual understanding.
  • Integrated terminal to view output of LLM-run commands.
  • Revert code to earlier versions for easier debugging and quicker changes.
  • Download projects as ZIP for easy portability.
  • Integration-ready Docker support for a hassle-free setup.

Setup

Running the Application

You have three options for running Bolt.DIY: using npm (recommended), direct installation, or using Docker.

Option 1: CLI Installation (Recommended)

The easiest way to get started with bolt.diy is using npm:

# Install globally using npm
npm install -g bolt-diy

# Start bolt
bolt.diy

Available commands:

bolt.diy              # Start with default settings (port 5173)
bolt.diy --port 3000  # Start on custom port
bolt.diy --help       # Show help message
bolt.diy --version    # Show version info

The CLI will automatically handle all dependencies and setup, making it the simplest way to get started.

Option 2: Direct Installation

If you prefer to run from source or contribute to development:

Prerequisites

Before you begin, you'll need to install two important pieces of software:

Install Node.js

Node.js is required to run the application.

  1. Visit the Node.js Download Page

  2. Download the "LTS" (Long Term Support) version for your operating system

  3. Run the installer, accepting the default settings

  4. Verify Node.js is properly installed:

    • For Windows Users:
      1. Press Windows + R
      2. Type "sysdm.cpl" and press Enter
      3. Go to "Advanced" tab → "Environment Variables"
      4. Check if Node.js appears in the "Path" variable
    • For Mac/Linux Users:
      1. Open Terminal
      2. Type this command:
        echo $PATH
      3. Look for /usr/local/bin in the output
  5. Install Package Manager (pnpm):

    npm install -g pnpm
  6. Install Project Dependencies:

    pnpm install
  7. Start the Application:

    pnpm run dev

    Important Note: If you're using Google Chrome, you'll need Chrome Canary for local development. Download it here

Option 3: Using Docker

This option requires some familiarity with Docker but provides a more isolated environment.

Additional Prerequisite

Steps:

  1. Build the Docker Image:

    # Using npm script:
    npm run dockerbuild
    
    # OR using direct Docker command:
    docker build . --target bolt-ai-development
  2. Run the Container:

    docker-compose --profile development up

Configuring API Keys and Providers

Adding Your API Keys

Setting up your API keys in Bolt.DIY is straightforward:

  1. Open the home page (main interface)
  2. Select your desired provider from the dropdown menu
  3. Click the pencil (edit) icon
  4. Enter your API key in the secure input field

API Key Configuration Interface

Configuring Custom Base URLs

For providers that support custom base URLs (such as Ollama or LM Studio), follow these steps:

  1. Click the settings icon in the sidebar to open the settings menu Settings Button Location

  2. Navigate to the "Providers" tab

  3. Search for your provider using the search bar

  4. Enter your custom base URL in the designated field Provider Base URL Configuration

Note: Custom base URLs are particularly useful when running local instances of AI models or using custom API endpoints.

Supported Providers

  • Ollama
  • LM Studio
  • OpenAILike

Setup Using Git (For Developers only)

This method is recommended for developers who want to:

  • Contribute to the project
  • Stay updated with the latest changes
  • Switch between different versions
  • Create custom modifications

Prerequisites

  1. Install Git: Download Git

Initial Setup

  1. Clone the Repository:

    # Using HTTPS
    git clone https://github.com/stackblitz-labs/bolt.diy.git
  2. Navigate to Project Directory:

    cd bolt.diy
  3. Switch to the Main Branch:

    git checkout main
  4. Install Dependencies:

    pnpm install
  5. Start the Development Server:

    pnpm run dev

Staying Updated

To get the latest changes from the repository:

  1. Save Your Local Changes (if any):

    git stash
  2. Pull Latest Updates:

    git pull origin main
  3. Update Dependencies:

    pnpm install
  4. Restore Your Local Changes (if any):

    git stash pop

Troubleshooting Git Setup

If you encounter issues:

  1. Clean Installation:

    # Remove node modules and lock files
    rm -rf node_modules pnpm-lock.yaml
    
    # Clear pnpm cache
    pnpm store prune
    
    # Reinstall dependencies
    pnpm install
  2. Reset Local Changes:

    # Discard all local changes
    git reset --hard origin/main

Remember to always commit your local changes or stash them before pulling updates to avoid conflicts.


Available Scripts

  • pnpm run dev: Starts the development server.
  • pnpm run build: Builds the project.
  • pnpm run start: Runs the built application locally using Wrangler Pages.
  • pnpm run preview: Builds and runs the production build locally.
  • pnpm test: Runs the test suite using Vitest.
  • pnpm run typecheck: Runs TypeScript type checking.
  • pnpm run typegen: Generates TypeScript types using Wrangler.
  • pnpm run deploy: Deploys the project to Cloudflare Pages.
  • pnpm run lint:fix: Automatically fixes linting issues.

Contributing

We welcome contributions! Check out our Contributing Guide to get started.


Roadmap

Explore upcoming features and priorities on our Roadmap.


FAQ

For answers to common questions, issues, and to see a list of recommended models, visit our FAQ Page.