An LLM platform for interacting with Hugging Face models. Requires a Hugging Face API token (BYOK).
- Node.js 18+
- A Hugging Face account with an API token
git clone https://github.com/your-org/hubchat.git
cd hubchat
npm installcp .env.example .envPORT=3000User-supplied Hugging Face API tokens are saved to a users profile. accessed only when interacting with the model.
npm run devApp runs at http://localhost:3000.
- Enter your Hugging Face API token when prompted
- Search for a model available on hugging face
- Start a chat session
Any model available via the Hugging Face Inference API with chat or text generation support.
hubchat/
├── src/
│ ├── api/ # Hugging Face API client
│ ├── chat/ # Chat logic
│ └── ui/ # Frontend
├── public/
└── .env.example
- Chat
- More features coming
MIT