Tauri One (Chatbot) - An AI digital assistant app for desktop/mobile which uses OpenAI's API and custom prompts for business use cases.
A Rust-based toolkit to make multi-platform applications using any framework on the frontend and Rust on the backend.
I decided to try it out and make a simple chatbot app using Vite, React and Typescript for the frontend and Rust for the backend. It also uses Zustand as state-management solution, and TailwindCSS for styling. The app uses OpenAI's API to generate responses to user prompts. The user can tweak the settings, including adding their own api key, define default prompt and amount of tokens. The app is responsive and works on both mobile and desktop. It also stores the data locally using the Tauri plugin store. As for the UI and design it is based on DaisyUI, a TailwindCSS component library. It also uses WebGL-Fluid-Simulation for the background effect.
- Clone the repository from Github using the following command:
git clone https://github.com/kiurious/tauri-one
- Change directory to the project folder:
cd tauri-one
- Install the dependencies:
npm install
- Start the app in development mode:
npm run tauri dev
- Data is stored locally
- User can tweak the settings, including adding their own api key, define default prompt and amount of tokens
- Responsive design for mobile and desktop out of the box
- Add more settings and model selection for OpenAI's API