Back to Studio

Made to be shared

Starter styles from the CodeGlow community. Open any example, make it yours, and post it — every remix links back here.

const sleep = (ms: number) =>
new Promise<void>((res) => setTimeout(res, ms));
const cleanupJob = async () => {
console.log("cleanup started");

Async Cleanup Job

typescript

TypeScript with Midnight Glass — the signature CodeGlow look.

Remix this
export async function POST(req: Request) {
const body = await req.json();
if (!body.email) return Response.json(
{ error: "email required" },
{ status: 400 }

Sunset API Route

typescript

Sunset Hot Take vibe — built for spicy timeline posts.

Remix this
#!/usr/bin/env bash
set -euo pipefail
echo "Building..."
bun install --frozen-lockfile

Ship It Script

bash

Terminal Hacker vibe — green-on-black deploy script.

Remix this
from fastapi import FastAPI
app = FastAPI(title='CodeGlow API')
@app.get('/health')

FastAPI Endpoint

python

Ocean Focus vibe — calm blues for Python backends.

Remix this
{
"theme": "github-light",
"exportScale": 2,
"background": "warm-paper",
"watermark": true

Config Snapshot

json

Clean Minimal vibe — docs and README ready.

Remix this
use tokio::sync::mpsc;
async fn worker(mut rx: mpsc::Receiver<Job>) {
while let Some(job) = rx.recv().await {
job.run().await;

Rust Worker

rust

Ultraviolet Pop vibe — maximum timeline pop.

Remix this