AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Modern Database Management Tool
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
PoliteDB - Modern database client for massive datasets
PoliteDB is a fast, privacy-conscious database client for developers who want a clean desktop SQL editor, reliable table editing, secure connection management, and local AI assistance in one native macOS app.
PoliteDB is built with Tauri, Rust, Preact, and TypeScript. It is designed for daily database work across PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, MongoDB, Redis, DuckDB, Turso, Cassandra, Snowflake, ClickHouse, and Cloudflare D1.README 전문 보기 ↗PoliteDB is a fast, privacy-conscious database client for developers who want a clean desktop SQL editor, reliable table editing, secure connection management, and local AI assistance in one native macOS app.
PoliteDB is built with Tauri, Rust, Preact, and TypeScript. It is designed for daily database work across PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, MongoDB, Redis, DuckDB, Turso, Cassandra, Snowflake, ClickHouse, and Cloudflare D1.
PoliteDB is a database GUI, SQL client, PostgreSQL client, MySQL client, SQLite browser, Redis GUI, MongoDB client, database table editor, SQL query editor, TablePlus alternative, DBeaver alternative, and native macOS database management app.
| PostgreSQL | MySQL | SQLite | SQL Server | MongoDB | Redis | MariaDB |
|---|---|---|---|---|---|---|
| DuckDB | Turso | Cassandra | Snowflake | ClickHouse | Cloudflare D1 | Oracle |
PoliteDB focuses heavily on reliable table editing across different SQL engines:
PoliteDB can import external connection profiles from popular database tools.
| TablePlus import | DBeaver import |
|---|---|
Supported migration workflows include:
data-sources.json import.tableplusconnection and connection plist importFor Tauri setup details, see the Tauri prerequisites.
Install dependencies:
npm install
Run the frontend only:
npm run dev
Run the full Tauri desktop app in development mode:
npm run tauri:dev
Build the frontend:
npm run build
Build the desktop app:
npm run tauri build
npm run dev - start the Vite dev servernpm run build - type-check and build the frontend bundlenpm run preview - preview the built frontendnpm run test - run tests in watch modenpm run test:run - run tests oncenpm run test:ui - open the Vitest UInpm run tauri - run the Tauri CLI directlynpm run tauri:dev - start the desktop app in development modenpm run tauri:dev:trace - start the desktop app with trace loggingnpm run format - format the codebase with PrettierPoliteDB can send privacy-first product telemetry to PostHog.
Detailed product analytics are off by default until the user explicitly allows them. Raw SQL and query text are not sent.
cp .env.example .env
Configure:
VITE_ANALYTICS_ENABLED=true
VITE_POSTHOG_KEY=phc_your_project_api_key
VITE_POSTHOG_HOST=https://us.i.posthog.com
VITE_ANALYTICS_DEBUG=true
Common hosts:
https://us.i.posthog.comhttps://eu.i.posthog.comThe desktop app includes an app-side license flow for per-device activation.
VITE_POLITEDB_API_BASE=https://your-backend-api.example.com
VITE_LICENSE_PRODUCT=politedb
Expected endpoints:
POST /v1/licenses/activatePOST /v1/licenses/validatePOST /v1/licenses/deactivatePoliteDB no longer bundles an AI runtime. To keep AI on your machine or network, run Ollama and add it in AI Assistant → Settings → Ollama (default http://127.0.0.1:11434, sub path /v1, no API key).
ollama serve) and pull a model (ollama pull llama3.2).llama3:8b).URL rules:
http:// is allowed only for localhost and IP addresses on this machine or your LAN (127.x, 10.x, 172.16–31.x, 192.168.x, ::1, fc00::/7). Use the IP, not a hostname such as my-pc.local.https://. Redirects and proxies are not followed for AI requests.Upgrading from a version with the built-in AI:
<app data>/ai/models/ (default.gguf, default.gguf.part).POLITEDB_LLM_* environment variables are no longer supported.The GitHub release workflow is defined in .github/workflows/release.yml and runs on tags matching v*.
package.json, src-tauri/tauri.conf.json, Cargo files, and lockfiles.v1.0.0.Repository variables:
VITE_ANALYTICS_ENABLEDVITE_POSTHOG_HOSTRepository secrets:
VITE_POSTHOG_KEYYes. PoliteDB is a modern database client for developers who want a native SQL client, table editor, secure connection manager, and local AI assistant. It also includes TablePlus connection import support.
Yes. PoliteDB supports many popular SQL and NoSQL engines, provides a desktop database GUI, and can import DBeaver connection profiles.
Yes. PoliteDB supports PostgreSQL, MySQL, MariaDB, SQLite, and several other engines including SQL Server, Oracle, MongoDB, Redis, DuckDB, Turso, Cassandra, Snowflake, ClickHouse, and Cloudflare D1.
No. PoliteDB does not send raw SQL or query text in telemetry.
PoliteDB is currently distributed as a private desktop application. Check the project license and release policy before redistributing builds.