Ramesh Inampudi

Web apps

Building whatNext: A GitHub Trending Dashboard for AI Repos

By Ramesh Inampudi · 2026-11-19 · 4 min read

GitHub's trending page is useful, but it offers little control. You get a fixed set of time windows, you cannot sort by forks or watchers, and it does not focus on the areas I follow most: AI, data science and data engineering. I built whatNext to fix that for myself. It is a dashboard that surfaces actively developed repositories in those areas, with filters for time window and sort order.

Why I built it

I wanted one place to answer a simple question: what is being built right now in machine learning, LLM tooling and data pipelines? Browsing GitHub topics gives me stale, popular projects. The official trending page gives me a short list I cannot reshape. I wanted to choose the window (from the last hour to the last month) and decide whether stars, forks, recent activity or watchers should drive the ranking.

It was also a good excuse to build something with no backend at all, hosted for free, that still behaves like a real application.

What it does

How it works

The stack

The app uses Next.js 16 with the App Router and TypeScript, styled with Tailwind CSS v4. Icons come from lucide-react, dates from date-fns, and class merging from clsx with tailwind-merge. The data source is the GitHub Search API directly, with no third-party wrapper in between.

Simulating trending

GitHub has no trending endpoint in its API. So the app approximates one: it searches for repositories that were pushed to recently and have a minimum number of stars. A typical query looks like this:

/search/repositories?q=pushed:>DATETIME stars:>=FLOOR language:python&sort=stars&order=desc&per_page=30&page=N

The star floor changes with the window. For the last hour it is 5, because a very short window needs a low threshold to return anything. For 24 hours it is 50, and for 2 days, 1 week and 1 month it is 100. The query is scoped with language:python, which covers most AI, ML and data engineering projects such as PyTorch, Hugging Face Transformers, scikit-learn, pandas, LangChain, dbt and Airflow. That is a deliberate trade-off: it will miss notable projects written in other languages.

Sorting maps onto the API's own parameters for stars, forks and activity (which uses updated). The exception is watching. The Search API has no watchers sort, so I sort by stars and then re-sort each page client-side by watchers_count. This only reorders within the current page, which is a limitation worth knowing about.

Rising stars without star history

GitHub does not expose star history through this API. For the weekly rising view, the app saves daily snapshots of star counts in your browser. Gains are computed from those snapshots. Until a baseline exists, repositories are ranked by stars per day instead. It is an honest workaround, though it means the view improves the more you use it on the same browser.

Static export, no proxy

The project uses output: "export" in next.config.ts, producing plain HTML, CSS and JavaScript with a basePath of /whatNext for GitHub Pages. There is no Node server. The browser calls api.github.com directly. This works because GitHub's API sends permissive CORS headers and exposes its X-RateLimit-* headers, so the client can read its own quota.

The trade-off is secrecy. A token in a static build would be visible to anyone, so I recommend running without one and living within the unauthenticated limit of 10 requests per minute, which is enough for normal browsing.

Fetching carefully

State for filters, sorting and page lives in a single client component, TrendingDashboard, with small presentational components for cards, badges, pagination and banners. Query building is isolated in queryBuilder.ts, which keeps the time-window rules in one place.

What I learned

Try it

The dashboard is live at https://whatnext-ir.vercel.app. Try the 24 hour window sorted by activity, then switch to the weekly rising view.

Conclusion

whatNext is a small project, but it taught me how far you can get with a static front end and a public API when you respect its limits. If you follow AI and data tooling and want a configurable view of what is moving, it should be useful. The source is on GitHub under ikppramesh/whatNext.

Live: https://whatnext-ir.vercel.app