/ai-tauri

build internal applications for your organization

Primary LanguageTypeScriptMIT LicenseMIT

liblab.ai

Build internal apps using AI.

Securely connect your database, build an app, and deploy in seconds.

🚀 Jump to Quick Start - Get up and running in minutes!

Alt text

✨ Key features

  • Securely connect your database (or use a Sample database)
  • Build internal apps that can communicate with your database
  • AI builds the whole full-stack app and auto-fixes any issues
  • Preview your built app live and make edits
  • Download the built app code or connect directly to GitHub
  • Deploy your built app

🚀 Quick Start

Option 1: Deploy with Docker (Recommended) ⭐

Prerequisites

Node.js (Only required for configuration, not for running the app)

Node.js (version 22 or higher) is needed to run setup/configuration scripts before starting the Docker containers. The application itself will run inside Docker and does not use your local Node.js.

# Install Node.js using Homebrew
brew install node

# Or use Node Version Manager (nvm)
brew install nvm
nvm install --lts

# Verify installation
node --version  # Should show v22.x.x or higher
npm --version
pnpm (Package manager, faster than npm)
# Install pnpm globally
npm install -g pnpm

# Verify installation
pnpm --version
Docker (Required for containerized setup)

Install Docker Desktop from docker.com/get-started

Verify the Installation

docker --version
docker-compose --version
Anthropic API Key (Required for AI model access)

Step 1: Create an Anthropic Account

  1. Go to console.anthropic.com/signup
  2. Create an account
  3. Verify your email

Step 2: Generate an API Key 4. Go to console.anthropic.com/settings/keys 5. Click "Create Key" 6. Give it a name (e.g., "liblab-ai") 7. Copy the API key (starts with sk-ant-)

Step 3: Save your API Key Add this to your .env file during setup, but keep it handy:

ANTHROPIC_API_KEY=sk-ant-your-api-key-here
Ngrok Auth Token (Required for external tunnel access)

Step 1: Create Ngrok Account

  1. Go to ngrok.com
  2. Sign up for a free account
  3. Verify your email

Step 2: Get Your Auth Token 4. After logging in, go to dashboard.ngrok.com/get-started/your-authtoken 5. Copy your authtoken (long alphanumeric string)

Step 3: Save Your Auth Token Add this to your .env file during setup, but keep it handy:

NGROK_AUTHTOKEN=your-ngrok-authtoken-here
Netlify Key (Optional to run the builder. Required to deploy completed apps)

Step 1: Create a Netlify account

  1. Go to netlify.com
  2. Sign up for a free account

Step 2: Generate an auth token 3. Go to User Settings > Applications > New access token 4. Generate and copy your token

Step 3: Add the token to your .env file

NETLIFY_AUTH_TOKEN=your-token-here

Once configured, you can deploy any app you generate through liblab.ai to Netlify using the deploy option in the UI.

liblab.ai runs best on Chrome or Chromium browsers when using a desktop. Mobile browsers don't have full support right now.

Some browser add-ons like ad blockers or VPNs might cause problems. If things aren't working right, try disabling them and reload the page.

Clone the repo

git clone https://github.com/liblaber/ai.git
cd ai

Run the setup

pnpm run quickstart

Start with Docker

After setup is complete, start the app with Docker:

pnpm run docker:start

That's it! 🎉 The app will be available at http://localhost:3000

Option 2: Manual Installation

For developers who prefer full control over their environment or need to run without Docker.

💡 Note: We recommend using Docker (Option 1) for the best experience, as it handles all dependencies and provides a consistent environment.

Prerequisites

Before starting, ensure you have all the following installed and configured:

Node.js (22 or higher) (Required for running the application)

Option A: Single version of Node, using Homebrew (Recommended for most users)

# Install Homebrew if you don't have it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Node.js
brew install node

Option B: Using Node Version Manager (Recommended for developers)

# Install Homebrew if you don't have it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install NVM
brew install nvm

# To make the nvm command available, restart your terminal or run:
source ~/.zshrc  # or source ~/.bashrc

# Install latest stable Node.js
nvm install --lts

Verify Installation

node --version  # Should show v22.x.x or higher
npm --version   # Should show version number
pnpm (Package manager, faster than npm)
# Install pnpm globally
npm install -g pnpm

# Verify installation
pnpm --version
Anthropic API Key (Required for AI model access)

Step 1: Create an Anthropic Account

  1. Go to console.anthropic.com/signup
  2. Create an account
  3. Verify your email

Step 2: Generate an API Key 4. Go to console.anthropic.com/settings/keys 5. Click "Create Key" 6. Give it a name (e.g., "liblab-ai") 7. Copy the API key (starts with sk-ant-)

Step 3: Save your API Key Add this to your .env file during setup, but keep it handy:

ANTHROPIC_API_KEY=sk-ant-your-api-key-here
Ngrok Auth Token (Required for external tunnel access)

Step 1: Create Ngrok Account

  1. Go to ngrok.com
  2. Sign up for a free account
  3. Verify your email

Step 2: Get Your Auth Token 4. After logging in, go to dashboard.ngrok.com/get-started/your-authtoken 5. Copy your authtoken (long alphanumeric string)

Step 3: Save Your Auth Token Add this to your .env file during setup, but keep it handy:

NGROK_AUTHTOKEN=your-ngrok-authtoken-here
Netlify Key (Optional to run the builder. Required to deploy completed apps)

Step 1: Create a Netlify account

  1. Go to netlify.com
  2. Sign up for a free account

Step 2: Generate an auth token 3. Go to User Settings > Applications > New access token 4. Generate and copy your token

Step 3: Add the token to your .env file

NETLIFY_AUTH_TOKEN=your-token-here

liblab.ai runs best on Chrome or Chromium browsers when using a desktop. Mobile browsers don't have full support right now.

Some browser add-ons like ad blockers or VPNs might cause problems. If things aren't working right, try disabling them and reload the page.

Setup

Clone the repo

git clone https://github.com/liblaber/ai.git
cd ai

Run the setup

pnpm run setup

Start the app

Start the development server with:

pnpm run dev

That's it! 🎉

📚 Resources

🤝 Contributing

We welcome contributions! Here's how to get started:

  1. 📖 Read our Contributing Guidelines - Complete setup and development guide
  2. 🐛 Browse Issues - Find something to work on
  3. 🏛️ Check our Governance Model - Understand how we work

New to the project? Look for good first issue labels.

📞 Community & Support

  • 🐛 GitHub Issues - Report bugs, request features, or discuss project-related topics
  • 📧 General Inquiries - Contact us directly for questions or concerns

📄 License

This project is currently licensed under the MIT License. Please note that future versions may transition to a different license to support the introduction of Pro features. We remain committed to keeping the core open source, but certain advanced capabilities may be subject to commercial terms.

MIT License - see the LICENSE file for details.

Copyright (c) 2025 Liblab, Inc. and liblab.ai contributors

Ready to contribute? Check out our Contributing Guidelines and join our community! 🚀