Skip to content

Latest commit

 

History

History
135 lines (87 loc) · 4.28 KB

README.md

File metadata and controls

135 lines (87 loc) · 4.28 KB

AutoGPT-Next-Web

English / 简体中文

One-Click to deploy well-designed AutoGPT-Next-Web web UI on Vercel.

一键免费部署你的私人 AutoGPT-Next-Web 网页应用。

Demo / Issues / Join Discord / Buy Me a Coffee

演示 / 反馈 / QQ 群 / 微信 / 知识星球 / 打赏开发者

Deploy with Vercel

cover

Discuss with us

cover

Features

  1. Free one-click deployment with Vercel in 1 minute
  2. Improved local support: After typing in Chinese, the content will be displayed in Chinese instead of English
  3. UI designed to match AgentGPT, responsive design, and support for dark mode
  4. Have your own domain? Even better, after binding, you can quickly access it anywhere without barriers
  5. Support access code control, only you or trusted individuals can use the website

Roadmap

  1. Add support for Docker and Docker Compose
  2. Add support for Endpoint URL
  3. Add support for Azure OpenAI API
  4. Optimize the display of running results for easier viewing
  5. Add support for WeChat login

Get Started

Click me to view the detailed tutorial

  1. Prepare the OpenAI API Key;
  2. Click the deploy button and follow the prompts
  3. We support access control capabilities, see the tutorial above for a detailed tutorial

FAQ

Q: What is the difference between this project and AgentGPT?

A: The project originated from AgentGPT. Our goal is to continuously provide user-friendly features, interfaces, and various deployment solutions for domestic users, helping everyone to easily build their own "AutoGPT" website. And the i18n ability and Vercel deployment ability in the AgentGPT project also come from our contributions.

Docker Deployment

Docker Setup

The easiest way to run AutoGPT-Next-Web locally is by using docker. A convenient setup script is provided to help you get started.

./setup.sh --docker

Docker-compose

Using docker-compose deploy

./setup.sh --docker-compose

Local Development Setup

If you wish to develop AutoGPT-Next-Web locally, the easiest way is to use the provided setup script.

./setup.sh --local

Manual Setup

You will need Nodejs +18 (LTS recommended) installed.

  1. Fork this project:
  1. Clone the repository:
git clone [email protected]:YOU_USER/AutoGPT-Next-Web.git
  1. Install dependencies:
cd AutoGPT-Next-Web
npm install
  1. Create a .env file with the following content:

The environment variables must match the following schema.

# Deployment Environment:
NODE_ENV=development

# Next Auth config:
# Generate a secret with `openssl rand -base64 32` or visit https://generate-secret.vercel.app/
NEXTAUTH_SECRET=''
NEXTAUTH_URL=http://localhost:3000
DATABASE_URL=file:./db.sqlite

# Your open api key
OPENAI_API_KEY=''
  1. Modify prisma schema to use sqlite:
./prisma/useSqlite.sh

Note: This only needs to be done if you wish to use sqlite.

  1. Ready, now run:
# Create database migrations
npx prisma db push
npm run dev