{"id":29375980,"url":"https://github.com/abhik1711/socialbuzzx","last_synced_at":"2025-09-01T09:41:44.327Z","repository":{"id":301106227,"uuid":"1008171802","full_name":"abhik1711/SocialBuzzX","owner":"abhik1711","description":"A powerful Flask-based social media automation app takes the hassle out of content management. Effortlessly schedule Instagram posts using Instagrapi, craft engaging AI-generated content, and tweet directly through our seamless Twitter API integration—all from one intuitive dashboard. With robust user authentication powered by SQLAlchemy.","archived":false,"fork":false,"pushed_at":"2025-06-25T06:32:42.000Z","size":1692,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T09:22:19.310Z","etag":null,"topics":["ai","api","database","flask","flask-api","python","social-media","sqlalchemy","web-app"],"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/abhik1711.png","metadata":{"files":{"readme":"README.md","changelog":"news_utils.py","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,"zenodo":null}},"created_at":"2025-06-25T06:24:46.000Z","updated_at":"2025-06-25T10:01:59.000Z","dependencies_parsed_at":"2025-06-25T07:45:09.405Z","dependency_job_id":null,"html_url":"https://github.com/abhik1711/SocialBuzzX","commit_stats":null,"previous_names":["abhik1711/socialbuzzx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abhik1711/SocialBuzzX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhik1711%2FSocialBuzzX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhik1711%2FSocialBuzzX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhik1711%2FSocialBuzzX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhik1711%2FSocialBuzzX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhik1711","download_url":"https://codeload.github.com/abhik1711/SocialBuzzX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhik1711%2FSocialBuzzX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273100869,"owners_count":25045700,"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-09-01T02:00:09.058Z","response_time":120,"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":["ai","api","database","flask","flask-api","python","social-media","sqlalchemy","web-app"],"created_at":"2025-07-09T21:08:05.571Z","updated_at":"2025-09-01T09:41:44.238Z","avatar_url":"https://github.com/abhik1711.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Social Media Automation\n\n## Features\n\n- **Automatic and regularly scheduled AI-generated social media posts**:\n  - Upload images/enter text and schedule posts for Instagram or Twitter.\n  - Use OpenAI API to generate images with DALL-E or tweets with GPT-3.5 Turbo.\n  - Schedule recurring posts or tweets with AI-generated content.\n  - Connect to Instagram and quickly post AI generated images based on your prompt.\n  - Send emails from your Gmail account with automated scheduling.\n  - Scheduled AI Generated news posting option using NewsAPI for daily top headlines.\n\n## Upcoming Features\n- Improved text overlay on images posted to Instagram.\n- Access to external live data for post creation.\n\n## Setup Instructions\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/abhik1711/SocialBuzzX.git\n   ```\n   \n2. **Obtain API Keys and Credentials**:\n   - https://developer.twitter.com/en/portal/dashboard\n   - https://support.google.com/accounts/answer/185833?hl=en\n   - https://platform.openai.com/\n   - https://newsapi.org/\n3. **Create a 'secret.py' file and add values for the below variables**:\n   ```python\n    SECRET_KEY = 'your_secret_key' # Flask secret\n    MAIL_SERVER = \"smtp.gmail.com\" \n    MAIL_PORT = 587\n    MAIL_USERNAME = \"your_email_address\"\n    MAIL_PASSWORD = \"your_app_password\" # Go to google account and set up App password\n    MAIL_DEFAULT_SENDER = (\"NoReply SM Automation\", \"your_email_address\")\n    API_KEY = \"your_openai_api_key\"\n    TWITTER_CONSUMER_KEY = \"your_twitter_consumer_key\"\n    TWITTER_CONSUMER_SECRET = \"your_twitter_consumer_secret\"\n    BEARER_KEY = \"your_twitter_bearer_key\"\n    ACCESS_TOKEN = \"your_twitter_access_token\"\n    ACCESS_TOKEN_SECRET = \"your_twitter_access_token_secret\"\n    OAUTH_CLIENT_ID = \"your_oauth_client_id\"\n    OAUTH_CLIENT_SECRET = \"your_oauth_client_secret\"\n    NEWS_API_KEY = \"your_news_api_key\"\n    ```\n4. **Install the required packages**:\n    ```bash\n    pip install -r requirements.txt\n    ```\n5. **Set up the Database**:\n    ```bash\n   flask db init\n   flask db migrate -m \"Initial migration.\"\n    flask db upgrade\n    ```\n6. **Run application**:\n    ```bash\n    flask run\n    ```\n\n## Additional Notes and Commands:\n- **Whenever you make changes to the database, run**:\n    ```bash\n    flask db migrate -m \"migration message\"\n    ```\n- **And then to update the database with the changes, run**:\n    ```bash\n    flask db upgrade\n    ```\n- **To Delete All Users, run**:\n    ```bash\n    flask delete-all-users\n    ```\n- **To Delete Specific Users, run**:\n    ```bash\n  flask delete-users user1,user2,user3\n    ```\n- **To List All Users, run**:\n    ```bash\n    flask list-users\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhik1711%2Fsocialbuzzx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhik1711%2Fsocialbuzzx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhik1711%2Fsocialbuzzx/lists"}