{"id":24520439,"url":"https://github.com/alisson-t-bucchi/poem_generator_ai","last_synced_at":"2026-04-12T23:52:35.664Z","repository":{"id":272517813,"uuid":"916331568","full_name":"alisson-t-bucchi/poem_generator_ai","owner":"alisson-t-bucchi","description":"Poem generator using AI.","archived":false,"fork":false,"pushed_at":"2025-01-14T22:54:24.000Z","size":2729,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T03:40:14.055Z","etag":null,"topics":["artificial-intelligence","cohere-ai","personal-project","python","streamlit"],"latest_commit_sha":null,"homepage":"","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/alisson-t-bucchi.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":"2025-01-13T22:20:58.000Z","updated_at":"2025-01-14T22:54:30.000Z","dependencies_parsed_at":"2025-01-14T23:40:07.411Z","dependency_job_id":null,"html_url":"https://github.com/alisson-t-bucchi/poem_generator_ai","commit_stats":null,"previous_names":["alisson-t-bucchi/poem_generator_ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alisson-t-bucchi/poem_generator_ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisson-t-bucchi%2Fpoem_generator_ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisson-t-bucchi%2Fpoem_generator_ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisson-t-bucchi%2Fpoem_generator_ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisson-t-bucchi%2Fpoem_generator_ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alisson-t-bucchi","download_url":"https://codeload.github.com/alisson-t-bucchi/poem_generator_ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisson-t-bucchi%2Fpoem_generator_ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31734350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["artificial-intelligence","cohere-ai","personal-project","python","streamlit"],"created_at":"2025-01-22T02:22:34.705Z","updated_at":"2026-04-12T23:52:35.632Z","avatar_url":"https://github.com/alisson-t-bucchi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 AI Poem Generator\n\nThis project is an AI-based poem generator built with [Cohere API](https://cohere.ai/) and [Streamlit](https://streamlit.io/). \n\nIt allows users to create personalized poems based on a theme and the desired number of lines.\n\n## 📝 Features\n\n- Generate custom poems based on a provided theme.\n- Specify the number of lines in the poem.\n- Interactive user interface built with Streamlit.\n\n## 🚀 How to Run\n\n### Prerequisites\n\nEnsure you have the following dependencies installed:\n\n- Python 3.8 or higher\n- Python libraries:\n  - `cohere`\n  - `streamlit`\n\n### Installation\n\n1. Clone this repository:\n\n   ```bash\n   git clone https://github.com/your-username/ai-poem-generator.git\n   cd ai-poem-generator\n   ```\n   \n2. Install the required dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Create a config.py file in the root directory and add Cohere API key: \n\n    ```python\n   API_KEY = \"your_cohere_api_key\"\n    ```\n\n### Running the Application\n\n1. Start the Streamlit app:\n\n    ```bash\n    streamlit run \u003cfilename\u003e.py\n    ```\n   \n2. Open the generated link in your terminal (usually http://localhost:8501) in a web browser.\n\n### ⚙️ How to Use\n\n1. Enter the desired number of lines for your poem.\n2. Enter a theme for your poem (e.g., love, nature, dreams).\n3. The generated poem will be displayed on the screen.\n\n### 🛠 Technologies Used\n\n- Cohere API: For AI text generation.\n- Streamlit: For building the user interface.\n- Python: The main programming language used in development.\n\n### ⚠️ Error Handling\nIf the Cohere API returns an error, the program will display error messages in the console for debugging purposes.\n\n### 📄 License\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n\n💡 Developed with ❤️ and AI by Alisson Bucchi. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falisson-t-bucchi%2Fpoem_generator_ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falisson-t-bucchi%2Fpoem_generator_ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falisson-t-bucchi%2Fpoem_generator_ai/lists"}