Simple database client https://melocoton.app
  • Elixir 67.8%
  • HTML 23.6%
  • JavaScript 5.1%
  • CSS 2.4%
  • Rust 0.7%
  • Other 0.4%
Find a file
Erick Navarro 51080edb0d fix: scroll selected command palette item into view on keyboard navigation
Replace fragile CSS style-content selector with data-selected
attribute, fixing scroll for action items which were never matched by
the old query.
2026-04-19 00:49:54 -06:00
.github/workflows test: use testcontainers to test against different engines 2026-03-29 08:39:30 -06:00
assets fix: scroll selected command palette item into view on keyboard navigation 2026-04-19 00:49:54 -06:00
config chore: upgrade tailwind to latest patch version on 3.4.X branch 2026-03-29 19:12:57 -06:00
lib fix: scroll selected command palette item into view on keyboard navigation 2026-04-19 00:49:54 -06:00
priv feat: add query history tab in results panel 2026-04-06 01:06:13 -06:00
rel perf: optimize BEAM memory and CPU usage for desktop sidecar 2026-03-24 23:43:20 -06:00
src-tauri chore: bump v0.25.1 2026-04-18 12:29:17 -06:00
test feat: include indexes, triggers, and functions in AI chat context 2026-04-16 17:45:29 -06:00
views chore: load application version dynamically in splash screen 2026-03-28 12:40:05 -06:00
.credo.exs chore: add Credo and mix_audit to CI pipeline 2026-03-18 19:25:46 -06:00
.editorconfig Add .editorconfig file 2024-08-17 11:52:24 -06:00
.formatter.exs Move web application to root folder 2025-05-13 12:11:08 -06:00
.gitignore Move web application to root folder 2025-05-13 12:11:08 -06:00
build.sh feat: add support for linux releases 2025-07-07 17:20:35 -06:00
justfile chore: update Cargo.lock on every new release 2026-03-30 16:02:45 -06:00
LICENSE chore: create LICENSE 2025-07-19 11:34:13 -06:00
mise.toml chore: update nodejs to latest LTS version 2026-04-11 11:52:09 -06:00
mix.exs chore: bump v0.25.1 2026-04-18 12:29:17 -06:00
mix.lock chore: upgrade testcontainers and mdex to their next minor versions 2026-03-29 19:15:08 -06:00
package-lock.json chore: bump v0.25.1 2026-04-18 12:29:17 -06:00
package.json chore: bump v0.25.1 2026-04-18 12:29:17 -06:00
README.md docs: improve README.md 2026-04-12 09:45:22 -06:00

Melocoton

A keyboard-driven, multi-platform database client for SQLite, PostgreSQL, and MySQL. Built with Elixir/Phoenix LiveView and packaged as a desktop app with Tauri.

Features

  • Keyboard-native — every action reachable from the keyboard, shortcut hints shown inline
  • SQL editor — write and execute queries with results displayed in dense, scannable tables
  • Transaction support — interactive transactions with explicit commit/rollback control
  • Table explorer — browse schemas, tables, indexes, and column definitions
  • Multiple databases — connect to several databases and switch between them quickly
  • Connection groups — organize databases by project, environment, or team
  • AI assistant — natural language to SQL with schema-aware chat, supporting Anthropic, OpenAI, OpenRouter, MiniMax, and local models via Ollama
  • Data export — export query results to CSV or Excel
  • Cross-platform — runs as a web app or a native desktop app (macOS, Linux)

Requirements

  • mise — manages Elixir, Erlang, and Node.js versions
  • just — command runner for common tasks (see justfile)
  • Rust — required only for desktop builds (Tauri)

Development

# Install tool versions (Elixir, Node, etc.)
mise install

# Install dependencies and set up the database
just setup

# Start the dev server at localhost:4000
just dev

A justfile defines all common tasks. Run just --list to see available recipes:

just test                           # Run all tests
just ci                             # Full CI suite (format + deps + tests)
just fmt                            # Format code
just release                        # Full desktop app build
just tauri-dev                      # Tauri dev mode with hot reload
just db-migrate                     # Run pending migrations
just db-reset                       # Drop + create + migrate + seed

Tech stack

Layer Technology
Backend Elixir, Phoenix LiveView
Frontend LiveView, Tailwind CSS
Desktop Tauri (Rust)
Databases Postgrex, Exqlite, MyXQL
Packaging Burrito