Static site generator and functional web framework written entirely in Nix
Find a file
2024-01-04 22:37:43 +00:00
nixite media queries in styled components 2024-01-04 22:37:43 +00:00
testing media queries in styled components 2024-01-04 22:37:43 +00:00
.gitignore initial commit 2023-12-30 18:27:23 +00:00
flake.lock update tix and add html document 2024-01-03 13:19:41 +00:00
flake.nix media queries in styled components 2024-01-04 22:37:43 +00:00
README.md rework markdown processor 2024-01-02 08:50:33 +00:00

Nixite

A static site generator made in Nix.

This is currently very experimental / subject to change.

Why

Clearly there aren't already enough web frameworks out there.

I thought it would be fun.

I wanted to get better at Nix.

Importing other people's styles / component libs could actually be a decent experience.

You can process your site with the power of nixpkgs - eg you could process images using imagemagick.

How

Read flake.nix for basic usage. The default package will serve the site locally (using caddy)

nix run .

Or you can build it raw (dumps the produced site into ./result)

nix build .#raw

Run the tests and watch for changes

nix run .#watch

features

  • file paths
  • global styles
  • custom components with styles
  • component extend / inheritance
  • templating

markdown

  • frontmatter
  • headers
  • paragraphs
  • tables
  • unordered lists
  • ordered lists
  • nested lists
  • checkboxes
  • links
  • images
  • block quotes
  • codeblocks are pretty neat
  • ~sub~script
  • ^super^script
  • ==mark== my words
  • italics emphasis insideofthe words_with_underscores
  • bold strong eveninwords but__dont__break
  • bold italics!
  • strikethrough everything