Skip to content

importTahsinZaman/ourin

Repository files navigation

ourin banner

ourin_demo.mp4

Features

  • Multi-Provider AI - GPT, Claude, and Gemini models in one interface
  • Themes - Color and font customization
  • System Prompt Library - Save and switch between custom "Cores"
  • Web Search - Web search tool calling support

Upcoming Features

  • Image Gen
  • Mobile app
  • Superpowered web search / deep research (parallel.ai and/or exa.ai)
  • Semantic Search over full chat contents
  • More models
  • Memories
  • Automation
  • Mac app

Self-Hosting

Prerequisites

  • Bun (v1.1+)
  • A Convex account (free tier works)
  • At least one AI provider API key (Anthropic, OpenAI, or Google)

Setup

  1. Clone and install dependencies
git clone https://github.com/ourin-ai/ourin.git
cd ourin
bun install
  1. Set up Convex
cd web
npx convex dev

This will prompt you to log in and create a new Convex project. Keep this terminal running.

  1. Configure environment variables

Create web/.env.local:

# Convex (auto-generated by `npx convex dev`)
CONVEX_DEPLOYMENT=your-deployment-name
NEXT_PUBLIC_CONVEX_URL=https://your-deployment.convex.cloud

# AI Providers (add at least one)
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
GOOGLE_API_KEY=...

# Security (generate with: openssl rand -base64 32)
CHAT_AUTH_SECRET=your-random-secret-min-32-chars

# Client-side config
NEXT_PUBLIC_SELF_HOSTING=true

Set the same CHAT_AUTH_SECRET in Convex:

npx convex env set CHAT_AUTH_SECRET your-random-secret-min-32-chars
  1. Start the app

In a new terminal:

cd web
bun run dev

Visit http://localhost:3000

About

Ourin is the best open source LLM chat interface that is fast, customizable, and supports GPT, Claude, Gemini and (soon) other models

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages