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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Use a GitHub Repo as a CMS for a NextJS Blog

2 点作者 eigenvalue6 个月前
I recently needed a blog for my recent Next.js app, and wanted something that would look really nice and that could be integrated into my existing Next.js app to keep deployment simple and to give me more control over how it&#x27;s hosted and configured.<p>My goal was to get something that looked very slick, using modern CSS styling and rich client-side effects that would look great on desktop and mobile, and most importantly, something that would be very easy and convenient for me to create new blog posts and edit existing posts.<p>So I had the idea of using GitHub as the CMS and just writing the posts using markdown with some extra metadata at the beginning, and then basically parsing that into html&#x2F;css. I know there are some other projects that do something similar, but mine is very minimal and easy to integrate into a project without a lot of configuration.<p>It ended up working really well, so I decided to turn it into a standalone open-source project, which you can see here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Dicklesworthstone&#x2F;nextjs-github-markdown-blog">https:&#x2F;&#x2F;github.com&#x2F;Dicklesworthstone&#x2F;nextjs-github-markdown-...</a>

暂无评论

暂无评论