Giter Club home page Giter Club logo

fuseai's Introduction

Open Source, Self-Hosted Chat GPT APP

AI.Chat.App.-.Compressed.mp4

Join our Discord server!

Stack

  • Prisma,
  • tRPC
  • NextJS
  • TypeScript
  • Sqlite
  • Mantine (React comoponent library)

⚙️ How to run

🧑🏽‍💻 Single User Mode

(It's an example, replace values with what makes sense in your current setup)

docker run -p 3000:3000 \
  -e DATABASE_URL=file:./db.sqlite \
  -e NEXTAUTH_SECRET=secret \
  -e NEXTAUTH_URL=http://localhost:3000/ \
  -e [email protected] \
  -e ADMIN_PASSWORD=password \
  bitswired/ai-chat-app:single-user-latest

🧑🏽‍💻🧑🏽‍💻 Multi User Mode

(It's an example, replace values with what makes sense in your current setup)

docker run \
-p 3000:3000 \
-e DATABASE_URL=file:./db.sqlite \
-e NEXTAUTH_SECRET=secret \
-e NEXTAUTH_URL=http://localhost:3000 \
-e [email protected] \
-e NEXT_PUBLIC_MULTI_USER=1 \
-e EMAIL_SERVER_HOST=smtp.gmail.com \
-e EMAIL_SERVER_PORT=465 \
-e [email protected] \
-e EMAIL_SERVER_PASSWORD=test \
-e [email protected] \
bitswired/ai-chat-app:multi-user-latest

🧑🏽‍💻🧑🏽‍💻 Multi User Mode UNRAID ONLY (Modified by barnito)

(It's an example, replace values with what makes sense in your current setup)

docker run
  -d
  --name='ai-chat-app'
  --net='bridge'
  -e TZ="America/New_York"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="UnraidServer"
  -e HOST_CONTAINERNAME="ai-chat-app"
  -e 'NEXTAUTH_SECRET'='XXXX'
  -e 'NEXTAUTH_URL'='XXXX'
  -e 'ADMIN_EMAIL'='XXXX'
  -e 'ADMIN_PASSWORD'='XXXX'
  -e 'EMAIL_SERVER_HOST'='smtp.gmail.com'
  -e 'EMAIL_SERVER_PORT'='465'
  -e 'EMAIL_SERVER_USER'='[email protected]'
  -e 'EMAIL_SERVER_PASSWORD'='XXXX'
  -e 'EMAIL_FROM'='[email protected]'
  -e 'NEXT_PUBLIC_MULTI_USER'='1'
  -e 'DATABASE_URL'='file:/config/db.sqlite'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:3000]'
  -l net.unraid.docker.icon='https://github.com/bitswired/fuseai/raw/main/public/logo.png'
  -p '3000:3000/tcp'
  -v '/mnt/user/appdata/ai-chat-app':'/config':'rw' 'bitswired/ai-chat-app:multi-user-latest'

🚀 Roadmap

Contribution welcomed!

  1. Dockerize the app
  2. Add ChatGPT prompt templates to speed up reusable worflows
  3. Integrate vocal chat with the Whisper API
  4. Make it more mobile friendly
  5. Overall imporovement of the design

Acknowledgments

I would like to express my gratitude to some early contributors who helped make this GitHub repository possible.

Firstly, a big thank you to DennisTheD for his assistance in identifying and addressing bugs, as well as his help in delivering the initial version of the Docker image with support for database migrations.

Additionally, I would like to extend my appreciation to barnito for his outstanding efforts in integrating UNRAID, and for his generous and friendly support of the community on the Discord platform.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.