Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
:root {
color: #f5f5f3;
background: #080808;
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
* {
box-sizing: border-box;
}
html,
body,
#root {
min-height: 100%;
height: auto;
}
body {
min-width: 320px;
margin: 0;
overflow: auto;
background:
radial-gradient(circle at 84% 6%, rgb(79 87 80 / 14%), transparent 26rem),
radial-gradient(circle at 9% 24%, rgb(47 90 69 / 10%), transparent 30rem),
#080808;
}
button {
font: inherit;
}
.preview-shell {
width: min(100%, 1520px);
margin: 0 auto;
padding: 64px 34px 88px;
}
.preview-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 40px;
margin-bottom: 34px;
}
.eyebrow {
margin: 0 0 13px;
color: #65d69d;
font: 750 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
letter-spacing: 0.16em;
text-transform: uppercase;
}
h1,
.section-heading h2 {
margin: 0;
letter-spacing: -0.055em;
}
h1 {
font-size: clamp(42px, 6vw, 78px);
line-height: 0.94;
}
.intro {
max-width: 730px;
margin: 20px 0 0;
color: #9c9c98;
font-size: 15px;
line-height: 1.6;
}
.replay-all,
.motion-meta button {
border: 1px solid #42423f;
color: #f4f4f1;
background: #1b1b1a;
cursor: pointer;
transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.replay-all:hover,
.motion-meta button:hover {
border-color: #71716d;
background: #292927;
transform: translateY(-1px);
}
.replay-all:focus-visible,
.motion-meta button:focus-visible {
outline: 2px solid #65d69d;
outline-offset: 3px;
}
.replay-all {
display: flex;
align-items: center;
gap: 10px;
flex: 0 0 auto;
min-height: 46px;
padding: 0 17px;
border-radius: 999px;
font-size: 13px;
font-weight: 650;
}
.replay-all span {
font-size: 20px;
line-height: 1;
}
.motion-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.motion-card {
min-width: 0;
overflow: hidden;
border: 1px solid #272725;
border-radius: 18px;
background: linear-gradient(145deg, #191918, #10100f 72%);
}
.motion-stage {
display: grid;
min-height: 228px;
place-items: center;
overflow: hidden;
border-bottom: 1px solid #282826;
background:
radial-gradient(circle at 50% 52%, rgb(255 255 255 / 5%), transparent 43%),
linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px),
#121211;
background-size: auto, 24px 24px, 24px 24px, auto;
}
.motion-meta {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 16px;
padding: 17px 18px 18px;
}
.motion-meta > div {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 3px 10px;
min-width: 0;
}
.motion-number {
color: #62625e;
font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.motion-meta h2 {
margin: 0;
font-size: 15px;
line-height: 1;
text-transform: capitalize;
}
.motion-meta p {
grid-column: 2;
overflow: hidden;
margin: 0;
color: #858581;
font-size: 11px;
line-height: 1.4;
text-overflow: ellipsis;
white-space: nowrap;
}
.motion-meta button {
flex: 0 0 auto;
min-height: 31px;
padding: 0 11px;
border-radius: 999px;
color: #aaa9a4;
font-size: 10px;
font-weight: 650;
}
.expression-library {
margin-top: 92px;
}
.section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 32px;
margin-bottom: 25px;
}
.section-heading h2 {
font-size: clamp(32px, 4vw, 52px);
line-height: 0.98;
}
.section-heading > p {
max-width: 330px;
margin: 0;
color: #7d7d79;
font-size: 12px;
line-height: 1.5;
text-align: right;
}
.matrix-wrap {
overflow-x: auto;
border: 1px solid #292927;
border-radius: 18px;
background: #10100f;
}
.matrix {
display: grid;
grid-template-columns: 150px repeat(10, minmax(116px, 1fr));
min-width: 1410px;
}
.corner-label,
.column-label,
.row-label,
.mascot-cell {
border-right: 1px solid #2a2a28;
border-bottom: 1px solid #2a2a28;
}
.corner-label {
display: flex;
align-items: flex-end;
padding: 16px;
color: #6d6d69;
font: 650 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
text-transform: uppercase;
}
.column-label {
display: grid;
align-content: end;
gap: 5px;
min-height: 92px;
padding: 14px 12px;
}
.column-label strong,
.row-label strong {
font-size: 12px;
text-transform: capitalize;
}
.column-label span {
color: #696965;
font-size: 9px;
line-height: 1.25;
}
.matrix-row {
display: contents;
}
.row-label {
display: grid;
grid-template-columns: 20px 1fr;
align-content: center;
align-items: center;
gap: 4px 9px;
min-height: 112px;
padding: 14px 16px;
}
.row-label code {
grid-column: 2;
color: #62625e;
font-size: 9px;
}
.swatch {
grid-row: span 2;
width: 18px;
height: 18px;
border-radius: 50%;
}
.mascot-cell {
display: grid;
min-height: 112px;
place-items: center;
transition: background 140ms ease;
}
.mascot-cell:hover {
background: #1a1a18;
}
.matrix > :nth-child(11n) {
border-right: 0;
}
.matrix-row:last-child > * {
border-bottom: 0;
}
@media (max-width: 1120px) {
.motion-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 820px) {
.preview-shell {
padding: 40px 18px 64px;
}
.preview-header,
.section-heading {
display: grid;
}
.section-heading > p {
text-align: left;
}
.motion-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 520px) {
.motion-grid {
grid-template-columns: 1fr;
}
}
/* ------------------------------------------------------------------ tuner */
.tuner {
display: grid;
grid-template-columns: minmax(360px, 460px) 1fr;
gap: 12px;
margin-bottom: 56px;
}
.tuner-stage,
.tuner-block {
border: 1px solid #272725;
border-radius: 18px;
background: linear-gradient(145deg, #191918, #10100f 72%);
}
.tuner-stage {
display: grid;
align-content: center;
justify-items: center;
gap: 18px;
padding: 32px;
background:
radial-gradient(circle at 50% 46%, rgb(255 255 255 / 5%), transparent 46%),
linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px),
#121211;
background-size: auto, 24px 24px, 24px 24px, auto;
}
.tuner-readout {
display: flex;
align-items: baseline;
gap: 10px;
}
.tuner-readout strong {
font-size: 19px;
letter-spacing: -0.03em;
}
.tuner-readout span {
color: #7d7d79;
font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
text-transform: uppercase;
letter-spacing: 0.1em;
}
.tuner-buttons {
display: flex;
gap: 8px;
}
.tuner-buttons button,
.chips button {
border: 1px solid #42423f;
border-radius: 999px;
color: #d9d9d5;
background: #1b1b1a;
cursor: pointer;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.tuner-buttons button.on {
border-color: #65d69d;
color: #071a11;
background: #65d69d;
}
.tuner-buttons button {
min-height: 32px;
padding: 0 14px;
font-size: 12px;
font-weight: 650;
}
.tuner-buttons button:hover,
.chips button:hover {
border-color: #71716d;
background: #292927;
}
.chips button.on {
border-color: #65d69d;
color: #071a11;
background: #65d69d;
}
.tuner-controls {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
min-width: 0;
}
.tuner-block {
min-width: 0;
max-height: 620px;
overflow-y: auto;
padding: 20px;
}
.tuner-block h3 {
margin: 0 0 12px;
color: #65d69d;
font: 750 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.tuner-block h3:not(:first-child) {
margin-top: 24px;
}
.tuner-slider {
display: grid;
grid-template-columns: 1fr 116px 52px;
align-items: center;
gap: 10px;
padding: 5px 0;
}
.tuner-slider-name {
display: grid;
gap: 1px;
min-width: 0;
font-size: 12px;
}
.tuner-slider-name em {
overflow: hidden;
color: #6d6d69;
font-size: 10px;
font-style: normal;
text-overflow: ellipsis;
white-space: nowrap;
}
.tuner-slider input {
width: 100%;
accent-color: #65d69d;
}
.tuner-slider output {
color: #aaa9a4;
font: 650 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
text-align: right;
}
.tuner-code {
margin: 0;
padding: 12px 14px;
overflow-x: auto;
border: 1px solid #2a2a28;
border-radius: 12px;
color: #9fe6b5;
background: #0c0c0b;
font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.chips button {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 27px;
padding: 0 10px;
font-size: 11px;
font-weight: 600;
}
.chips .swatch {
width: 10px;
height: 10px;
}
@media (max-width: 1240px) {
.tuner,
.tuner-controls {
grid-template-columns: 1fr;
}
.tuner-block {
max-height: none;
}
}