xonecas.io
8356
Wx

www-xonecas-io / files

www-xonecas-io / internal / site / style.go

3.7 KB
1package site
2
3// StyleData is the sample content of the /style page, taken from real projects.
4func 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", "edge", "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"}, "", "", "", []string{"tui", "ai-agent", "llm", "node", "tree-sitter"}},
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"}, "", "", "", []string{"tui", "ai-agent", "sqlite"}},
19			{cl, "Terminal comics from the AI coding build log", "Python", 97.4, 1.6, 2, []string{"post-AI", "small", "frontend", "backend"}, "", "", "", []string{"skills", "pytorch", "jekyll"}},
20			{xc, "My space online.", "JavaScript", 3.6, 5.7, 3, []string{"pre-AI", "big", "frontend"}, "", "", "", []string{"node"}},
21			{fn, "Node.js Module for ffmpeg library.", "JavaScript", 0, 34, 1, []string{"pre-AI", "small"}, "", "", "", []string{"node"}},
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, []DiffLine{
36			{"@", 0, 0, "@@ -12,7 +12,8 @@ ffmpeg.exec = function (params, callback) {"},
37			{" ", 12, 12, "  var args = ['-y'];"},
38			{"-", 13, 0, "  args = args.concat(params);"},
39			{"-", 14, 0, "  exec('ffmpeg ' + args.join(' '), callback);"},
40			{"+", 0, 13, "  for (var key in params) {"},
41			{"+", 0, 14, "    args.push(key, params[key]);"},
42			{"+", 0, 15, "  }"},
43			{" ", 15, 16, "};"},
44		}, ""},
45		"Commits": []Commit{
46			{Element{56, 96, "Df", "dotfiles", "none", true}, "c1dddf3", "dotfiles: sync", "xonecas", "2026-11-07", ""},
47			{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", ""},
48			{mc, "a2174ac", "chore: pkg bump", "xonecas", "2026-10-02", ""},
49			{fn, "8974cc5", "Merge pull request #8 from takanamito/fix-exec-method-document", "Sean Caetano Martin", "2016-06-20", ""},
50		},
51	}
52}