If you’ve ever wanted to dive into the fascinating world of AI-generated models and collaborate with fellow enthusiasts, you’re in luck! In this guide, we’ll walk you through setting up a platform for sharing stable diffusion models. Don’t worry; we’ll break it down step by step.
Table of Content
- About the Project
- Tech Stack
- Getting Started
- Prerequisites
- Installation
- Important Scripts
- Contributing
- Sponsors
- License
About the Project
Our goal is to create a platform where AI aficionados can share their stable diffusion models, collaborate, and learn from each other. You’ll be able to create an account, upload models, browse community contributions, and provide feedback to enhance collaborations.
Tech Stack
This project is powered by a combination of modern technologies:
- DB: Prisma + Postgres
- API: tRPC
- Front-end + Back-end: Next.js
- UI Kit: Mantine
- Storage: Cloudflare
Getting Started
To kick off your journey, follow these simple steps:
Prerequisites
Before starting, ensure you have the following installed:
- Node.js version 18 or later
- Docker for managing the database
Installation
- Clone the repository to your local machine.
- Navigate to the project directory and run the command below to install dependencies:
- Start up the necessary services with Docker:
- Create your .env file from the .env-example file and customize your configuration using the notes provided in the original README.
- Run the following commands to finalize your setup:
- Visit http://localhost:3000 to see your platform in action!
npm install
docker-compose up -d
Note: This not only spins up Postgres and Redis but also sets up Maildev for email and Minio for S3 storage.
npm run db:migrate
npm run db:generate
npm run dev
Important Scripts
Here are some commands you’ll frequently use:
- Start development environment:
npm run dev - Create a database migration:
npm run db:migrate -- --name migration-name - Generate local Prisma client:
npm run db:generate - Build the Next.js project:
npm run build
Contributing
We really appreciate any contributions! Here’s how you can get involved:
- Fork the repository to your GitHub account.
- Create a new branch for your changes.
- Make modifications and commit your changes.
- Push your branch and open a pull request.
Sponsors
Support this project by becoming a sponsor. Your logo will appear here with a link to your website.
License
Apache License 2.0. Please refer to the LICENSE file for more information.
Troubleshooting
If you run into issues, here are some tips to consider:
- Double-check all version requirements for Node.js, Docker, and other dependencies.
- Ensure that your .env configuration matches the project’s requirements.
- If local services aren’t starting, investigate your Docker setup and logs for errors.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.
Happy coding, and welcome aboard!

