Skip to content
/ Luxtra Public

Blog generator based on markdown written in Lua

Notifications You must be signed in to change notification settings

ropoko/Luxtra

Repository files navigation

Luxtra

A static site generator written in Lua. It processes Markdown files and generates a static blog website.

Inspired by Nextra.

Check a working example here.

Install

luarocks install luxtra

Usage

  • generate the placeholder luxtra generate

  • build the html files luxtra build

Configuration

In the file luxtra.config.json, you can change the title of your blog and change to a different theme.

How it works

  • you need to write your posts in the pages/ folder using markdown
  • the luxtra build command will generate a folder docs (so you can deploy using github pages)

Themes

Currently there's only one theme (default).

Themes inspired by dead simple sites.

TODO

  • read/process markdown files
  • define a header model for each file (frontmatter)
  • use info from frontmatter to create a index page
  • add themes
    • light/dark mode
  • add cli tools
  • publish on luarocks
  • add code highlight
  • add about page
  • add tags support

About

Blog generator based on markdown written in Lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published