Skip to content

dviggiano/sprout-ai-client

Repository files navigation

Sprout AI Client

The user interface for Sprout AI, a desktop application for students to safely and reliably use LLMs to assist with learning.

This application is built with Tauri, Solid.js, and TypeScript.

Getting Started

To run the local development server, you will need to include a .env file in the src-tauri directory with the following content:

API_BASE_URL=your-api-url

Note that if building the production app (with npm run tauri build), you will need to remove references within the Rust code to this environment variable and provide the API URL as a string literal.

You will also need a .env file in the root directory with the following variables after accordingly configuring Firebase and Google Cloud applications:

VITE_FIREBASE_API_KEY
VITE_FIREBASE_AUTH_DOMAIN
VITE_FIREBASE_PROJECT_ID
VITE_FIREBASE_STORAGE_BUCKET
VITE_FIREBASE_MESSAGING_SENDER_ID
VITE_FIREBASE_APP_ID
VITE_FIREBASE_MEASUREMENT_ID
VITE_GOOGLE_CLIENT_ID

Your API URL must be an instance of sprout-ai-server, which if running locally, will run by default at http://127.0.0.1:8000.

Once your environment is set up, the app can be run with the following commands:

Install Rust

curl https://sh.rustup.rs -sSf | sh

Launch application

npm install
npm run tauri dev

About

Desktop LLM interface designed for K-12 students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors