Skip to content

Instantly share code, notes, and snippets.

@shrumm
shrumm / specs.md
Last active January 7, 2026 21:47

PromptBin – Product Specification

A minimal prompt sharing platform. Pastebin for prompts.

Core Concept

Anyone can paste a prompt and get a shareable link. Public prompts are discoverable via homepage and search. Unlisted prompts are accessible only by direct URL.

Content Format

# Build stage - compile and test with CGO/FTS5 support
FROM golang:1.25-bookworm AS builder
# Install build dependencies and test runtime
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
libsqlite3-dev \
nodejs \
npm \
chromium \
@shrumm
shrumm / render.yaml
Last active January 7, 2026 08:16
Render blueprint for promptbin.sh
services:
# Web service - Docker-based for CGO/FTS5 support
- type: web
name: promptbin
runtime: docker
plan: starter
region: oregon
branch: main
# Auto-deploy on push to main