{"id":30624568,"url":"https://github.com/udaysinh-git/chat2db","last_synced_at":"2026-02-23T23:34:28.745Z","repository":{"id":286365530,"uuid":"961167541","full_name":"udaysinh-git/Chat2DB","owner":"udaysinh-git","description":"Gossip with your database instead of writing cryptic SQL. It's less judgmental about your queries, probably. Tell your data what you want!","archived":false,"fork":false,"pushed_at":"2025-04-21T03:47:08.000Z","size":3799,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T18:04:10.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udaysinh-git.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-05T22:39:48.000Z","updated_at":"2025-04-21T03:47:11.000Z","dependencies_parsed_at":"2025-04-06T01:26:13.372Z","dependency_job_id":"cd0226cc-17b9-48b5-adb2-752b4068e32b","html_url":"https://github.com/udaysinh-git/Chat2DB","commit_stats":null,"previous_names":["udaysinh-git/chat2db"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/udaysinh-git/Chat2DB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FChat2DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FChat2DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FChat2DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FChat2DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udaysinh-git","download_url":"https://codeload.github.com/udaysinh-git/Chat2DB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FChat2DB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272878336,"owners_count":25008340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-30T17:17:48.288Z","updated_at":"2026-02-23T23:34:28.701Z","avatar_url":"https://github.com/udaysinh-git.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat2DB - MySQL Chat Interface\n\nA web application that allows users to interact with MySQL databases through a chat-like interface.\n\n## Features\n\n- Connect to MySQL databases with authentication\n- Execute SQL queries with rich syntax highlighting\n- View query results in a formatted table\n- Support for database selection\n\n## Initial Concept\n\nBelow is an initial design sketch of the project:\n\n![Initial Design Sketch](project_excalidraw.png)\n\n## Setup and Installation\n\n### Prerequisites\n\n- Python 3.7+\n- Node.js and npm\n- MySQL server\n\n### Backend Setup\n\n1. Install Python dependencies:\n   ```\n   pip install -r requirements.txt\n   ```\n\n2. Create a `.env` file in the project root (optional):\n   ```\n   DB_HOST=localhost\n   DB_USER=root\n   DB_PASSWORD=your_password\n   DB_PORT=3306\n   ```\n\n### Frontend Setup\n\n1. Navigate to the `frontend` directory:\n   ```\n   cd frontend\n   ```\n\n2. Install dependencies:\n   ```\n   npm install\n   ```\n\n### Running the Application\n\nFrom the project root, run:\n\n```\npython run.py\n```\n\nThis will start both the backend and frontend servers and open a browser window.\n\nAlternatively, you can run them separately:\n\n- Backend: `uvicorn backend.main:app --reload`\n- Frontend: `cd frontend \u0026\u0026 npm run dev -- --open`\n\n## Usage\n\n1. Enter your MySQL server connection details\n2. Click \"Connect\" to establish a connection\n3. Select a database from the dropdown\n4. Enter your SQL query in the editor\n5. Click \"Execute Query\" to run the query and see results\n\n## Technologies Used\n\n- Backend: FastAPI, MySQL Connector\n- Frontend: SvelteKit, HTMX, Monaco Editor\n- UI: Tailwind CSS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudaysinh-git%2Fchat2db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudaysinh-git%2Fchat2db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudaysinh-git%2Fchat2db/lists"}