@@ -0,0 +1,51 @@
1+package site
2+
3+// styleData is the sample content of the /style page, taken from real projects.
4+func styleData() map[string]any {
5+ mc := Element{64, 875, "Mc", "mini-coder", "none", true}
6+ zn := Element{60, 255, "Zn", "Zoea-Nova", "be", true}
7+ fn := Element{3, 11, "Fn", "ffmpeg-node", "none", false}
8+ xc := Element{13, 61, "Xc", "xonecas.com", "fe", false}
9+ cl := Element{75, 17, "Cl", "clanker-and-the-dev", "both", true}
10+ return map[string]any{
11+ "Colours": []string{"paper", "card", "ink", "soft", "line", "empty", "accent", "det", "pre", "add", "del"},
12+ "Groups": []Element{{1, 0, "Fe", "frontend", "fe", false}, {2, 0, "Be", "backend", "be", false}, {3, 0, "Bo", "both", "both", false}, {4, 0, "Ne", "neither", "none", false}, {5, 0, "Po", "post-AI", "none", true}},
13+ "Big": mc,
14+ "Heat": []int{0, 2, 8, 27, 62, 205, 625},
15+ "Tags": []string{"frontend", "backend", "small", "big", "pre-AI", "post-AI"},
16+ "Rows": []ProjectRow{
17+ {mc, "A good idea 👾 A fast, transparent agent for the terminal", "TypeScript", 94.3, 4.7, 6, []string{"post-AI", "big"}},
18+ {zn, "Zoea-Nova is a high-performance command center designed to orchestrate massive swarms of agents", "Go", 95.8, 3.1, 5, []string{"post-AI", "big", "backend"}},
19+ {cl, "Terminal comics from the AI coding build log", "Python", 97.4, 1.6, 2, []string{"post-AI", "small", "frontend", "backend"}},
20+ {xc, "My space online.", "JavaScript", 3.6, 5.7, 3, []string{"pre-AI", "big", "frontend"}},
21+ {fn, "Node.js Module for ffmpeg library.", "JavaScript", 0, 34, 1, []string{"pre-AI", "small"}},
22+ },
23+ "Tree": map[string]any{
24+ "Head": Commit{mc, "a2174ac", "chore: pkg bump", "xonecas", "2026-10-02"},
25+ "Entries": []TreeEntry{
26+ {true, "bin", "feat: mini-coder-next 0.8.x initial implementation", "2026-09-22"},
27+ {true, "src", "fix: don't separate the diff from the related bash call", "2026-09-29"},
28+ {false, ".gitignore", "feat: fix type-stripping error when using from npm", "2026-10-02"},
29+ {false, "AGENTS.md", "docs: kitty remote-control section in AGENTS.md", "2026-09-26"},
30+ {false, "package.json", "chore: pkg bump", "2026-10-02"},
31+ {false, "README.md", "feat: docs and relaxed config", "2026-09-28"},
32+ },
33+ },
34+ "Code": map[string]any{"Name": "README.md · Usage", "Code": "ffmpeg.call(\n [ ... ], // array of ffmpeg flags\n callback // function to call after ffmpeg is done\n);\n\nffmpeg.call(['-i', 'input.avi', '-vcodec', 'libx264', 'output.mp4'], function (err, stdout) {\n if (err) throw err;\n});"},
35+ "Diff": Diff{"ffmpeg-node.js", 3, 2, "@@ -12,7 +12,8 @@ ffmpeg.exec = function (params, callback) {", []DiffLine{
36+ {" ", 12, 12, " var args = ['-y'];"},
37+ {"-", 13, 0, " args = args.concat(params);"},
38+ {"-", 14, 0, " exec('ffmpeg ' + args.join(' '), callback);"},
39+ {"+", 0, 13, " for (var key in params) {"},
40+ {"+", 0, 14, " args.push(key, params[key]);"},
41+ {"+", 0, 15, " }"},
42+ {" ", 15, 16, "};"},
43+ }},
44+ "Commits": []Commit{
45+ {Element{56, 96, "Df", "dotfiles", "none", true}, "c1dddf3", "dotfiles: sync", "xonecas", "2026-11-07"},
46+ {Element{79, 113, "Mi", "mini-coding-agent", "be", true}, "4cf0bc6", "feat: suggest models to use the cwd param instead of cd spam", "xonecas", "2026-10-28"},
47+ {mc, "a2174ac", "chore: pkg bump", "xonecas", "2026-10-02"},
48+ {fn, "8974cc5", "Merge pull request #8 from takanamito/fix-exec-method-document", "Sean Caetano Martin", "2016-06-20"},
49+ },
50+ }
51+}