Skip to content

Add popular apps section to home page#10

Merged
gavyncaldwell merged 1 commit intomainfrom
feat/popular-apps-section
Mar 13, 2026
Merged

Add popular apps section to home page#10
gavyncaldwell merged 1 commit intomainfrom
feat/popular-apps-section

Conversation

@gavyncaldwell
Copy link
Collaborator

Summary

  • Adds a "Popular Apps" section to the home page showing the top 6 most downloaded apps
  • Ranked by Obtainium install click count from the app_downloads table
  • Uses the existing slim query pattern (appCardColumns + withSlimRelations) for optimized row reads

Changes

  • db/queries.ts: New getPopularApps() query
  • src/lib/server-fns.ts: New fetchPopularApps server function with KV caching
  • src/routes/index.tsx: Popular Apps section between "Popular Alternatives" and "Recently Added"

Test plan

  • Verified locally — section renders with real download data
  • Typechecks clean
  • Biome lint passes
  • Deploy and verify on production

Shows top 6 apps by download count on the home page,
ranked by Obtainium install clicks from the analytics table.
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
unclouded 2c8bd12 Commit Preview URL

Branch Preview URL
Mar 13 2026, 06:32 PM

@gavyncaldwell gavyncaldwell merged commit 7657861 into main Mar 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant