Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
/* Files in the chat: sent attachments (Attachments.tsx) and files a bot shares (FileDownloadCard.tsx). */
.attachment-image-button {
display: flex;
border-radius: var(--radius-l);
overflow: hidden;
max-width: 220px;
max-height: 280px;
}
.attachment-image {
display: block;
}
.attachment-image.thumbnail {
max-width: 220px;
max-height: 280px;
}
.attachment-image.icon,
.attachment-placeholder.icon {
width: 28px;
height: 28px;
border-radius: var(--radius-xs);
object-fit: cover;
}
/* Shrinks to fit the viewer's grid cell, but never grows a small picture past its own size. */
.attachment-image.full {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.attachment-placeholder {
width: 160px;
height: 120px;
border-radius: var(--radius-l);
background: var(--bubble-user);
display: grid;
place-items: center;
}
.attachment-file {
padding: 8px 12px;
background: var(--bubble-user);
border-radius: var(--radius-l);
}
.attachment-file-name {
max-width: 200px;
}
.attachment-viewer {
flex: 1;
min-height: 0;
padding: 12px;
display: grid;
grid-template-columns: minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
place-items: center;
}
.file-card {
padding: 14px;
background: var(--bubble-agent);
border-radius: var(--radius-l);
max-width: 380px;
}
.file-card-image {
display: flex;
align-self: flex-start;
border-radius: var(--radius-m);
overflow: hidden;
}
.file-card-detail {
overflow-wrap: anywhere;
}