Self-host Pastebin and URL shortener
  • HTML 59.8%
  • TypeScript 40.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
swwind 5078497d22
All checks were successful
CI / test (push) Successful in 15s
chore: fix ci
2026-09-11 18:40:55 +08:00
.forgejo/workflows chore: fix ci 2026-09-11 18:40:55 +08:00
public add public folder 2024-11-13 18:42:32 +08:00
templates feat: port to depo 2026-09-10 20:57:30 +08:00
.env feat: port to depo 2026-09-10 20:57:30 +08:00
.gitignore feat: port to depo 2026-09-10 20:57:30 +08:00
deno.json chore: use native dotenv loading 2026-09-10 21:02:54 +08:00
deno.lock chore: use native dotenv loading 2026-09-10 21:02:54 +08:00
envs.ts feat: port to depo 2026-09-10 20:57:30 +08:00
kv.ts feat: port to depo 2026-09-10 20:57:30 +08:00
main.ts chore: use native dotenv loading 2026-09-10 21:02:54 +08:00
README.md docs: remove Deno Deploy reference 2026-09-10 21:09:18 +08:00
templates.ts feat: port to depo 2026-09-10 20:57:30 +08:00

Shortbin

A simple self-host URL shortener & Text sharing service.

Written in TypeScript, running in Deno runtime.

Run locally

deno task start

The server listens on http://localhost:8000 by default. Use deno task dev to reload it on source changes, or deno task bundle to produce the standalone dist/main.js entrypoint.

The start and dev tasks load environment variables from .env via Deno's built-in --env-file flag.