File size: 661 Bytes
4b38049
 
e269dc0
e1d8498
 
8f35d19
e1d8498
8f35d19
e1d8498
4b38049
 
e1d8498
8e57713
e1d8498
8e57713
e1d8498
8e57713
e1d8498
4b38049
e1d8498
4b38049
 
 
 
 
e1d8498
4b38049
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
---
title: AI Gateway Hub
emoji: 🚀
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
license: mit
short_description: Universal AI Gateway -- any provider to OpenAI API
---

# AI Gateway Hub

Universal AI API Gateway powered by LiteLLM.

## Required Setup

Space Settings -> Repository secrets:

DATABASE_URL      = postgresql://user:pass@host:5432/db  (Direct, NOT transaction pooler)
LITELLM_MASTER_KEY = sk-gateway-xxxx
LITELLM_SALT_KEY  = random-string (never change after first use)
JWT_SECRET        = random-string
GATEWAY_PUBLIC_URL = https://username-space-name.hf.space

Free PostgreSQL: neon.tech / supabase.com / railway.app