Hashnode Quick Start
Publish your first article from Portfolio OS to Hashnode in under 10 minutes.
Overview
This quick start walks through the minimum steps to publish an article from the docs repo to Hashnode using the automation scripts.
Steps
-
Add credentials
- Create
HASHNODE_TOKENandHASHNODE_PUBLICATION_IDin.env.shared.
- Create
-
Write your article
- Create
apps/docs/contents/blog/my-first-post/index.mdx. - Include frontmatter (
title,description,tags).
- Create
-
Preview locally
pnpm docs:dev -
Publish
pnpm scripts hashnode:publish --slug my-first-post -
Verify
- Open the Hashnode dashboard → Posts → check the new entry.
- Ensure the canonical URL points to
/docs/blog/my-first-post.
You're now synced between Hashnode and the Portfolio OS documentation.