TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

18 点作者 vrepsys超过 3 年前

2 条评论

vrepsys超过 3 年前
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!
henrykuzmick超过 3 年前
Looks well designed. But in documentation content remains king, the looks (IMO) always comes second.
评论 #30010310 未加载