Branchwell

OpenTalon / website · opentalon.ai / commits / 04b66896

Website: full current site source new

written by Branchwell · 04b668969a38ef64e52a279b4250385b97793bf6 · parent bf5cadd6

3 files changed

research.html changed

2121 <main class="cr rs"><h1>Research</h1>
2222 <p>Public research on focus, interruptions and working with AI agents. We summarize it in our own words and link every original source so you can read it yourself.</p>
2323 <!-- plan:start -->
24- <style>.rs-plan{margin:8px 0 48px}.rs-plan p{font-size:17px;line-height:1.65;margin:0 0 14px;max-width:760px}.rs-h2{font-size:clamp(28px,4.4vw,42px);line-height:1.12;letter-spacing:-.01em;margin:56px 0 16px}.rs-h3{font-size:clamp(20px,2.4vw,24px);line-height:1.3;margin:40px 0 14px}.rs-status{border-left:4px solid currentColor;padding:10px 16px;background:rgba(128,128,128,.07);border-radius:0 12px 12px 0}.rs-small{font-size:15px!important;opacity:.8}.rs-split{display:grid;gap:24px;align-items:center;margin:24px 0}@media(min-width:820px){.rs-split{grid-template-columns:1.2fr 1fr;gap:40px}.rs-split.rs-flip>figure{order:-1}.rs-split.rs-flip{grid-template-columns:1fr 1.2fr}}.rs-fig{margin:0;border-radius:18px;overflow:hidden;aspect-ratio:1/1;max-height:440px}.rs-wide-fig{aspect-ratio:16/7;max-height:none;margin:22px 0 0}.rs-flow{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;counter-reset:f}.rs-flow li{position:relative;border:1px solid rgba(128,128,128,.32);border-radius:18px;padding:52px 18px 18px;background:rgba(128,128,128,.05);counter-increment:f}.rs-flow li::before{content:counter(f);position:absolute;top:14px;left:18px;width:28px;height:28px;border-radius:50%;border:2px solid currentColor;font-size:14px;font-weight:700;line-height:24px;text-align:center}.rs-flow li::after{content:"";position:absolute;top:28px;left:56px;right:18px;border-top:2px dashed rgba(128,128,128,.45)}.rs-flow li:last-child::after{display:none}.rs-flow li b{display:block;font-size:17px;margin-bottom:6px}.rs-flow li span{display:block;font-size:15px;line-height:1.55;opacity:.85}.rs-tree{overflow-x:auto;padding:4px 0 8px}.rs-tree ul{list-style:none;margin:0;padding-left:22px;position:relative}.rs-tree>ul{padding-left:0}.rs-tree li{position:relative;padding:6px 0 6px 18px}.rs-tree>ul>li{padding-left:0}.rs-tree li::before{content:"";position:absolute;left:0;top:0;bottom:0;border-left:1px solid rgba(128,128,128,.55)}.rs-tree li::after{content:"";position:absolute;left:0;top:19px;width:14px;border-top:1px solid rgba(128,128,128,.55)}.rs-tree li:last-child::before{bottom:auto;height:19px}.rs-tree>ul>li::before,.rs-tree>ul>li::after{display:none}.rs-tree span{display:inline-block;border:1px solid rgba(128,128,128,.4);border-radius:12px;padding:8px 14px;font-size:15px;background:rgba(128,128,128,.06)}.rs-tree>ul>li>span{font-weight:700;border-width:2px;font-size:16px}@media(min-width:760px){.rs-tree>ul>li{text-align:center}.rs-tree>ul>li>ul{display:flex;justify-content:center;gap:12px;padding:24px 0 0}.rs-tree>ul>li>ul::before{content:"";position:absolute;top:0;left:50%;height:12px;border-left:1px solid rgba(128,128,128,.55)}.rs-tree>ul>li>ul>li{flex:1 1 0;max-width:260px;padding:14px 0 0;text-align:center}.rs-tree>ul>li>ul>li::before{top:0;bottom:auto;left:-6px;right:-6px;height:0;border-left:0;border-top:1px solid rgba(128,128,128,.55)}.rs-tree>ul>li>ul>li:first-child::before{left:50%}.rs-tree>ul>li>ul>li:last-child::before{right:50%;height:0}.rs-tree>ul>li>ul>li:only-child::before{display:none}.rs-tree>ul>li>ul>li::after{top:0;left:50%;width:0;height:14px;border-top:0;border-left:1px solid rgba(128,128,128,.55)}.rs-tree>ul>li>ul>li>span{display:block;font-weight:600}.rs-tree>ul>li>ul>li ul{padding:8px 0 0}.rs-tree>ul>li>ul>li li{padding:3px 0}.rs-tree>ul>li>ul>li li::before,.rs-tree>ul>li>ul>li li::after{display:none}.rs-tree>ul>li>ul>li li span{font-size:13px;padding:5px 10px;border-style:dashed}}.rs-cols{display:grid;gap:14px;margin:32px 0 0}@media(min-width:720px){.rs-cols{grid-template-columns:1fr 1fr}}.rs-card{border-radius:18px;padding:4px 22px 18px;background:rgba(128,128,128,.07)}.rs-card .rs-h3{margin-top:18px}.rs-bullets{margin:0 0 8px;padding-left:0;list-style:none}.rs-bullets li{font-size:16px;line-height:1.6;margin:6px 0;padding-left:28px;position:relative}.rs-bullets li::before{content:"\2713";position:absolute;left:0;top:0;font-weight:700;opacity:.8}.rs-arrows li::before{content:"\2192"}.rs-steps{list-style:none;margin:8px 0 0;padding:0;counter-reset:s;max-width:820px}.rs-steps li{position:relative;padding:0 0 22px 60px;counter-increment:s}.rs-steps li::before{content:counter(s);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;border:2px solid currentColor;font-weight:700;font-size:17px;line-height:36px;text-align:center}.rs-steps li::after{content:"";position:absolute;left:19px;top:46px;bottom:4px;border-left:2px solid rgba(128,128,128,.35)}.rs-steps li:last-child::after{display:none}.rs-steps b{display:block;font-size:18px;margin:8px 0 4px}.rs-steps span{display:block;font-size:16px;line-height:1.6;opacity:.85}.rs-list{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}.rs-item{display:flex;flex-direction:column;border:1px solid rgba(128,128,128,.3);border-radius:18px;padding:20px 22px;background:rgba(128,128,128,.05)}.rs-item h2{font-size:19px;line-height:1.35;margin:0 0 8px}.rs-item h2 a{color:inherit;text-decoration:none}.rs-item h2 a:hover{text-decoration:underline;text-underline-offset:3px}.rs-item p{margin:0 0 12px;font-size:16px;line-height:1.6}.rs-src{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px!important;opacity:.75;margin:0 0 10px!important;text-transform:uppercase;letter-spacing:.06em}.rs-year{flex:none;border:1px solid rgba(128,128,128,.45);border-radius:999px;padding:2px 9px;letter-spacing:0}.rs-read{margin-top:auto;color:inherit;font-size:15px;font-weight:600;text-underline-offset:3px}.rs-updated{font-size:14px;opacity:.65;margin-top:28px}.rs-topics small{opacity:.6;margin-left:4px}.rs-topic{margin-top:44px;padding-top:8px;border-top:1px solid rgba(128,128,128,.25)}.rs-h2 small{font-size:.5em;opacity:.6;font-weight:400}</style>
24+ <style>.rs-plan{margin:8px 0 48px}.rs-plan p{font-size:17px;line-height:1.65;margin:0 0 14px;max-width:760px}.rs-h2{font-size:clamp(28px,4.4vw,42px);line-height:1.12;letter-spacing:-.01em;margin:56px 0 16px}.rs-h3{font-size:clamp(20px,2.4vw,24px);line-height:1.3;margin:40px 0 14px}.rs-status{border-left:4px solid currentColor;padding:10px 16px;background:rgba(128,128,128,.07);border-radius:0 12px 12px 0}.rs-small{font-size:15px!important;opacity:.8}.rs-split{display:grid;gap:24px;align-items:center;margin:24px 0}@media(min-width:820px){.rs-split{grid-template-columns:1.2fr 1fr;gap:40px}.rs-split.rs-flip>figure{order:-1}.rs-split.rs-flip{grid-template-columns:1fr 1.2fr}}.rs-fig{margin:0;border-radius:18px;overflow:hidden;aspect-ratio:1/1;max-height:440px}.rs-wide-fig{aspect-ratio:16/7;max-height:none;margin:22px 0 0}.rs-flow{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;counter-reset:f}.rs-flow li{position:relative;border:1px solid rgba(128,128,128,.32);border-radius:18px;padding:52px 18px 18px;background:rgba(128,128,128,.05);counter-increment:f}.rs-flow li::before{content:counter(f);position:absolute;top:14px;left:18px;width:28px;height:28px;border-radius:50%;border:2px solid currentColor;font-size:14px;font-weight:700;line-height:24px;text-align:center}.rs-flow li::after{content:"";position:absolute;top:28px;left:56px;right:18px;border-top:2px dashed rgba(128,128,128,.45)}.rs-flow li:last-child::after{display:none}.rs-flow li b{display:block;font-size:17px;margin-bottom:6px}.rs-flow li span{display:block;font-size:15px;line-height:1.55;opacity:.85}.rs-tree{overflow-x:auto;padding:4px 0 8px}.rs-tree ul{list-style:none;margin:0;padding-left:22px;position:relative}.rs-tree>ul{padding-left:0}.rs-tree li{position:relative;padding:6px 0 6px 18px}.rs-tree>ul>li{padding-left:0}.rs-tree li::before{content:"";position:absolute;left:0;top:0;bottom:0;border-left:1px solid rgba(128,128,128,.55)}.rs-tree li::after{content:"";position:absolute;left:0;top:19px;width:14px;border-top:1px solid rgba(128,128,128,.55)}.rs-tree li:last-child::before{bottom:auto;height:19px}.rs-tree>ul>li::before,.rs-tree>ul>li::after{display:none}.rs-tree span{display:inline-block;border:1px solid rgba(128,128,128,.4);border-radius:12px;padding:8px 14px;font-size:15px;background:rgba(128,128,128,.06)}.rs-tree>ul>li>span{font-weight:700;border-width:2px;font-size:16px}@media(min-width:760px){.rs-tree>ul>li{text-align:center}.rs-tree>ul>li>ul{display:flex;justify-content:center;gap:12px;padding:24px 0 0}.rs-tree>ul>li>ul::before{content:"";position:absolute;top:0;left:50%;height:12px;border-left:1px solid rgba(128,128,128,.55)}.rs-tree>ul>li>ul>li{flex:1 1 0;max-width:260px;padding:14px 0 0;text-align:center}.rs-tree>ul>li>ul>li::before{top:0;bottom:auto;left:-6px;right:-6px;height:0;border-left:0;border-top:1px solid rgba(128,128,128,.55)}.rs-tree>ul>li>ul>li:first-child::before{left:50%}.rs-tree>ul>li>ul>li:last-child::before{right:50%;height:0}.rs-tree>ul>li>ul>li:only-child::before{display:none}.rs-tree>ul>li>ul>li::after{top:0;left:50%;width:0;height:14px;border-top:0;border-left:1px solid rgba(128,128,128,.55)}.rs-tree>ul>li>ul>li>span{display:block;font-weight:600}.rs-tree>ul>li>ul>li ul{padding:8px 0 0}.rs-tree>ul>li>ul>li li{padding:3px 0}.rs-tree>ul>li>ul>li li::before,.rs-tree>ul>li>ul>li li::after{display:none}.rs-tree>ul>li>ul>li li span{font-size:13px;padding:5px 10px;border-style:dashed}}@media(min-width:760px){.rs-flow.rs-flow-3{grid-template-columns:repeat(3,1fr)}}.rs-flow.rs-flow-3 li:nth-child(3n)::after{display:none}.rs-selforg{font-size:1.08em;line-height:1.6;max-width:62ch}.rs-net{max-width:560px;margin:18px auto 8px}.rs-net-svg{display:block;width:100%;height:auto;overflow:visible}.rs-circles{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.rs-circles>li{border:1px solid rgba(128,128,128,.4);border-radius:18px;padding:14px 16px;background:rgba(128,128,128,.06)}.rs-circles>li>b{display:block;font-size:16px}.rs-circles ul{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.rs-circles ul li{font-size:13px;border:1px dashed rgba(128,128,128,.55);border-radius:999px;padding:4px 10px}.rs-cols{display:grid;gap:14px;margin:32px 0 0}@media(min-width:720px){.rs-cols{grid-template-columns:1fr 1fr}}.rs-card{border-radius:18px;padding:4px 22px 18px;background:rgba(128,128,128,.07)}.rs-card .rs-h3{margin-top:18px}.rs-bullets{margin:0 0 8px;padding-left:0;list-style:none}.rs-bullets li{font-size:16px;line-height:1.6;margin:6px 0;padding-left:28px;position:relative}.rs-bullets li::before{content:"\2713";position:absolute;left:0;top:0;font-weight:700;opacity:.8}.rs-arrows li::before{content:"\2192"}.rs-steps{list-style:none;margin:8px 0 0;padding:0;counter-reset:s;max-width:820px}.rs-steps li{position:relative;padding:0 0 22px 60px;counter-increment:s}.rs-steps li::before{content:counter(s);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;border:2px solid currentColor;font-weight:700;font-size:17px;line-height:36px;text-align:center}.rs-steps li::after{content:"";position:absolute;left:19px;top:46px;bottom:4px;border-left:2px solid rgba(128,128,128,.35)}.rs-steps li:last-child::after{display:none}.rs-steps b{display:block;font-size:18px;margin:8px 0 4px}.rs-steps span{display:block;font-size:16px;line-height:1.6;opacity:.85}.rs-list{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}.rs-item{display:flex;flex-direction:column;border:1px solid rgba(128,128,128,.3);border-radius:18px;padding:20px 22px;background:rgba(128,128,128,.05)}.rs-item h2{font-size:19px;line-height:1.35;margin:0 0 8px}.rs-item h2 a{color:inherit;text-decoration:none}.rs-item h2 a:hover{text-decoration:underline;text-underline-offset:3px}.rs-item p{margin:0 0 12px;font-size:16px;line-height:1.6}.rs-src{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px!important;opacity:.75;margin:0 0 10px!important;text-transform:uppercase;letter-spacing:.06em}.rs-year{flex:none;border:1px solid rgba(128,128,128,.45);border-radius:999px;padding:2px 9px;letter-spacing:0}.rs-read{margin-top:auto;color:inherit;font-size:15px;font-weight:600;text-underline-offset:3px}.rs-updated{font-size:14px;opacity:.65;margin-top:28px}.rs-topics small{opacity:.6;margin-left:4px}.rs-topic{margin-top:44px;padding-top:8px;border-top:1px solid rgba(128,128,128,.25)}.rs-h2 small{font-size:.5em;opacity:.6;font-weight:400}</style>
2525 <section class="rs-plan" aria-labelledby="plan">
2626 <h2 id="plan" class="rs-h2">How OpenTalon works</h2>
2727 <p class="rs-status"><strong>Where we are:</strong> Free for Mac.</p>
⋯
3232 <li><b>Hand off</b><span>Optionally let an agent take a task.</span></li>
3333 <li><b>Finish</b><span>Review and close the work.</span></li>
3434 </ol>
35- <h3 class="rs-h3" id="earn">How it keeps going</h3><p>It is free. It is built and kept going by our own small team, with no ads and no selling of anyone&#x27;s data.</p>
36- <h3 class="rs-h3" id="team">How we're organized</h3>
37- <div class="rs-tree" role="img" aria-label="Team chart for OpenTalon"><ul><li><span>OpenTalon</span><ul><li><span>Mac app</span></li><li><span>Agent connections</span></li><li><span>Board and sync</span></li><li><span>Research</span></li></ul></li></ul></div>
38- <p class="rs-small">Everyone on the team grows through the same three levels: Explorer (starting out), Builder (growing) and Guide (on the way to mastery).</p>
39-
35+ <h3 class="rs-h3" id="earn">How it keeps going</h3><p>It is free, with no ads and no selling of anyone&#x27;s data. It belongs to everyone, and anyone can help build it.</p>
4036 <div class="rs-cols"><div class="rs-card"><h3 class="rs-h3">What we've decided</h3><ul class="rs-bullets rs-checks"><li>No setup needed to start.</li><li>Agents are optional.</li><li>Free and open source.</li></ul></div><div class="rs-card"><h3 class="rs-h3">What comes next</h3><ul class="rs-bullets rs-arrows"><li>More agent connections.</li></ul></div></div>
4137 <h3 class="rs-h3" id="copy">Start your own</h3><p>Nothing here is secret. Anyone can copy how OpenTalon works and open their own version.</p><ol class="rs-steps">
4238 <li><b>Read this page</b><span>Everything about how OpenTalon works is here and in the public sources below. Our designs, specs and plans are public domain.</span></li>
4339 <li><b>Pick your name and place</b><span>Choose your own name and where you will start. You do not need to ask us, and you do not need to call it OpenTalon.</span></li>
44- <li><b>Build the team</b><span>Start with the roles in the chart above. One person can hold several roles at first.</span></li>
4540 <li><b>Follow the steps</b><span>Run it the way the &quot;How it works&quot; steps describe, then improve on it.</span></li>
4641 <li><b>Share back</b><span>Publish what you learn, so the next person can start further ahead.</span></li>
4742 </ol></section>

src/main.js changed

7474 } else {
7575 for (const node of revealed) node.classList.add('in')
7676 }
77+
78+ /* Footer Source link: this page's code on Branchwell. */
79+ for (const link of document.querySelectorAll('[data-source-link]')) {
80+ link.href = `https://branchwell.ai/opentalon/website/for${location.pathname}`
81+ }

vite.config.js changed

11 import { readFileSync } from 'node:fs'
2- import { basename } from 'node:path'
2+ import { basename, relative } from 'node:path'
33 import { defineConfig } from 'vite'
44
55 const siteHeaderFile = new URL('./src/site-header.html', import.meta.url)
6+ const siteRoot = new URL('./', import.meta.url).pathname
67
8+ // Adds a footer Source link to each page's own code on Branchwell. src/main.js updates it from
9+ // location.pathname, so the 404 page and any other URL a page answers point at the right path.
10+ function addSourceLink(html, filename) {
11+ const path = '/' + relative(siteRoot, filename).replace(/\.html$/, '').replace(/(^|\/)index$/, '')
12+ return html.replace(/(class="footer-links"[^>]*>[\s\S]*?\n( *)<a [^\n]*)(\s*\n *<\/(?:nav|div)>)/, (_, links, indent, close) =>
13+ `${links}\n${indent}<a href="https://branchwell.ai/opentalon/website/for${path}" rel="noopener" data-source-link>Source</a>${close}`)
14+ }
15+
716 // Keep fonts as separate files. Vite inlines small assets as data: URLs, and the
817 // site's Content-Security-Policy (font-src 'self') blocks data: fonts.
918 export default defineConfig({
⋯
1625 const href = `href="/${page}"`
1726 const header = readFileSync(siteHeaderFile, 'utf8').trimEnd()
1827 .replace(href, `${href} aria-current="page"`)
19- return html.replace(/^ {6}<!-- site-header -->$/m, header)
28+ return addSourceLink(html.replace(/^ {6}<!-- site-header -->$/m, header), filename)
2029 },
2130 },
2231 }],

Browse files at this commit