{"id":21126582,"url":"https://github.com/foxfix/flask_twitter_app","last_synced_at":"2026-04-17T04:32:59.841Z","repository":{"id":50211765,"uuid":"97238577","full_name":"Foxfix/Flask_Twitter_app","owner":"Foxfix","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-21T19:36:25.000Z","size":19,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-21T21:17:26.090Z","etag":null,"topics":["flask","python3","sentiment-analysis","twitter-api"],"latest_commit_sha":null,"homepage":null,"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/Foxfix.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":"2017-07-14T13:49:04.000Z","updated_at":"2025-11-21T19:36:29.000Z","dependencies_parsed_at":"2025-01-21T05:52:05.607Z","dependency_job_id":null,"html_url":"https://github.com/Foxfix/Flask_Twitter_app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Foxfix/Flask_Twitter_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxfix%2FFlask_Twitter_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxfix%2FFlask_Twitter_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxfix%2FFlask_Twitter_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxfix%2FFlask_Twitter_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foxfix","download_url":"https://codeload.github.com/Foxfix/Flask_Twitter_app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxfix%2FFlask_Twitter_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["flask","python3","sentiment-analysis","twitter-api"],"created_at":"2024-11-20T04:42:38.778Z","updated_at":"2026-04-17T04:32:59.836Z","avatar_url":"https://github.com/Foxfix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Twitter App 🐦\n\n[![Python](https://img.shields.io/badge/python-3.10-blue)](https://www.python.org/)\n[![Flask](https://img.shields.io/badge/Flask-2.x-orange)](https://flask.palletsprojects.com/)\n[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n\nA simple Flask application that integrates with the Twitter API, retrieves tweets, performs sentiment analysis, and visualizes them.\n\n---\n\n## Features ✨\n\n- Log in with Twitter using OAuth\n- Retrieve latest tweets based on search queries\n- Perform sentiment analysis on tweets\n- Color-coded tweets by sentiment\n- PostgreSQL database for user and tweet management\n- Simple web interface using Flask\n\n---\n\n## Installation ⚡\n\nClone the repository:\n\n```bash\ngit clone https://github.com/Foxfix/Flask_Twitter_app.git\ncd Flask_Twitter_app\n```\n\nCreate and activate a virtual environment:\n\n```\npython -m venv venv\nsource venv/bin/activate   # Linux/Mac\nvenv\\Scripts\\activate      # Windows\n```\n\nInstall dependencies:\n```pip install -r requirements.txt```\n\n## Configuration 🛠️\n\n1. Создай Twitter developer account и получи **consumer keys**.\n2. Создай PostgreSQL базу и таблицу:\n\n\n```sql\nCREATE TABLE users(\n    id SERIAL PRIMARY KEY,\n    screen_name text,\n    oauth_token text,\n    oauth_token_secret text\n);\n```\nUpdate your app.py with database credentials:\n\n```\nDatabase.initialise(database='your_db', host='localhost', user='your_user', password='your_password')\n```\n\nUsage 🚀\n\nRun the Flask app:\n```python app.py```\n\nOpen your browser at http://127.0.0.1:4995\n\nTechnologies 🛠️\n\nPython 3.10+\nFlask\nPostgreSQL\nTwitter API\nSentiment Analysis API\n\nLicense 📄\n\nThis project is licensed under the MIT License.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfix%2Fflask_twitter_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxfix%2Fflask_twitter_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfix%2Fflask_twitter_app/lists"}