{"id":22153617,"url":"https://github.com/harshilchovatiya/ai_content","last_synced_at":"2026-04-11T14:36:20.062Z","repository":{"id":251913693,"uuid":"838824207","full_name":"harshilchovatiya/ai_content","owner":"harshilchovatiya","description":"This project is a real-time AI chatbot built using Flask, HTML, CSS, and JavaScript, leveraging the Google Gemini AI API for generating responses. The application features a modern UI with a chat interface similar to popular chatbots, complete with user-friendly features like saving and deleting chats.","archived":false,"fork":false,"pushed_at":"2024-08-07T03:54:10.000Z","size":4734,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T13:46:04.535Z","etag":null,"topics":["ai-chatbot","chatbot","chatgpt","flask","frontend-development","gemini","gemini-api","gemini-bot","python","vercel"],"latest_commit_sha":null,"homepage":"https://ai-content-kappa.vercel.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harshilchovatiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-06T12:16:31.000Z","updated_at":"2024-12-20T10:39:25.000Z","dependencies_parsed_at":"2024-08-06T14:20:02.589Z","dependency_job_id":"53c1190d-961e-4e7c-9ea4-f6a2c32a69f0","html_url":"https://github.com/harshilchovatiya/ai_content","commit_stats":null,"previous_names":["harshilchovatiya/ai_content"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harshilchovatiya/ai_content","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshilchovatiya%2Fai_content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshilchovatiya%2Fai_content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshilchovatiya%2Fai_content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshilchovatiya%2Fai_content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshilchovatiya","download_url":"https://codeload.github.com/harshilchovatiya/ai_content/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshilchovatiya%2Fai_content/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31684525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai-chatbot","chatbot","chatgpt","flask","frontend-development","gemini","gemini-api","gemini-bot","python","vercel"],"created_at":"2024-12-02T01:22:53.423Z","updated_at":"2026-04-11T14:36:19.986Z","avatar_url":"https://github.com/harshilchovatiya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Chatbot Application\n\nThis project is a real-time AI chatbot built using Flask, HTML, CSS, and JavaScript, leveraging the Google Gemini AI API for generating responses. The application features a modern UI with a chat interface similar to popular chatbots, complete with user-friendly features like saving and deleting chats.\n\n## Features\n\n- Real-time AI chat functionality\n- Save and delete chat history\n- Modern and responsive UI\n- Side navigation with chat history and new chat creation\n- Deployment ready for Vercel\n\n## Technologies Used\n\n- Flask (Python)\n- HTML, CSS, JavaScript\n- Google Gemini AI API\n- Vercel for deployment\n\n## Directory Structure\n\n```\nproject/\n├── static/\n│   ├── css/\n│   │   └── styles.css\n│   ├── images/\n│   │   └── ai_logo.png\n│   │   └── user_logo.png\n│   └── js/\n│       └── scripts.js\n├── templates/\n│   └── index.html\n├── app.py\n├── requirements.txt\n└── vercel.json\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.x\n- Flask\n- Google Gemini AI API Key\n- Vercel account (for deployment)\n\n### Installation\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/harshilchovatiya/ai_content.git\n    cd ai_content\n    ```\n\n2. **Install dependencies**:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. **Configure the API key**:\n    Replace the `YOUR_API_KEY` in `app.py` with your actual Google Gemini AI API key.\n    ```python\n    genai.configure(api_key='YOUR_API_KEY')\n    ```\n\n4. **Run the application**:\n    ```bash\n    python app.py\n    ```\n    The app will be available at `http://127.0.0.1:5000`.\n\n### File Descriptions\n\n- **app.py**: The main Flask application file.\n- **requirements.txt**: Contains all the dependencies required for the project.\n- **vercel.json**: Configuration file for deploying the app on Vercel.\n- **static/css/styles.css**: CSS file for styling the application.\n- **static/js/scripts.js**: JavaScript file for handling the frontend logic.\n- **templates/index.html**: HTML file for the application's main interface.\n\n## Deployment\n\nTo deploy the application on Vercel, follow these steps:\n\n1. **Push your code to GitHub**:\n    ```bash\n    git add .\n    git commit -m \"Initial commit\"\n    git push origin main\n    ```\n\n2. **Log in to Vercel**: Go to [Vercel’s website](https://vercel.com/) and log in or create an account.\n\n3. **Import Project**:\n   - Click on \"New Project\" or \"Import Project\" from your Vercel dashboard.\n   - Connect your GitHub account if you haven't already.\n   - Select the repository where your Flask app is hosted.\n\n4. **Configure Project**:\n   - Ensure the framework preset is set to “Python” or that Vercel detects the `vercel.json` file.\n\n5. **Deploy**:\n   - Click on \"Deploy\" to start the deployment process.\n   - Vercel will build and deploy your application. You can monitor the build logs and deployment status on the Vercel dashboard.\n\n6. **Access Your App**: Once deployed, Vercel provides a unique URL for your application (e.g., `your-app-name.vercel.app`).\n\n## Usage\n\n- **Send Messages**: Type your message in the input box and press Enter to send. The AI response will appear in the chat area.\n- **New Chat**: Click on \"New Chat\" in the sidebar to start a new conversation.\n- **Delete Chat**: Click on the three dots next to a chat in the sidebar to delete it. A confirmation popup will appear.\n\n## Contributing\n\nIf you'd like to contribute to this project, please fork the repository and use a feature branch. Pull requests are warmly welcome.\n\n## Contact\n\nFor any inquiries or feedback, feel free to contact [Harshil Chovatiya](mailto:harshilbmk@gmail.com).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshilchovatiya%2Fai_content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshilchovatiya%2Fai_content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshilchovatiya%2Fai_content/lists"}