Skip to content
← Public packages

@kentcdodds/cloudflare-connect-personal-software-ecosystem

I Built Your Personal Software Ecosystem: Kent C. Dodds's Cloudflare Connect 2026 lightning talk deck (Reveal.js). How Kody gives every user one of everything on Cloudflare.

FollowForkOpen app

Files

18-primitives.html

22 lines · 952 B · HTML
<section id="primitives" data-slide="primitives" data-title="Primitives to build anything">
	<h2>Primitives to build anything</h2>
	<pre><code class="language-typescript">import { createAuthenticatedFetch, kody, packageStorage,
  workflows } from "kody:runtime"

export default async function main() {
  const since = await packageStorage().get("sinceId")
  const gh = await createAuthenticatedFetch("github")
  const me = await (await gh("https://api.github.com/user")).json()
  await workflows.create({ exportName: "./rebuild-index",
    params: { login: me.login, since } })
  return kody.emailSend({
    subject: `${me.login} digest`,
    text: `since ${since ?? "start"}`,
  })
}</code></pre>
	<aside class="notes">
		Solution: the platform already has the boring parts. Runtime: cursor from package
		storage, GitHub whoami, that login and cursor feed the rebuild workflow, email names
		the same digest. Next: the manifest.
	</aside>
</section>