Forget heavy screen recording apps and blurry videos. This free and open-source solution offers a lightweight, text-based approach to recording terminal sessions and sharing them on the web. Because the recordings capture actual terminal output rather than pixels, viewers can pause the playback and copy-paste the text directly from the player.
Recording is incredibly simple and happens right where you work. Just run a simple command in your terminal to start capturing, and exit when you are done.
Key benefits include:
services:
postgres:
image: postgres:15-alpine
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: asciinema
volumes:
- ./data/postgres:/var/lib/postgresql/data
asciinema:
image: ghcr.io/asciinema/asciinema-server:latest
restart: unless-stopped
depends_on:
- postgres
ports:
- "4000:4000"
environment:
DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres/asciinema
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
# Optional: Configure these if running behind a reverse proxy or on a specific domain
# URL_HOST: localhost
# URL_SCHEME: http
# URL_PORT: 4000
volumes:
- ./data/uploads:/opt/app/uploads
- ./data/config:/opt/app/configPOSTGRES_PASSWORD=secure_postgres_password
SECRET_KEY_BASE=generate_a_secure_random_string_here_openssl_rand_base64_48Auto-fetched about 23 hours ago
Auto-fetched about 23 hours ago