metadata
title: Ct
emoji: 💻
colorFrom: gray
colorTo: red
sdk: docker
pinned: false
ChatGPT Rust Client
A reverse-engineered ChatGPT client written in Rust, deployed on Hugging Face Spaces.
Features
- ChatGPT API client implementation
- WebSocket streaming support
- REST API server
- Image processing capabilities
- Docker-based deployment
Deployment
This Space uses Docker to build and run the Rust application. The multi-stage build process ensures:
- Proper dependency caching
- Permission handling for Hugging Face Spaces
- Optimized final image size
Environment Variables
RUST_LOG: Logging level (default: info)API_HOST: Server host (default: 0.0.0.0)API_PORT: Server port (default: 7860)
Usage
The application runs automatically on Space startup and provides an API endpoint at the configured port.