lemonprogis / leapfrogai-ui

A UI for LeapFrogAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenSSF Scorecard

UI Built with SvelteKit, Tailwind CSS with Daisy UI and Flowbite Svelte for icons.

Developing

Once you've created a project and installed dependencies with npm install or pnpm install or yarn:

Copy .env.example into .env and set all the variables accordingly.

  • [Note] If the UI is running within a docker container and tailscale is being used then OPENAI_API_HOST value needs to be the fully qualified domain name of the server.
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Docker (dev env)

docker pull nginx:alpine
docker build -t ask-frogs .
docker run -i -p 5173:5173 ask-frogs (interactive)
docker run -it -d --rm -p 5173:5173 ask-frogs (non-interactive)

About

A UI for LeapFrogAI

License:Apache License 2.0


Languages

Language:Svelte 69.4%Language:TypeScript 26.2%Language:JavaScript 2.4%Language:Dockerfile 0.7%Language:CSS 0.5%Language:HTML 0.4%Language:Makefile 0.4%