Every developer knows the pain of building query builders, dashboards, or admin tools where users keep asking for “just one more filter.” text-db-query-ai fixes that — it lets anyone talk to your database in natural language while you stay in full control of what’s executed. This open-source TypeScript package converts plain English into safe SQL queries using OpenAI or Anthropic Claude, with built-in security, access control, and ORM integration. For chatbot, AI assistants or secure REST API
I built text-db-query-ai for developers and data teams tired of wrestling with query builders and endless SQL tweaks. It lets you ask your database questions in plain English (“Show me this week’s top customers”) or (“How much commission is due for payment from last year”) and instantly get secure, production-ready SQL — powered by OpenAI or Claude. It’s fully typed, works with ORMs or direct DB connections, and includes built-in SQL injection prevention, access control, and row-level security. Perfect for internal dashboards, AI assistants, or BI tools that need a conversational data layer. Would love your thoughts, feedback, or ideas for what to build next!
Report
No reviews yetBe the first to leave a review for text-db-query-ai