Hello, I'm

Nextein.

Nextein is a static site & blog generator. Combine the simplicity of Markdown and the power of Next.js.

zsh
npm install nextein

About

Built on top of Next.js, Nextein brings you the possibility of using plain Markdown files along with your React components to create static sites in minutes.

posts/first-post.md
---
title: First Post
---

Hello, World! This is my first post.

In a list, if we use the `excerpt` flag,
this paragraph won't be shown.

pages/index.js
import React from 'react'
import withPosts from 'nextein/posts'
import Content from 'nextein/content'

function Index ({ posts }) {
  return (
    <div>
      <h1>Hello!</h1>
      {posts.map(post => (
        <div>
          <h2>{post.data.title}</h2>
          <Content {...post} excerpt />
        </div>
      ))}
    </div>
  )
}

export default withPosts(Index)
localhost:3000/

Hello!

First Post

Hello, World! This is my first post.

Contributors

This project exists thanks to all the people who contribute.

Sponsors

Amazing organizations that support this project.