{"id":28197514,"url":"https://github.com/utkarshthedev/tweeterlens","last_synced_at":"2025-05-16T17:14:44.046Z","repository":{"id":282552543,"uuid":"948934800","full_name":"UtkarshTheDev/TweeterLens","owner":"UtkarshTheDev","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-07T17:35:13.000Z","size":12100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T18:41:20.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tweeter-lens.vercel.app","language":"TypeScript","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/UtkarshTheDev.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,"zenodo":null}},"created_at":"2025-03-15T09:47:52.000Z","updated_at":"2025-05-07T17:35:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"7acfdf51-5273-4566-99f3-ca6084998de2","html_url":"https://github.com/UtkarshTheDev/TweeterLens","commit_stats":null,"previous_names":["utkarshthedev/tweetx","utkarshthedev/tweeterlens"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UtkarshTheDev%2FTweeterLens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UtkarshTheDev%2FTweeterLens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UtkarshTheDev%2FTweeterLens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UtkarshTheDev%2FTweeterLens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UtkarshTheDev","download_url":"https://codeload.github.com/UtkarshTheDev/TweeterLens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254573599,"owners_count":22093732,"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":[],"created_at":"2025-05-16T17:14:38.565Z","updated_at":"2025-05-16T17:14:44.038Z","avatar_url":"https://github.com/UtkarshTheDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TweeterLens 🔍\n\n![TweeterLens Banner](./screenshots/banner.png)\n\nTweeterLens is a powerful Twitter analytics and visualization tool that helps you explore and analyze any Twitter profile with beautiful, interactive dashboards. Get detailed insights into posting patterns, engagement metrics, and content performance.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FUtkarshTheDev%2FTweeterLens)\n[![Follow on Twitter](https://img.shields.io/twitter/follow/UtkarshTheDev?style=social)](https://twitter.com/UtkarshTheDev)\n\n## ✨ Features\n\n- **Profile Analysis**: Enter any Twitter username to analyze their posting history and engagement patterns\n- **Detailed Analytics**: View engagement metrics, hashtag usage, and interactive heatmaps of activity patterns\n- **GitHub-Style Contribution Graph**: Visualize posting frequency with a beautiful contribution heatmap\n- **Engagement Metrics**: Track likes, retweets, replies, and views with detailed breakdowns\n- **Posting Patterns**: Discover optimal posting times and consistency metrics\n- **Fast \u0026 Efficient**: Smart caching and optimized data fetching for quick results\n- **Shareable Stats**: Copy and download visualizations to share on social media\n- **Server-Side Rendering**: Optimized performance with Next.js SSR\n\n## 🚀 Live Demo\n\nCheck out the live demo at [https://tweeterlens.vercel.app](https://tweeterlens.vercel.app)\n\n## 📊 Analytics Features\n\nTweeterLens provides comprehensive analytics including:\n\n- Posting consistency and streaks\n- Engagement efficiency metrics\n- Optimal posting time analysis\n- Content performance insights\n- Conversation metrics\n- Twitter personality type\n- Viral tweet identification\n- Source analysis (which apps are used for tweeting)\n\n## 🛠️ Tech Stack\n\n- **Framework**: [Next.js 15](https://nextjs.org/)\n- **Styling**: [Tailwind CSS](https://tailwindcss.com/)\n- **UI Components**: [Shadcn UI](https://ui.shadcn.com/)\n- **State Management**: [TanStack Query](https://tanstack.com/query)\n- **Animation**: [Framer Motion](https://www.framer.com/motion/)\n- **Data Fetching**: [Social Data API](https://socialdata.tools)\n- **Caching**: [Upstash Redis](https://upstash.com/)\n- **Deployment**: [Vercel](https://vercel.com)\n\n## 🔧 Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) (v18 or newer)\n- [Bun](https://bun.sh/) (recommended) or npm/yarn\n- [Social Data API](https://socialdata.tools) key\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/UtkarshTheDev/TweeterLens.git\n   cd TweeterLens\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   bun install\n   # or\n   npm install\n   ```\n\n3. Create a `.env.local` file in the root directory with the following variables:\n\n   ```\n   UPSTASH_REDIS_REST_URL=your_upstash_redis_url\n   UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_token\n   ```\n\n4. Start the development server:\n\n   ```bash\n   bun dev\n   # or\n   npm run dev\n   ```\n\n5. Open [http://localhost:3000](http://localhost:3000) in your browser to see the application.\n\n## 🔑 Getting Your Social Data API Key\n\nTweeterLens uses the Social Data API to fetch Twitter data. Here's how to get your API key:\n\n1. Visit [SocialData.tools](https://socialdata.tools) and sign up for a free account\n2. Navigate to **Dashboard → API Keys**\n3. Copy your API key\n4. Paste it in the API key input field in the TweeterLens app\n\n### Important Notes About API Credits\n\n- **Free tier**: The Social Data API provides a limited number of free credits\n- **Credit calculation**: The API provides 1000 tweets for $0.20\n- **For accounts with 250+ tweets**: You may need additional credits. Contact SocialData.tools support and request additional credits based on your tweet count\n- **Request formula**: Request `(Your total tweets ÷ 1000) × $0.20` in credits\n- **Best for small creators**: TweeterLens works best for accounts with 250-1000 tweets. For larger accounts, consider using Twitter Analytics if you can't get additional credits\n\n## 📝 Usage Tips\n\n1. **Enter a Twitter username** in the search box\n2. **Configure your API key** if prompted\n3. **Explore the analytics dashboard** with various metrics and visualizations\n4. **Share insights** by copying or downloading the visualizations\n5. **Switch between years** to analyze posting patterns over time\n\n## 🔄 Caching Behavior\n\nTweeterLens implements smart caching to minimize API calls:\n\n- Twitter profiles are cached for 8 hours\n- Tweets are cached for 8 hours\n- Tweet stats are cached for 8 hours\n- The app will show cached data when available and only fetch fresh data when necessary\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgements\n\n- [Social Data API](https://socialdata.tools) for providing Twitter data access\n- [Shadcn UI](https://ui.shadcn.com/) for the beautiful UI components\n- [Vercel](https://vercel.com) for hosting and deployment\n- [Next.js](https://nextjs.org/) for the amazing React framework\n\n## 📧 Contact\n\n- Twitter: [@UtkarshTheDev](https://twitter.com/UtkarshTheDev)\n- GitHub: [UtkarshTheDev](https://github.com/UtkarshTheDev)\n\n---\n\nBuilt with ❤️ by [Utkarsh](https://twitter.com/UtkarshTheDev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futkarshthedev%2Ftweeterlens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futkarshthedev%2Ftweeterlens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futkarshthedev%2Ftweeterlens/lists"}