chatgpt-app
chatgpt-app copied to clipboard
Cross-platform ChatGPT App and more
A ChatGPT App for all platforms
Built with Rust + Tauri + Vue + Axum


Prerequisite
Run Desktop
pnpm tauri dev

Run Web
# run backend
cargo run --bin server
# start frontend dev
pnpm dev
Environment Variables (for web backend)
OPENAI_API_KEY (required)
Your openai api key.
PROXY
socks / https / http proxy server if you have problem to access OpenAI api server directly. e.g.
socks5://myusername:mypassword@localhost:1080
API_REVERSE_PROXY
https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy
AUTH_SECRET_KEY
Key used to access your web
OPENAI_API_MODEL
Use gpt-3.5-turbo by default
TIMEOUT_MS
Timeout of OpenAI api request
Run Android / iOS
pnpm tauri ios dev

Thanks
- The initial frontend code was copied from Chanzhaoyu/chatgpt-web
- Inspired by Awesome ChatGPT Prompts and lencx/ChatGPT