https://github.com/Poordeveloper/chatgpt-app
Cross-platform ChatGPT App and more
https://github.com/Poordeveloper/chatgpt-app
chatgpt rust tauri vue
Last synced: 7 months ago
JSON representation
Cross-platform ChatGPT App and more
- Host: GitHub
- URL: https://github.com/Poordeveloper/chatgpt-app
- Owner: Poordeveloper
- License: agpl-3.0
- Created: 2023-05-02T12:52:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-14T04:33:58.000Z (over 2 years ago)
- Last Synced: 2024-11-07T10:22:37.376Z (12 months ago)
- Topics: chatgpt, rust, tauri, vue
- Language: Vue
- Homepage:
- Size: 1.52 MB
- Stars: 173
- Watchers: 5
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
- awesome-tauri - ChatGPT App - Cross-platform ChatGPT App and more. (Applications / ChatGPT clients)
- awesome-cuda-and-hpc - Poordeveloper/chatgpt-app - app?style=social"/> : A ChatGPT App for all platforms. Built with Rust + Tauri + Vue + Axum. (Frameworks)
- awesome-cuda-and-hpc - Poordeveloper/chatgpt-app - app?style=social"/> : A ChatGPT App for all platforms. Built with Rust + Tauri + Vue + Axum. (Frameworks)
- awesome-rust-list - Poordeveloper/chatgpt-app - app?style=social"/> : A ChatGPT App for all platforms. Built with Rust + Tauri + Vue + Axum. (Machine Learning)
- awesome-rust-list - Poordeveloper/chatgpt-app - app?style=social"/> : A ChatGPT App for all platforms. Built with Rust + Tauri + Vue + Axum. (Machine Learning)
- awesome-llm-and-aigc - Poordeveloper/chatgpt-app - app?style=social"/> : A ChatGPT App for all platforms. Built with Rust + Tauri + Vue + Axum. (Applications / 提示语(魔法))
- awesome-llm-and-aigc - Poordeveloper/chatgpt-app - app?style=social"/> : A ChatGPT App for all platforms. Built with Rust + Tauri + Vue + Axum. (Applications / 提示语(魔法))
README
A ChatGPT App for all platforms
Built with Rust + Tauri + Vue + Axum


# Prerequisite
- [nodejs](https://nodejs.org/)
- [pnpm](https://pnpm.io/)
- [rust](https://rustup.rs/)
- [Android / iOS sdk](https://next--tauri.netlify.app/next/guides/getting-started/prerequisites/)
# 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](https://github.com/Chanzhaoyu/chatgpt-web)
- Inspired by [Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts) and [lencx/ChatGPT](https://github.com/lencx/ChatGPT)