{"id":20685112,"url":"https://github.com/joebb10/auto-tweet-generator","last_synced_at":"2025-08-16T19:10:02.879Z","repository":{"id":230777484,"uuid":"780152789","full_name":"joebb10/Auto-Tweet-Generator","owner":"joebb10","description":"This code is a Flask app that uses OpenAI and X APIs to generate and post tweets automatically based on user-defined prompts. ","archived":false,"fork":false,"pushed_at":"2024-03-31T21:03:08.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T23:40:32.627Z","etag":null,"topics":["api","automation","bot","tweepy","tweepy-bot","twitter","twitter-api","twitter-bot"],"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/joebb10.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-03-31T20:57:20.000Z","updated_at":"2025-01-02T23:23:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"56b70c1b-65e2-4bf4-be78-3b213a882756","html_url":"https://github.com/joebb10/Auto-Tweet-Generator","commit_stats":null,"previous_names":["joebb10/auto-tweet-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joebb10/Auto-Tweet-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FAuto-Tweet-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FAuto-Tweet-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FAuto-Tweet-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FAuto-Tweet-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joebb10","download_url":"https://codeload.github.com/joebb10/Auto-Tweet-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FAuto-Tweet-Generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270758103,"owners_count":24640182,"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-16T02:00:11.002Z","response_time":91,"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":["api","automation","bot","tweepy","tweepy-bot","twitter","twitter-api","twitter-bot"],"created_at":"2024-11-16T22:25:44.150Z","updated_at":"2025-08-16T19:10:02.855Z","avatar_url":"https://github.com/joebb10.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto-Tweet-Generator\nThis Flask-based application generates and posts tweets automatically using OpenAI's language model and the X API. It takes a prompt as input and generates a specified number of tweets per day for a given number of days. The generated tweets are then posted to the connected Twitter account.\n\n# Usage:\n\n- Install the required dependencies using pip install -r requirements.txt.\n- Run the Flask application using python app.py.\n- Send a POST request to /generate-tweet endpoint with the following JSON payload:\n\n{\n\n    \"prompt\": \"Your prompt text here\",\n    \"quantity_per_day\": 5,    // Number of tweets to generate per day\n    \"days\": 7                 // Number of days to generate tweets for\n    \n}\n\n- The application will generate the specified number of tweets per day based on the provided prompt and post them to the linked X account.\n\n- Note: Ensure that the necessary API keys are securely configured and kept confidential.\n\n# Dependencies:\n\n- Flask\n- Flask-CORS\n- OpenAI\n- Tweepy\n# API Keys:\n\n- OpenAI API Key\n- X API Key (Consumer Key, Consumer Secret, Access Token, Access Token Secret)\n\n# Contributing:\nContributions are welcome! Feel free to open an issue or submit a pull request.\n\n# License:\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoebb10%2Fauto-tweet-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoebb10%2Fauto-tweet-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoebb10%2Fauto-tweet-generator/lists"}