Skip to content

Commit 9e46079

Browse files
committed
feat(kefka): use a social preview link to the tigris blog
Signed-off-by: Xe Iaso <xe@tigrisdata.com>
1 parent 72e9f0f commit 9e46079

2 files changed

Lines changed: 63 additions & 2 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
export interface LinkPreviewCardProps {
2+
url: string;
3+
title: string;
4+
description?: string;
5+
/** Optional preview/OG image URL. When omitted the card renders text-only. */
6+
image?: string;
7+
/** Override the source label. Defaults to the URL's hostname. */
8+
siteName?: string;
9+
}
10+
11+
export default function LinkPreviewCard({
12+
url,
13+
title,
14+
description,
15+
image,
16+
siteName,
17+
}: LinkPreviewCardProps) {
18+
const host = siteName ?? new URL(url).hostname.replace(/^www\./, "");
19+
20+
return (
21+
<a
22+
href={url}
23+
target="_blank"
24+
rel="noopener noreferrer"
25+
class="group not-prose no-underline visited:no-underline flex flex-col sm:flex-row max-w-xl mx-auto my-8 overflow-hidden rounded-xl border border-bg-3 dark:border-bgDark-3 bg-bg-0 dark:bg-bgDark-0 shadow-sm transition duration-150 hover:-translate-y-0.5 hover:shadow-md"
26+
>
27+
{image && (
28+
<div class="sm:w-52 sm:shrink-0 aspect-[1.91/1] sm:aspect-auto overflow-hidden bg-bg-2 dark:bg-bgDark-2">
29+
<img
30+
src={image}
31+
alt=""
32+
loading="lazy"
33+
class="h-full w-full object-cover transition-transform duration-200 group-hover:scale-105"
34+
/>
35+
</div>
36+
)}
37+
<div class="flex flex-col justify-center gap-1 p-4">
38+
<span class="font-mono text-xs uppercase tracking-wide text-orange-light dark:text-orangeDark-light group-hover:text-bg-0 dark:group-hover:text-white">
39+
{host}
40+
</span>
41+
<span class="font-serif text-lg font-semibold leading-snug text-fg-0 dark:text-fgDark-0 group-hover:text-bg-0 dark:group-hover:text-white">
42+
{title}
43+
</span>
44+
{description && (
45+
<span class="text-sm leading-snug text-fg-3 dark:text-fgDark-3 line-clamp-3 group-hover:text-bg-1 dark:group-hover:text-bg-1">
46+
{description}
47+
</span>
48+
)}
49+
</div>
50+
</a>
51+
);
52+
}

lume/src/blog/2026/dancing-mad-sandboxing.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ hero:
1010
---
1111

1212
import Conv from "../../_components/XeblogConv.tsx";
13+
import LinkPreviewCard from "../../_components/LinkPreviewCard.tsx";
1314

1415
<ConvP>
1516
<Conv name="Cadey" mood="enby">
@@ -329,8 +330,16 @@ I want more experimental WebAssembly hacks like this to exist. I'll keep poking
329330

330331
## Put your programs in clown jail
331332

332-
This has legs. [yeet](https://github.com/TecharoHQ/yeet) could run [Anubis](https://anubis.techaro.lol) builds on Windows; and if management ever makes you babysit AI agents, clown jail is a decent answer.
333+
With some effort, [yeet](https://github.com/TecharoHQ/yeet) could use Kefka's shell utilities to run [Anubis](https://anubis.techaro.lol) builds on Windows; and if management ever makes you babysit AI agents, clown jail is a decent answer.
333334

334335
The code lives [on Tangled](https://tangled.org/xeiaso.net/kefka). I'm wiring it into [an agent harness](https://github.com/tigrisdata-community/mithras) so I can automate small tools against a local model (I'm loving Qwen3-36B-A3B).
335336

336-
There's a sister post on the Tigris blog that goes deeper into the AI-agent angle and the porting work using Claude Code. If you want, you can check it out here: [Give your agents disposable environments in Go](https://tigrisdata.com/blog/agent-sandbox-go).
337+
There's a sister post on the Tigris blog that goes deeper into the AI-agent angle and the porting work using Claude Code. If you want, you can check it out here:
338+
339+
<LinkPreviewCard
340+
url="https://tigrisdata.com/blog/agent-sandbox-go"
341+
image="https://files.xeiaso.net/blog/tigris/mad-god-with-robots.webp"
342+
siteName="Tigris Data"
343+
title="Give your agents disposable environments in Go"
344+
description="Kefka is a userspace shell sandbox in Go that gives every AI agent its own copy-on-write Tigris bucket fork plus Python, jq, and ripgrep via WebAssembly."
345+
/>

0 commit comments

Comments
 (0)