Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Poordeveloper/chatgpt-app
Cross-platform ChatGPT App and more
https://github.com/Poordeveloper/chatgpt-app
chatgpt rust tauri vue
Last synced: 4 days 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 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-14T04:33:58.000Z (over 1 year ago)
- Last Synced: 2024-11-07T10:22:37.376Z (6 days 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-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. (Summary)
- 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)
README
A ChatGPT App for all platforms
Built with Rust + Tauri + Vue + Axum
![play](https://user-images.githubusercontent.com/1399893/236070870-40443458-687b-4532-abc9-5b2265a298d7.gif)
![cover](./docs/images/screenshot.png)# 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`
![desktop](docs/images/desktop.png)
# 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](https://user-images.githubusercontent.com/1399893/236110775-2cea0ff9-f72f-456c-a5f8-56bf2ce85627.png)
# 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)