Skip to content

🧩 A modern wiki and documentation site generator. Create beautiful docs with markdown, customizable navigation.

License

Notifications You must be signed in to change notification settings

i3months/eziwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EziWiki

A modern, lightweight wiki and documentation generator

🌐 Live Demo β€’ 🌐 Demo (Vercel) β€’ 🌐 Demo (GitHub Pages)

Introduction

Anyone can create beautiful documentation sites. (with just a bit of coding..)

  • Write content in Markdown
  • Configure navigation with TypeScript
  • Deploy anywhere as static files

Requirements

  • Node.js 18.0 or higher
  • npm (comes with Node.js)

Quick Start

git clone https://github.com/yourusername/eziwiki.git
cd eziwiki
npm install
npm run dev

Open http://localhost:3000 to see your wiki.

Project Structure

eziwiki/
β”œβ”€β”€ payload/
β”‚   └── config.ts          # Site configuration
β”œβ”€β”€ content/               # Your Markdown files
β”‚   β”œβ”€β”€ intro.md
β”‚   β”œβ”€β”€ guides/
β”‚   β”œβ”€β”€ api/
β”‚   └── tutorials/
β”œβ”€β”€ public/                # Static assets
β”‚   β”œβ”€β”€ images/
β”‚   └── favicon.svg
β”œβ”€β”€ out/                   # Built site (auto-generated)
β”‚
β”œβ”€β”€ app/                   # Next.js pages
β”œβ”€β”€ components/            # React components
β”œβ”€β”€ lib/                   # Core utilities
β”œβ”€β”€ scripts/               # Build scripts
└── styles/                # Global styles

To get started, edit:

  • payload/config.ts - Navigation, theme, SEO
  • content/ - Your Markdown content
  • public/ - Images and assets

Want to customize further? You can modify components/, styles/, and lib/ to fit your needs.

Configuration

Edit payload/config.ts

import { Payload } from '@/lib/payload/types';

export const payload: Payload = {
  global: {
    title: 'My Wiki',
    description: 'My personal knowledge base',
    baseUrl: 'https://your-site.com',
  },
  navigation: [
    {
      name: 'Introduction',
      path: 'intro', // Links to content/intro.md
    },
    {
      name: 'Guides',
      color: '#fef08a', // Optional folder color
      children: [
        { name: 'Quick Start', path: 'guides/quick-start' },
        { name: 'Configuration', path: 'guides/configuration' },
      ],
    },
  ],
  theme: {
    // Optional - uses defaults if omitted
    primary: '#2563eb',
    secondary: '#7c3aed',
  },
};

Navigation Options

Basic page:

{ name: 'Getting Started', path: 'intro' }

Folder with children:

{
  name: 'Guides',
  color: '#fef08a',  // Optional
  children: [
    { name: 'Setup', path: 'guides/setup' },
  ],
}

Hidden page:

{ name: 'Secret', path: 'private/notes', hidden: true }

Add Content

Create Markdown files in content/ matching your paths:

content/guides/quick-start.md

---
title: Quick Start Guide
---

# Quick Start Guide

Welcome! Check out the [Configuration Guide](/guides/configuration).

Frontmatter is optional.

Export

Build your wiki as static files:

npm run build

Deploy the out/ directory to Netlify, Vercel, Github pages

Features

Hash-Based URLs

Pages use hash URLs for privacy:

intro β†’ /c432b372-e0e30267-e65e26a1

Write normal paths in Markdown - auto-converted:

[Setup Guide](/guides/setup)

Find all URLs: npm run show-urls

Commands

npm run dev              # Development server
npm run build            # Build for production
npm run validate:payload # Check configuration
npm run show-urls        # List all hash URLs

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE for details.

About

🧩 A modern wiki and documentation site generator. Create beautiful docs with markdown, customizable navigation.

Topics

Resources

License

Contributing

Stars

Watchers

Forks