{"id":25274492,"url":"https://github.com/tony-42069/x-election-tracker","last_synced_at":"2026-01-29T05:37:36.335Z","repository":{"id":259168547,"uuid":"876483233","full_name":"tony-42069/X-Election-Tracker","owner":"tony-42069","description":"2024 Presidential Race Sentiment Tracker. A real-time sentiment analysis dashboard tracking public opinion on X for the unprecedented 2024 presidential race between Donald Trump and Kamala Harris. Watch as the sentiment battle unfolds, updated every hour between now and until the polls open November 5th!","archived":false,"fork":false,"pushed_at":"2024-10-23T02:54:46.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T14:34:25.524Z","etag":null,"topics":["election","election-analysis","election-data","politics"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/tony-42069.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-10-22T03:39:31.000Z","updated_at":"2024-11-03T18:02:46.000Z","dependencies_parsed_at":"2024-10-23T07:33:48.473Z","dependency_job_id":"7a18acba-3cf2-4493-bf1b-25774916f45c","html_url":"https://github.com/tony-42069/X-Election-Tracker","commit_stats":null,"previous_names":["tony-42069/x-election-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-42069%2FX-Election-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-42069%2FX-Election-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-42069%2FX-Election-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-42069%2FX-Election-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-42069","download_url":"https://codeload.github.com/tony-42069/X-Election-Tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457799,"owners_count":20941907,"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":["election","election-analysis","election-data","politics"],"created_at":"2025-02-12T14:30:14.292Z","updated_at":"2026-01-29T05:37:36.292Z","avatar_url":"https://github.com/tony-42069.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏁 2024 Presidential Race Sentiment Tracker 🏁 \n\n## The Race to November 5th: Trump vs Harris\n\nA real-time sentiment analysis dashboard tracking public opinion on X for the unprecedented 2024 presidential race between Donald Trump and Kamala Harris. Watch as the sentiment battle unfolds, updated every hour between now and until the polls open November 5th!\n\n![Sentiment Tracker Demo](dashboard-preview.png)\n\n### 🎯 What We're Tracking\n\n- **Live Sentiment Analysis**: Using xAI's Grok API to analyze thousands of X posts\n- **Two Contenders**: \n  - 🐘 Donald Trump (Red Line)\n  - 🐴 Kamala Harris (Blue Line)\n- **Updates Every Hour**: Fresh data 24/7\n- **Countdown to Polls**: Live countdown to November 5th, 6 AM\n- **Historical Trends**: Track how sentiment changes over time\n\n### 🛠️ Tech Stack\n\n- Frontend: HTML, CSS, Chart.js\n- Backend: PowerShell automation\n- API: xAI/Grok API integration\n- Data Storage: JSON\n- Visualization: Real-time line charts\n\n### 📊 How It Works\n\n1. Every hour, our script analyzes current X sentiment. Sentiment is tracked as who the people believe is winning at that time. \n2. Sentiment scores range from 0-100%\n3. Data is stored and visualized in real-time\n4. Historical trends show momentum shifts\n5. Countdown timer shows time until polls open\n\n### 🎮 The Game\n\nWatch the race unfold as two distinct lines battle for position:\n- **Red Line**: Trump \n- **Blue Line**: Harris \n\nWho will maintain better sentiment as we approach Election Day? Will there be dramatic shifts? Major events causing sentiment swings?\n\n### 🚀 Getting Started\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/x-election-tracker.git\n```\n\n2. Set up your xAI API key in the configuration\n\n3. Install required tools:\n   - PowerShell 7+\n   - Modern web browser\n   - VS Code (recommended)\n\n4. Run the initial setup:\n```powershell\n.\\update_dashboard.ps1\n```\n\n5. Open index.html in your browser\n\n### 📈 Contributing\n\nWant to improve the tracker? We welcome:\n- Enhanced visualizations\n- Additional metrics\n- UI/UX improvements\n- Bug fixes\n- Documentation improvements\n\n### 📝 License\n\nMIT License - Feel free to use, modify, and distribute!\n\n### 🎨 Customization\n\nWant to track different candidates or topics? The codebase is easily adaptable for various sentiment tracking needs.\n\n### 🤝 Credits\n\n- xAI/Grok API for sentiment analysis\n- Chart.js for visualization\n- Special thanks to the open-source community\n\n### 📫 Contact\n\n- X: @CREdebtDorian\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-42069%2Fx-election-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftony-42069%2Fx-election-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-42069%2Fx-election-tracker/lists"}