Spaces:
Running
Running
metadata
title: DeepSite v2
emoji: 🐳
colorFrom: blue
colorTo: blue
sdk: docker
pinned: true
app_port: 3000
license: mit
short_description: Generate any application with UIGENT-30B
models:
- Tesslate/UIGENT-30B-3A-Preview
DeepSite 🐳
DeepSite is a coding platform powered by UIGENT-30B AI, designed to make coding smarter and more efficient. Tailored for developers, data scientists, and AI engineers, it integrates generative AI into your coding projects to enhance creativity and productivity.
Hugging Face Spaces Setup
This Space is configured to use a custom model endpoint. To set up your own instance:
Required Environment Variables (Secrets)
In your Hugging Face Space settings, add the following secrets:
CUSTOM_MODEL_ENDPOINT (required - set as secret)
- The OpenAI-compatible endpoint for your custom model
- Example:
https://your-endpoint.com/v1 - Important: This should be set as a Hugging Face Space secret, not in the code
CUSTOM_MODEL_API_KEY (set as secret)
- Your API key for authenticating with the custom model endpoint
- Leave empty if no authentication is required
- Important: This should be set as a Hugging Face Space secret, not in the code
MONGODB_URI (required)
- Your MongoDB connection string for storing projects and user data
- Example:
mongodb+srv://user:pass@cluster.mongodb.net/deepsite
How to Add Secrets
- Go to your Space settings
- Navigate to "Repository secrets"
- Add each secret with its corresponding value
- The Space will automatically restart with the new configuration
How to use it locally
Follow this discussion
Local Setup
- Clone the repository
- Copy
.env.exampleto.envand fill in your values:cp .env.example .env - Install dependencies:
npm install - Run the development server:
npm run dev - Open http://localhost:3000 in your browser
Environment Variables for Local Development
See .env.example for all required environment variables.