What is Hackers' Pub?
Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.
DevelopersIO 
요즈미나 🎄 
















愚痴をこぼしても一人

わしゃ






💨ヴォォ





![Examples
let h = inputs.niccup.lib; in
h.render [
"div#main.container"
{ lang = "en"; class = [ "app" "dark" ]; }
[ "h1" "Hello from Nix" ]
[ "p" "Hiccup-style HTML in Nix." ]
(h.comment "List example")
[ "ul" (map (x: [ "li.item" x ]) [ "one" "two" "three" ]) ]
]
Write to file (use nixpkgs writeText):
{ pkgs, inputs, ... }:
pkgs.writeText "index.html" (inputs.niccup.lib.render [ "p" "Hello" ])
Some more involved examples:
art - Generative SVG (Sierpinski triangle)
blog - Multi-page blog with navigation
docs - NixOS module documentation generator
quine - Self-rendering page
The website for niccup is generated dynamically with niccup too, the whole source is ~120 lines of Nix as well](https://files.mastodon.social/media_attachments/files/115/657/616/829/494/790/original/fb96c8dd5d0a0a70.png)



🕯 

🕊️