NikolayS

NikolayS / rpg

Public

rpg — modern Postgres terminal written in Rust. psql-compatible, with built-in DBA diagnostics and AI assistant

14
2
100% credibility
Found Mar 20, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

rpg is a user-friendly terminal for PostgreSQL that enhances psql with AI query assistance, schema-aware autocompletion, and built-in DBA diagnostics.

How It Works

1
🔍 Discover a smarter database helper

You hear about rpg, a friendly tool that makes working with your Postgres database easier with smart suggestions and health checks.

2
📥 Get rpg on your computer

Download the single ready-to-run file and place it where you can easily launch it.

3
🔌 Connect to your database

Open rpg and connect to your database just like before, seeing your familiar prompt.

4
💡 Type queries with magic help

As you type, get instant suggestions for table names, columns, and keywords to speed things up.

5
🩺 Check database health

Use simple commands to spot issues like slow spots or unused helpers in your database.

6
🤖 Ask AI for query magic

Say what you want in plain words, and watch it turn into perfect queries or fix errors automatically.

🎉 Database work feels effortless

You get faster insights, fixed problems, and smarter queries, making your database feel alive and easy.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is rpg?

rpg is a Rust-built terminal client for Postgres, fully psql-compatible but with AI assistance and DBA diagnostics baked in. Drop it in as a single static binary—no deps, cross-platform—and get schema-aware tab completion, syntax highlighting, a scrollable TUI pager, and commands like /ask for natural language queries or /fix for auto-correcting errors. Not your github godot rpg games, github rpg discord bot, or github rpg maker—this tackles real database workflows with modern rpg modern city map generator-like precision for Postgres introspection.

Why is it gaining traction?

It layers AI (OpenAI, Anthropic, Ollama) on psql familiarity: /optimize suggests indexes from query plans, \dba scans locks/bloat/cache hits, and \yolo auto-runs text-to-SQL without previews. Developers notice the speed (Rust), session history, named queries, and SSH tunnels instantly—no more fumbling psql for production diagnostics or rpg maps forge-style schema navigation.

Who should use this?

Postgres DBAs chasing locks/waits in prod, backend devs debugging slow queries daily, or analysts turning "what's DB size?" into instant SQL. Skip if you're deep in rpg maker mv/xp or rpg save editors—grab it for rpg modern fantasy database ops or rpg 7-level precision tuning.

Verdict

Worth testing for AI-boosted Postgres CLI work, but 14 stars and 1.0% credibility score signal early-stage: good docs/demos, full CI/coverage, Apache 2.0. Mature alternative to pgcli/psql? Not yet—prototype for rpg github io fans first.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.