Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gillisig83/techpulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# TechPulse A minimal Next.js site that keeps you updated on what's new in tech. It aggregates headlines from top sources via RSS on the server (so there are no CORS headaches) and shows a clean, filterable grid. ## Quick start ```bash pnpm i # or: npm i | yarn pnpm dev # or: npm run dev ``` Then open http://localhost:3000 ## Deploy (Vercel) 1. Create a new Vercel project, import this repository. 2. Build command: `next build` 3. That's it — the API route fetches fresh headlines server-side. Vercel's caching will revalidate every 5 minutes. ### Optional: scheduled warm-up If you want it to refresh in the background, add a Vercel Cron job hitting `/api/feeds` every 10–15 minutes. This keeps the cache warm so first visitor gets instant results. ## Customize sources Edit `app/api/feeds/route.ts` — add or remove entries from `SOURCES`. You can tag each source so users can filter by topic. ## Why this approach? - **No client-side RSS parsing**: avoids CORS issues and fragile third-party proxies. - **Fast**: serverless route parallel-fetches feeds and sorts by time. - **Simple**: zero DB, zero auth, just static + one API route. ## Notes - Some feeds rate-limit. The route is resilient: failures on one source won't break the page. - Default revalidate is 5 minutes. Adjust `export const revalidate` in the route if you want faster/slower cycles. # techpulse

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published