Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

Blob logo and rename app to Kwant

Oleksandr Ivanchenko87418e477bb2
diff --git a/frontend/index.html b/frontend/index.html
index a6b6a47b..7a69c4e2 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' shape-rendering='crispEdges'><path fill='%234a3f8a' d='M5 1h16v1h2v1h1v2h1v16h-1v2h-1v1h-2v1H5v-1H3v-1H2v-2H1V5h1V3h1V2h2z'/><path fill='%2315112e' d='M6 2h14v1h2v1h1v2h1v14h-1v2h-1v1h-2v1H6v-1H4v-1H3v-2H2V6h1V4h1V3h2z'/><rect x='15' y='3' width='2' height='2' fill='%235ce1ff'/><rect x='15' y='6' width='1' height='1' fill='%231b1033'/><rect x='9' y='7' width='8' height='1' fill='%23fdc934'/><rect x='8' y='8' width='10' height='1' fill='%23fdc934'/><rect x='7' y='9' width='12' height='7' fill='%23fdc934'/><rect x='8' y='16' width='10' height='1' fill='%23fdc934'/><rect x='9' y='17' width='8' height='1' fill='%23d98a1f'/><rect x='18' y='9' width='1' height='7' fill='%23d98a1f'/><rect x='10' y='10' width='2' height='3' fill='%231b1033'/><rect x='14' y='10' width='2' height='3' fill='%231b1033'/><rect x='10' y='10' width='1' height='1' fill='%23fff'/><rect x='14' y='10' width='1' height='1' fill='%23fff'/><rect x='8' y='13' width='2' height='1' fill='%23ff6b81'/><rect x='16' y='13' width='2' height='1' fill='%23ff6b81'/><rect x='12' y='15' width='2' height='1' fill='%231b1033'/></svg>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Kwants // Multi-Agent AI Platform</title>
+ <title>Kwant // Multi-Agent AI Platform</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
diff --git a/frontend/src/components/AppHeader.tsx b/frontend/src/components/AppHeader.tsx
index 8ce9d36d..2b5a3105 100644
--- a/frontend/src/components/AppHeader.tsx
+++ b/frontend/src/components/AppHeader.tsx
@@ -1,5 +1,6 @@
import React from 'react';
-import { Settings, Volume2, VolumeX, Cpu, Sparkles } from 'lucide-react';
+import { Settings, Volume2, VolumeX, Cpu } from 'lucide-react';
+import { ModernAvatar } from './ModernAvatar';
import { isSfxMuted, toggleSfxMute, playSfx } from '../audio/chiptune';
interface AppHeaderProps {
@@ -25,10 +26,8 @@ export const AppHeader: React.FC<AppHeaderProps> = ({
{/* Brand & Fleet status */}
<div className="flex items-center gap-3">
<div className="flex items-center gap-2 font-semibold text-sm tracking-tight text-zinc-100">
- <div className="w-7 h-7 rounded-lg bg-gradient-to-br from-sky-500 to-indigo-600 flex items-center justify-center text-white shadow-sm">
- <Sparkles size={16} />
- </div>
- <span>Kwants</span>
+ <ModernAvatar role="brand" name="Kwant" size={30} />
+ <span className="text-[15px]">Kwant</span>
</div>
<span className="text-[11px] font-medium bg-zinc-800 text-zinc-300 px-2 py-0.5 rounded-full border border-zinc-700/60 hidden sm:inline-block">
AI Fleet
diff --git a/frontend/src/components/ModernAvatar.tsx b/frontend/src/components/ModernAvatar.tsx
index ce8266a6..cb74a92b 100644
--- a/frontend/src/components/ModernAvatar.tsx
+++ b/frontend/src/components/ModernAvatar.tsx
@@ -41,6 +41,7 @@ const hash = (s: string) => {
};
function pickCreature(role: string, name: string): Creature {
+ if (role === 'brand') return { ...PALETTES.yellow, accessory: 'antenna' };
const norm = `${role} ${name}`.toLowerCase();
const rules: Array<[string[], keyof typeof PALETTES, Accessory]> = [
[['laya'], 'violet', 'crown'],
@@ -172,7 +173,7 @@ export const ModernAvatar: React.FC<ModernAvatarProps> = ({
Array.from({ length: 16 }, (_, i) => (
<rect key={`scan-${i}`} x={3.5} y={4.5 + i} width={19} height={0.25} fill={SCAN} />
))}
- <g transform={compact ? 'translate(13 12) scale(1.2) translate(-13 -12)' : undefined}>
+ <g transform={compact ? 'translate(13 13.2) scale(1.2) translate(-13 -12)' : undefined}>
{renderCreature(creature).filter((r) => framed && !compact || r.key !== 'shadow')}
</g>
</svg>