Skip to content

v0.1.0

Choose a tag to compare

@Pyr33x Pyr33x released this 13 Nov 18:39
· 15 commits to master since this release
49bf488

First release of wisp, a URL shortener in Go on Cloudflare Workers (WebAssembly).

Features

  • Three Workers: wisp-gateway (public), wisp-link and wisp-analytics (internal), each with its own D1 database
  • 7-character base62 codes from a secure random source, collisions retried on the UNIQUE constraint
  • 302 redirects with Cache-Control: private, max-age=0, best-effort click counting via an atomic upsert
  • Per-IP rate limiting on link creation (10/min, D1 fixed window, fails open)
  • URL validation and redirect-loop protection
  • Internal calls authenticated with a shared X-Wisp-Internal secret; admin-token-protected soft delete
  • D1 migrations from CI via goflare.NewD1Migrator
  • CI with gotest (native + browser wasm suite) and goflare size; one deploy workflow per Worker

Built with

  • webtyp.com/goflare v0.5.69, webtyp.com/cloudflare v0.0.73, TinyGo 0.41.1, Go 1.26.8