Spaces:
Running
Running
File size: 2,021 Bytes
ea6c2a8 27245e6 13caa58 ea6c2a8 c8f556a 479cdac ea6c2a8 c47c635 8de4798 f6f8d55 ebe9084 04e9b34 ebe9084 ea6c2a8 fbe7fc5 f6f8d55 fbe7fc5 ebe9084 f6f8d55 ebe9084 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
---
title: DeepSite
emoji: π³
colorFrom: blue
colorTo: blue
sdk: docker
pinned: true
app_port: 5173
license: mit
short_description: Generate any application with DeepSeek
models:
- deepseek-ai/DeepSeek-V3-0324
- deepseek-ai/DeepSeek-R1-0528
# ββ OAuth settings ββββββββββββββββββββββββββββββββββββββββββββββββ
hf_oauth: true
hf_oauth_expiration_minutes: 480
hf_oauth_scopes:
- write-repos
---
# DeepSite π³
DeepSite is a coding platform powered by DeepSeek 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.
---
## Sign-in with Hugging Face
> The first time you open the Space youβll see a βSign-in with HFβ button.
> Accept the permissions prompt and youβll be redirected back to DeepSite authenticated.
**Redirect URL**
```
https://tommytracx-deepsite.hf.space/auth/login
```
Add this URL to:
1. **Space variables**
`REDIRECT_URI=https://tommytracx-deepsite.hf.space/auth/login`
2. **OAuth app β Authorization callback URLs**
Required secrets (Settings β Secrets):
| Name | Value |
|------|-------|
| `OAUTH_CLIENT_ID` | client ID from your OAuth app |
| `OAUTH_CLIENT_SECRET` | client secret from your OAuth app |
| `DEFAULT_HF_TOKEN` | personal access token (scope: read) |
---
## Running locally
Clone the repo and provide the same variables in a local `.env` file:
```bash
APP_PORT=5173
OAUTH_CLIENT_ID=β¦
OAUTH_CLIENT_SECRET=β¦
DEFAULT_HF_TOKEN=β¦
REDIRECT_URI=http://localhost:5173/auth/login
```
Then build and run the Docker image:
```bash
docker build -t deepsite .
docker run -p 5173:5173 --env-file .env deepsite
```
The app will be available at <http://localhost:5173> and the OAuth flow will work against Hugging Face just like in the hosted Space.
|