https://github.com/wannabespace/conar
AI-powered tool for working with Postgres, MySQL, MSSQL and Clickhouse. (beta)
https://github.com/wannabespace/conar
ai clickhouse connection database management mssql mysql postgresql
Last synced: about 1 month ago
JSON representation
AI-powered tool for working with Postgres, MySQL, MSSQL and Clickhouse. (beta)
- Host: GitHub
- URL: https://github.com/wannabespace/conar
- Owner: wannabespace
- License: agpl-3.0
- Created: 2024-11-27T14:39:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-05-01T23:20:12.000Z (about 1 month ago)
- Last Synced: 2026-05-02T00:33:29.743Z (about 1 month ago)
- Topics: ai, clickhouse, connection, database, management, mssql, mysql, postgresql
- Language: TypeScript
- Homepage: https://conar.app
- Size: 71.4 MB
- Stars: 1,351
- Watchers: 6
- Forks: 99
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-clickhouse - wannabespace/conar - Conar is an AI-powered open-source tool that simplifies and secures interactions with multiple databases including PostgreSQL, MySQL, MSSQL, and Clickhouse by providing intelligent SQL query assistance and optimization. (UIs / CHUI(Chat-based User Interface) or CHUBACA(Chat-Based Client:))
README
#
Conar.app

Conar is an AI-powered open-source project that simplifies database interactions. Built for PostgreSQL, MySQL, MSSQL, Clickhouse with support for other databases coming in the near future. Store your connections securely in our cloud and ask AI to help you write and optimize SQL queries.
## Features
- **🔐 Secure & Open**
- Open-source codebase
- Encrypted connection strings
- Password protection
- **💾 Multi-Database Support**
- PostgreSQL
- MySQL
- MSSQL
- Clickhouse
- Sqlite (coming soon)
- MongoDB (coming soon)
- **🤖 AI-Powered Features**
- Intelligent SQL assistance
- Ability to change AI model
- More coming soon..
## Stack
- React with TypeScript
- Electron
- TailwindCSS and shadcn/ui
- Vite
- TanStack Start/Router/Query/Form/Virtual
- Arktype
- Bun
- Hono
- oRPC
- Drizzle ORM
- Better Auth
- AI SDK with Anthropic, OpenAI, Gemini and XAI
- Railway
- PostHog
- Resend
- ToDesktop
- Stripe
## Development Setup
- **📦 Package Installation**
```bash
pnpm install
```
- **🐳 Start Database with Docker Compose**
This will start the PostgreSQL database & Redis in the background.
```bash
pnpm run docker:start
```
- **🗄️ Prepare Database**
This will run database migrations to set up the required tables and schema.
```bash
pnpm run drizzle:migrate
```
- **🚀 Run the Project**
This will start all development servers using Turbo.
```bash
pnpm run dev
```
## Testing
- **Unit Tests**
```bash
pnpm run test
```
> Before running E2E tests, make sure to start the test server: `pnpm run test:start` and db `postgresql://postgres:postgres@localhost:5432/conar`
- **E2E Tests**
```bash
pnpm run test:e2e
```
Built with ❤️