{"id":24549323,"url":"https://github.com/venkatnvs/twittrends_selenium","last_synced_at":"2026-04-11T01:58:19.095Z","repository":{"id":273681769,"uuid":"920521330","full_name":"Venkatnvs/TwitTrends_Selenium","owner":"Venkatnvs","description":"TwitTrends:  Real-Time X(formerly twitter) Trends Web App Using Selenium, Flask","archived":false,"fork":false,"pushed_at":"2025-01-22T11:13:47.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T12:33:28.637Z","etag":null,"topics":["automation","flask","mongodb","python","scraping","selenium","selenium-python","twitter"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=onTlC39ON0k","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/Venkatnvs.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-22T09:51:53.000Z","updated_at":"2025-02-05T13:30:50.000Z","dependencies_parsed_at":"2025-01-22T11:29:29.178Z","dependency_job_id":null,"html_url":"https://github.com/Venkatnvs/TwitTrends_Selenium","commit_stats":null,"previous_names":["venkatnvs/twittrends_selenium"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Venkatnvs/TwitTrends_Selenium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Venkatnvs%2FTwitTrends_Selenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Venkatnvs%2FTwitTrends_Selenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Venkatnvs%2FTwitTrends_Selenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Venkatnvs%2FTwitTrends_Selenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Venkatnvs","download_url":"https://codeload.github.com/Venkatnvs/TwitTrends_Selenium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Venkatnvs%2FTwitTrends_Selenium/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614162,"owners_count":23798394,"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":["automation","flask","mongodb","python","scraping","selenium","selenium-python","twitter"],"created_at":"2025-01-23T00:15:11.256Z","updated_at":"2026-04-11T01:58:19.040Z","avatar_url":"https://github.com/Venkatnvs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TwitTrends 🐦  \nA web application to fetch and display real-time X (formerly twitter) trending topics with user authentication. Built using Flask for the backend and Tailwind CSS for a sleek, modern UI.\n\n---\n## Demo Video 🎥\n\nhttps://github.com/user-attachments/assets/81abef79-8e3e-4b94-a32f-af0b33bfa83f\n\n**Youtube Link**: [https://www.youtube.com/watch?v=onTlC39ON0k](https://www.youtube.com/watch?v=onTlC39ON0k)\n\n---\n\n## Features 🚀  \n- User authentication with Twitter username and password.  \n- Fetch and display the top 5 trending topics on X.  \n- Dynamic UI with a responsive design using Tailwind CSS.  \n- Real-time IP address display for query tracking.  \n\n---\n\n## Tech Stack 💻  \n- **Frontend**: HTML, Tailwind CSS, JavaScript (ES6)  \n- **Backend**: Flask, Python, Selenium  \n\n---\n\n## Installation 🔧  \n\n### Prerequisites  \n- Python 3.8+ \n\n### Steps  \n1. Clone the repository:  \n   ```bash\n   git clone https://github.com/Venkatnvs/TwitTrends_Selenium.git\n   cd TwitTrends_Selenium\n   ```\n2. Run the Server:\n   ```bash\n   python app.py\n   ```\n3. Open your browser and navigate to `http://127.0.0.1:5000`.\n\n---\n\n## API Workflow 🌐  \n\n1. **Frontend**:  \n   - Accepts a Twitter username and password via a form.  \n   - Sends this data as a POST request to the backend (`/run-script`).  \n   - Displays the fetched trends dynamically in a styled format.  \n\n2. **Backend**:  \n   - Receives the user credentials and validates them.  \n   - Fetches top 5 trending topics.  \n   - Returns a JSON response containing trends, query datetime, and IP address.  \n\n3. **Output**:  \n   - Only displays non-null trends dynamically.  \n\n---\n\n## Example Response 📝  \n```json\n{\n  \"datetime\": \"2025-01-22 12:45:30\",\n  \"trends\": [\n    \"Trend 1\",\n    \"Trend 2\",\n    \"Trend 3\",\n    \"Trend 4\",\n    \"Trend 5\"\n  ],\n  \"ip_address\": \"192.168.1.1\"\n}\n```\n\n---\n\n## How to Use 🖱️  \n\n1. Enter your X username and password in the provided fields.  \n2. Click the **Fetch Trends** button.  \n3. Wait for the trends to load (loading animation displayed).  \n4. View the trends along with the IP address and timestamp. \n\n---\n\n## Contact 📧  \nFor any questions or feedback, reach out to:  \n- **Email**: venkatnvs2005@gmail.com  \n- **GitHub**: [Venkatnvs](https://github.com/Venkatnvs)  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenkatnvs%2Ftwittrends_selenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvenkatnvs%2Ftwittrends_selenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenkatnvs%2Ftwittrends_selenium/lists"}