tusharxoxoxo / ai-to-ai

Compare LLMs side-by-side

Home Page:https://ai-to.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI to AI

An open-source platform for comparing LLMs

đź”— ai-to.ai

Development

Install dependencies and start the development environment.

  1. Ensure you have Bun, Docker, and Mprocs installed
  2. Fill out the environment variables in .env.example and rename it to .env.
    • Create a separate Github oauth app
    • Set the redirect URI to http://localhost:3000/api/auth/callback/github
    • You will need a sendgrid API key if you want to send emails
  3. Run mprocs to start the development environment. This will install dependencies, spin up a postgres docker instance, and prisma studio.
  4. Run bun db:sync to apply pending migrations and create the prisma client
  5. Run bun db:seed to seed the database with initial data

See the Prisma Documentation on how to apply migrations and further manipulate the database.

Deploying to Production

  1. Set the environment variables in .env or in you hosting provider's environment variable settings.
  2. Run bun run build to create a production build
  3. Run bun run start to start the production server

About

Compare LLMs side-by-side

https://ai-to.ai


Languages

Language:TypeScript 99.4%Language:CSS 0.3%Language:Nix 0.2%Language:JavaScript 0.1%