This repository is the mix of cloud and local inference generated noise. Which is sometimes useful (mostly not) Brainfart ideas, cheatsheets and other stuff goes here.
A dense wiki of AI-generated cheatsheets and usage notes, built with Hugo and served at makefunstuff.github.io/slop-stuff.
Each guide is a Markdown file. Hugo renders kebab-case URLs — /rust/, /esp32/, /linux-cli/ — same as the old hand-written HTML folders.
Install Hugo (extended, v0.165+), then:
hugo server
Open the printed localhost URL. Production base URL is https://makefunstuff.github.io/slop-stuff/.
hugo --gc --minify
writes the static site to public/.
-
Create
content/<kebab-slug>/index.md. The folder name is the URL path. -
Fill in front matter.
categoryshould be one of the values indata/categories.yamlso the hub groups it automatically.
---
title: "Zig"
description: "Comptime, allocators, optionals/errors, build.zig, C interop."
category: "Languages"
tags: ["language", "comptime"]
---
One-paragraph lead.
## Quick reference
- `zig build` — compile via `build.zig`
## Gotchas
…-
Write the body in Markdown. Tables, fenced code, lists, and
<kbd>/<details>HTML all work. Do not add the page to the hub by hand —layouts/index.htmllists every regular page grouped bycategory. -
Optional fields:
lead— short subtitle under the titletags— shown on the page and used by searchweight— sort order inside a category (lower first; title is the fallback)
-
Run
hugo serverand hit/<kebab-slug>/.
A starter file: hugo new rust/index.md uses archetypes/default.md.
- The root page is generated from front matter /
data/categories.yaml. No giant HTML index. - Header search reads
/index.json(built by Hugo) and filters title, category, description, tags. - Games and other builds that are not cheatsheets belong in their own repos. Link them from
data/experiments.yamlinstead of adding pages here.
docs/hugo-pages.yml is the intended GitHub Actions workflow. Copy it to .github/workflows/hugo.yml (writing workflow files needs the workflow OAuth scope, which this PR may not have). Then:
- Settings → Pages → Build and deployment → Source: GitHub Actions.
- After merge (and the workflow file is in place), the site is
https://makefunstuff.github.io/slop-stuff/.
content/<slug>/index.md guides (kebab-case paths)
layouts/ wiki chrome (hub, single, search JSON)
static/css/wiki.css dense hacker-wiki styles
static/js/wiki.js theme, search, copy buttons
data/categories.yaml hub section order
data/experiments.yaml off-repo games / toys
hugo.toml baseURL, markup, outputs
Organic (non-AI) codebases still live somewhere else.