{"id":25451660,"url":"https://github.com/aya-jafar/gemini-api","last_synced_at":"2025-05-16T11:08:15.969Z","repository":{"id":252199360,"uuid":"839726504","full_name":"Aya-Jafar/Gemini-API","owner":"Aya-Jafar","description":"Gemini chatbot \u0026 image with text generating","archived":false,"fork":false,"pushed_at":"2025-01-24T18:13:32.000Z","size":6374,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T22:54:56.640Z","etag":null,"topics":["chatbot","gemini","gemini-api","google","websocket"],"latest_commit_sha":null,"homepage":"https://web-production-e553f.up.railway.app","language":"JavaScript","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/Aya-Jafar.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-08T07:52:38.000Z","updated_at":"2025-01-25T20:26:18.000Z","dependencies_parsed_at":"2024-12-11T16:31:43.933Z","dependency_job_id":"6e30f003-1de7-420d-8910-83f910b35344","html_url":"https://github.com/Aya-Jafar/Gemini-API","commit_stats":null,"previous_names":["aya-jafar/gemini-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aya-Jafar%2FGemini-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aya-Jafar%2FGemini-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aya-Jafar%2FGemini-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aya-Jafar%2FGemini-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aya-Jafar","download_url":"https://codeload.github.com/Aya-Jafar/Gemini-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518400,"owners_count":22084375,"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","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":["chatbot","gemini","gemini-api","google","websocket"],"created_at":"2025-02-17T22:54:13.901Z","updated_at":"2025-05-16T11:08:10.957Z","avatar_url":"https://github.com/Aya-Jafar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 Gemini API 🌟\n\nThis project is a Django-based chatbot and rest-api application that uses Django Channels for real-time WebSocket communication and Google Generative AI for generating chat responses in addition to an endpoint for generating text based on image input using Gemini API.\n\n## Setup Instructions\n\nFollow these steps to set up the project environment and run the server:\n\n### 1. Clone the Repository\n\nOpen your terminal or command prompt and run:\n\n```bash\ngit clone https://github.com/Aya-Jafar/Gemini-API.git\ncd your-repository\n```\n\n### 2. Create a virtual environment\n\nCreating a virtual environment isolates your project dependencies. Use the following commands based on your operating system:\n\n```bash\npython3 -m venv env\n```\n\n### 3. Activate the Virtual Environment\n\nActivate the virtual environment with the following commands:\n\n##### On macOS/Linux:\n\n```bash\nsource env/bin/activate\n```\n\n##### On Windows:\n\n```bash\nsource env\\Scripts\\activate\n```\n\n### 4. Install the Required Packages\n\nWith the virtual environment activated, install the necessary Python packages from requirements.txt:\n\n```bash\npip install -r requirements.txt\n```\n\n### 5. Set Up Environment Variables\n\nWith the virtual environment activated, install the necessary Python packages from requirements.txt:\n\n```bash\nDJANGO_SECRET_KEY=your_project_secret_key\nGEMINI_API_KEY=your_gemini_api_key\n```\n\n### 6. Run the Daphne Server\n\nIn a new terminal window, start the Daphne server for WebSocket support:\n\n```bash\ndaphne Gemini_API.asgi:application\n```\n\n### Happy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faya-jafar%2Fgemini-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faya-jafar%2Fgemini-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faya-jafar%2Fgemini-api/lists"}