Community & Official

Examples Hub

Explore small, concrete Netsuke manifests. Each example shows one part of the language clearly enough to steal without regret.

Basics

Hello World

The smallest useful Netsuke manifest in this repository. Demonstrates `vars`, inline target commands, source files, and default outputs without any reusable rule machinery.

vars defaults inline commands
Web

Static Site Pipeline

Compile Markdown pages with Pandoc, then assemble a shared index page from the same sources. Shows `foreach`, `order_only_deps`, and reusable rules in one small manifest.

pandoc foreach order_only_deps
Media

Batch Photo Processing

Convert RAW photos into JPEG output, then regenerate a gallery page from the converted files. Shows `foreach`, `always`, and a preview action.

darktable-cli always actions
Design

Visual Design Assets

Rasterise listed SVG designs from `design/svg/` into PNG output with Inkscape. Shows variable-driven tooling, templated output names, and a clean action without hiding the graph in helper scripts.

inkscape foreach order_only_deps
C / C++

Basic C Application

A small C build expressed in plain YAML. Reuse one compile rule, link two object files, and let Netsuke translate the graph for Ninja.

gcc rules actions
Docs

Multi-Format Documentation

Convert chapter Markdown into TeX, then assemble a PDF with `latexmk`. Shows directory targets, explicit dependencies, and ordered document assembly in one manifest.

pandoc latexmk deps

Have an example to share?

The best way to learn Netsuke is by seeing it in action. If you've built something interesting, contribute it to our examples repository.