How to Pull Your Hashnode Blog Into Your Portfolio (No Paid API Needed) 🚀
Description and use
Pull Hashnode posts into a portfolio via RSS feed, parse with fast-xml-parser, estimate read time, and render server‑side for SEO.
Problem
Integrating Hashnode blog posts into a personal portfolio site without paying for the GraphQL API.
Outcome
A lightweight, free solution that pulls Hashnode posts into a portfolio, improving content visibility and SEO without extra costs.
Workflow
- Fetch the RSS feed from https://
<subdomain>.hashnode.dev/rss.xml - Parse XML using fast-xml-parser, unwrapping CDATA
- Map items to typed post objects (title, slug, publishedAt, brief, coverImage, tags, html)
- Estimate read time by word count in HTML
- Wrap fetching logic in a getBlogPosts service function
- Render posts server‑side for SEO
Evidence
Every Hashnode publication ships a free, public RSS feed
- Record date: 2026-09-09T13:30:20.596Z