Skip to content

A simple Git-based blogging app built with Next.js

Notifications You must be signed in to change notification settings

kn-studios/git-based-blog-nextjs

Repository files navigation

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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:

---
title: New aritcle
tags:
author:
---

This also works brilliantly with the good ol' getStaticProps and getStaticPaths, or any SSG framework for that matter.

About

A simple Git-based blogging app built with Next.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published