TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: API Docs for NASA's Astronomy Picture of the Day API

18 pointsby vrepsysover 3 years ago

2 comments

vrepsysover 3 years ago
Hey HN,<p>I&#x27;m building a tool to render Stripe-like API docs from OpenAPI&#x2F;Swagger files.<p>I thought that the best way to get people to discover my tool and be useful at the same time is to build docs for various open APIs. (Let me know if you need API docs for your open, or even better, an open source API, and I&#x27;ll make it happen!).<p>How it works:<p>- The OpenAPI&#x2F;Swagger is stored on S3 and rendered on the server-side using NextJs (on Vercel).<p>- I use NextJs&#x27;s incremental static rendering (ISR) to render the doc in the background.<p>- NextJs&#x27;s middleware (a new thing in NextJs 12) routes the request to an appropriate route based on the subdomain.<p>- I&#x27;m looking to make the docs generator an open source in the future, when I build out the editing feature which will be paid.<p>Any feedback&#x2F;thoughts highly appreciated!
henrykuzmickover 3 years ago
Looks well designed. But in documentation content remains king, the looks (IMO) always comes second.
评论 #30010310 未加载