https://github.com/kien-ngo/git-based-blog-nextjs
A simple Git-based blogging app built with Next.js
https://github.com/kien-ngo/git-based-blog-nextjs
cms git-based-cms nextjs
Last synced: 3 months ago
JSON representation
A simple Git-based blogging app built with Next.js
- Host: GitHub
- URL: https://github.com/kien-ngo/git-based-blog-nextjs
- Owner: kien-ngo
- Created: 2025-02-17T22:38:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-17T23:32:29.000Z (about 1 year ago)
- Last Synced: 2025-10-11T19:25:53.313Z (6 months ago)
- Topics: cms, git-based-cms, nextjs
- Language: TypeScript
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## Adding articles
Simply create a new markdown file inside the `./src/articles` folder. The app will automatically scan for the file and display it to the users.
Make sure you set a proper title for said new file with the frontmatter format:
```markdown
---
title: New aritcle
tags:
author:
---
```
This also works brilliantly with the good ol' `getStaticProps` and `getStaticPaths`, or any SSG framework for that matter.