ct / README.md
sanbo110's picture
update sth at 2025-10-12 18:10:40
4320690
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:

  1. Proper dependency caching
  2. Permission handling for Hugging Face Spaces
  3. 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.