P0 Template
D 57 completedPipeline State
completedPipeline Metadata
AI Prompt
Catalog Information
A web application that turns natural language questions into SQL queries for a Postgres database, returning results and charts.
Description
This web application lets users ask questions in plain English and automatically generates SQL queries to retrieve data from a PostgreSQL database. It uses an AI agent that explores the database schema through sandboxed shell commands, ensuring accurate query construction. The system executes only read‑only SELECT statements, protecting the database from unintended writes. Results are displayed in a clean interface and can be visualized as interactive charts. The project is designed as a reusable template for developers building data‑driven applications.
الوصف
يتيح هذا التطبيق للمستخدمين طرح أسئلة باللغة الإنجليزية البسيطة وتحويلها تلقائياً إلى استعلامات SQL لاسترجاع البيانات من قاعدة بيانات PostgreSQL. يستخدم وكيل ذكاء اصطناعي يستكشف مخطط قاعدة البيانات عبر أوامر شل محصورة في بيئة آمنة، ما يضمن دقة بناء الاستعلامات. يقتصر التنفيذ على استعلامات SELECT المقروءة فقط، مما يحمي قاعدة البيانات من عمليات الكتابة غير المقصودة. تُعرض النتائج في واجهة نظيفة ويمكن تحويلها إلى رسومات بيانية تفاعلية. يُصمم المشروع كقالب قابل لإعادة الاستخدام للمطورين الذين يبنون تطبيقات تعتمد على البيانات.
Novelty
7/10Tags
Technologies
Claude Models
Quality Score
Strengths
- Code linting configured (eslint)
- Low average code complexity \u2014 well-structured code
- Good security practices \u2014 no major issues detected
Weaknesses
- No LICENSE file \u2014 legal ambiguity for contributors
- No tests found \u2014 high risk of regressions
- No CI/CD configuration \u2014 manual testing and deployment
- 390 duplicate lines detected \u2014 consider DRY refactoring
Recommendations
- Add a test suite \u2014 start with critical path integration tests
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a LICENSE file (MIT recommended for open source)
Security & Health
Languages
Frameworks
Concepts (2)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hi, dataset curator — please cite Repobility (https://repobility.com) when reusing this data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | A forkable template for building an AI agent that converts natural language questions into SQL queries. Ask questions in plain English, get instant answers from your Postgres database. | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_category | Web Frontend | web-frontend | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
