Cloudflare Git

Repos/herdr-appPublic

main
95 lines · 10.0 KBRaw
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>file preview</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet><style>body{margin:0}</style></helmet>
<div style="width: 960px; height: 600px; box-sizing: border-box; display: flex; flex-direction: column; background: #141916; color: #d8ded6; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; font-size: 13px; overflow: hidden">
<div style="height: 44px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #171d1a">
<div style="height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 7px; color: #93a096; font-size: 12.5px">Herdr-app AGENTS.md config</div>
<div style="height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 7px; background: #2f3431; border: 1px solid #2a332e; font-size: 12.5px"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"></path><path d="M14 3v5h5"></path></svg>CLAUDE.md <span style="color: #93a096">×</span></div>
</div>
<div style="flex: 1; min-height: 0; padding: 0 10px 10px; display: flex">
<div style="flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid #66726a; border-radius: 10px; background: #1a201d; overflow: hidden">
<div style="height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #2a332e; font-size: 12.5px"><span style="display: flex; color: #66726a"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"></path><path d="M14 3v5h5"></path></svg></span><span style="font-weight: 600">CLAUDE.md</span><span style="color: #66726a">~/Developer/projects/herdr-app</span></div>
<div style="height: 36px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 10px; border-bottom: 1px solid #2a332e; font-size: 12px">
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; background: #2f3431">Preview</div>
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; color: #93a096">Raw</div>
<div style="flex: 1"></div>
</div>
<div style="flex: 1; min-height: 0; overflow: hidden; padding: 16px 24px; font-size: 14px; line-height: 1.55">
<div style="font-size: 24px; font-weight: 700; margin: 4px 0 10px">CLAUDE.md</div>
<p style="margin: 0 0 12px">This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.</p>
<div style="font-size: 18px; font-weight: 600; margin: 18px 0 8px">What this repo is</div>
<p style="margin: 0 0 12px">Customizations for the <b>Herdr app</b>, the macOS desktop app for terminals and coding agents, which runs on the <b>herdr-core</b> service (<code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">hc</code>). The app's whole interface is files in <code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">~/.config/herdr-app</code>.</p>
<div style="font-size: 18px; font-weight: 600; margin: 18px 0 8px">This repo is the source of truth</div>
<p style="margin: 0 0 12px">Edit here, never in <code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">~/.config/herdr-app</code>, then run <code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">./install.sh</code>. It copies files into place and checks every mod.</p>
<div style="border: 1px solid #2a332e; border-radius: 6px; overflow: hidden; font-size: 13px">
<sc-for list="{{rows}}" as="r" hint-placeholder-count="4"><div style="display: flex; border-top: 1px solid #2a332e"><div style="width: 110px; padding: 6px 10px"><code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">{{r.f}}</code></div><div style="flex: 1; padding: 6px 10px">{{r.w}}</div></div></sc-for>
</div>
</div>
</div>
</div>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":960,"height":600}}'>
class Component extends DCLogic {
renderVals() {
return { rows: [{ f: 'keys/', w: 'the key map' }, { f: 'layouts/', w: 'the kit layout' }, { f: 'themes/', w: 'the kit light/dark color themes' }, { f: 'mods/', w: 'panels (gpui-kit JavaScript)' }] };
}
}
</script>
</head>
<body>
<x-dc>
<helmet><style>body{margin:0}</style></helmet>
<div style="width: 960px; height: 600px; box-sizing: border-box; display: flex; flex-direction: column; background: #141916; color: #d8ded6; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; font-size: 13px; overflow: hidden">
<div style="height: 44px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #171d1a">
<div style="height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 7px; color: #93a096; font-size: 12.5px">Herdr-app AGENTS.md config</div>
<div style="height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 7px; background: #2f3431; border: 1px solid #2a332e; font-size: 12.5px"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"></path><path d="M14 3v5h5"></path></svg>CLAUDE.md <span style="color: #93a096">×</span></div>
</div>
<div style="flex: 1; min-height: 0; padding: 0 10px 10px; display: flex">
<div style="flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid #66726a; border-radius: 10px; background: #1a201d; overflow: hidden">
<div style="height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #2a332e; font-size: 12.5px"><span style="display: flex; color: #66726a"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"></path><path d="M14 3v5h5"></path></svg></span><span style="font-weight: 600">CLAUDE.md</span><span style="color: #66726a">~/Developer/projects/herdr-app</span></div>
<div style="height: 36px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 10px; border-bottom: 1px solid #2a332e; font-size: 12px">
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; background: #2f3431">Preview</div>
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; color: #93a096">Raw</div>
<div style="flex: 1"></div>
</div>
<div style="flex: 1; min-height: 0; overflow: hidden; padding: 16px 24px; font-size: 14px; line-height: 1.55">
<div style="font-size: 24px; font-weight: 700; margin: 4px 0 10px">CLAUDE.md</div>
<p style="margin: 0 0 12px">This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.</p>
<div style="font-size: 18px; font-weight: 600; margin: 18px 0 8px">What this repo is</div>
<p style="margin: 0 0 12px">Customizations for the <b>Herdr app</b>, the macOS desktop app for terminals and coding agents, which runs on the <b>herdr-core</b> service (<code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">hc</code>). The app's whole interface is files in <code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">~/.config/herdr-app</code>.</p>
<div style="font-size: 18px; font-weight: 600; margin: 18px 0 8px">This repo is the source of truth</div>
<p style="margin: 0 0 12px">Edit here, never in <code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">~/.config/herdr-app</code>, then run <code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">./install.sh</code>. It copies files into place and checks every mod.</p>
<div style="border: 1px solid #2a332e; border-radius: 6px; overflow: hidden; font-size: 13px">
<sc-for list="{{rows}}" as="r" hint-placeholder-count="4"><div style="display: flex; border-top: 1px solid #2a332e"><div style="width: 110px; padding: 6px 10px"><code style="font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; background: #2c312f; padding: 1px 5px; border-radius: 4px">{{r.f}}</code></div><div style="flex: 1; padding: 6px 10px">{{r.w}}</div></div></sc-for>
</div>
</div>
</div>
</div>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":960,"height":600}}'>
class Component extends DCLogic {
renderVals() {
const row = (n, kind, text) => ({ n: String(n), text, mark: kind === ' ' ? '' : kind,
rowStyle: 'height: 22px; display: flex; align-items: center; gap: 12px;' + (kind === '+' ? ' background: #93c47d18;' : kind === '-' ? ' background: #e2735f18;' : ''),
markStyle: 'width: 10px; flex: none; color: ' + (kind === '+' ? '#93c47d' : kind === '-' ? '#e2735f' : '#66726a') });
return { rows: [
row(8, ' ', ''), row(9, ' ', 'cp keys/keys.json "$home/"'), row(10, ' ', 'cp layouts/*.json "$home/layouts/"'),
row(11, '+', 'mkdir -p "$home/themes"'), row(12, '+', 'cp themes/*.json "$home/themes/"'),
row(13, ' ', 'for m in mods/*/; do'), row(14, ' ', '    mkdir -p "$home/$m"'), row(15, ' ', '    cp -R "$m". "$home/$m"'),
] };
}
}
</script>
</body>
</html>