Docs index
/docs.md gives agents the map: pages, APIs, content types, and examples.
Developer portal
This is a small personal site, not a SaaS API. The useful integration points are read-only: writing metadata, post markdown, sitemap discovery, and agent-readable docs. No API key is required today.
/docs.md gives agents the map: pages, APIs, content types, and examples.
/llms.txt is the compact machine-readable overview of Madhu, current work, and routes.
/api/blog returns post metadata as JSON. /api/blog/:slug returns one post.
Use live read-only endpoints as the sandbox. They are safe to call from scripts and agents.
# Discover crawlable routes
curl -s https://madhugb.com/sitemap.xml
# Fetch the writing index
curl -s https://madhugb.com/api/blog
# Fetch one post as JSON
curl -s https://madhugb.com/api/blog/hermes-needs-a-window
# Ask for markdown when available
curl -H 'Accept: text/markdown' https://madhugb.com/about
No public write API exists, so no API keys are issued. If that changes, key creation and scoped permissions will be documented here first.
GET /api/blogGET /api/blog/:slugGET /blog/posts/:slug.mdGET /sitemap.xmlGET /llms.txtGET /docs.md
404, not the app shell./sitemap.xml, /llms.txt, and /docs.md before scraping HTML.Accept: text/markdown for supported human pages when you want a compact text version.