🔗 Live App: https://tweet-automate-zz64.onrender.com/
This project is a lightweight ASP.NET Core Razor Pages application that fetches, filters, ranks, and displays curated tweets from X (Twitter).
The focus is on relatable, high-engagement developer content rather than purely technical posts.
- Fetches tweets using X (Twitter) API v2 – Recent Search
- Uses a carefully designed search query to find relatable developer posts
- Filters out low-quality, spammy, or irrelevant tweets
- Ranks tweets based on engagement (likes, replies)
- Caches results to avoid exhausting free-tier API limits
- Displays curated tweets in a clean, mobile-friendly UI
- Deployed for free on Render
- ASP.NET Core 8
- Razor Pages
- X (Twitter) API v2
- In-memory caching
- Bootstrap
- Docker
- Render (Free Tier)
TwitterAutomation
│
├── Pages
│ ├── Index.cshtml
│ ├── Index.cshtml.cs
│ └── Privacy.cshtml
│
├── Procurement
│ └── TwitterClient.cs
│
├── Processing
│ ├── TweetFilter.cs
│ └── TweetRanker.cs
│
├── Models
│ └── TweetDto.cs
│
├── wwwroot
│ └── css / js
│
├── Program.cs
├── Dockerfile
└── README.md
You can run this project locally or deploy it for free (just like the live version) by following the steps below.
Make sure you have:
- .NET SDK 8.0+
- Docker (optional, for deployment)
- An X (Twitter) Developer Account
- A Bearer Token from the X Developer Portal
- Go to the X Developer Portal
- Create or select a project/app
- Copy the Bearer Token
git clone https://github.com/beastkp/Tweet_Automate.gitAdd this in your appsettings.json
{
"Twitter": {
"BearerToken": "your_bearer_token_here"
}
}
Run your app locally
dotnet restore
dotnet run