Skip to content

foolfor/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

About

Cross-platform ChatGPT App and more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 48.7%
  • TypeScript 24.8%
  • Less 11.4%
  • Rust 10.8%
  • Kotlin 3.5%
  • JavaScript 0.3%
  • Other 0.5%