Skip to content

Poordeveloper/chatgpt-app

icon

A ChatGPT App for all platforms

Built with Rust + Tauri + Vue + Axum

play

cover

Prerequisite

Run Desktop

pnpm tauri dev

desktop

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

ios

Thanks