Repository navigation
Releases
Releases · Pyr33x/wisp
v0.2.4
Packages
Every release now publishes the built Workers to GitHub Packages as OCI artifacts (edge.js + edge.wasm):
ghcr.io/pyr33x/wisp-gatewayghcr.io/pyr33x/wisp-linkghcr.io/pyr33x/wisp-analytics
oras pull ghcr.io/pyr33x/wisp-gateway:v0.2.4Full Changelog: v0.2.3...v0.2.4
v0.2.3
Changes
- Page title (and social card title) is now Wisp
- README refreshed: web UI,
GET /in the API table, optionalWISP_DOMAIN, token permissions, manual WAF rate-limit rule, troubleshooting gotestbadge output ignored by git
Full Changelog: v0.2.2...v0.2.3
v0.2.2
v0.2.1
Features
- Open Graph / Twitter card: sharing
https://wisp.pyr33x.topnow shows a 1200×630 preview made from the banner (docs/og.jpg, 36 KB), served from GitHub so crawlers cost no Worker requests
Fixes
- Favicon is now the circular wisp logo (the Apple touch icon stays square, since iOS applies its own mask)
Tests
- Open Graph tags present with absolute URLs, and the card image committed and under 300 KB
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Features
- Web page at wisp.pyr33x.top, served by the gateway Worker itself (no static assets, routing unchanged):
- Shorten a link and copy it in one click; API errors shown inline, rate limits with a live
Retry-Aftercountdown - Click-stats lookup by short link or code
- Recent links kept only in your browser (localStorage), with on-demand click counts
- Shorten a link and copy it in one click; API errors shown inline, rate limits with a live
- Brand look matching the banner: Cloudflare + Go mark, WISP wordmark, wisp favicon and Apple touch icon
- Unknown paths now answer the JSON
404error shape instead of a plain-text one
Security
- Strict Content-Security-Policy: the inline style and script are allowed by SHA-256 hash only, requests limited to the same origin, no framing
- No
innerHTML: every API or stored value is rendered as text
Tests
- Page served at
/with its headers, JSON404for unknown paths, short links and API routes not shadowed by/ - CSP hashes recomputed from the page on every run, so an edit that breaks them fails CI
- Edge-router check that
/serves the page in the real runtime
Full Changelog: v0.1.1...v0.2.0
v0.1.1
Fixes
- Gateway crashed on every request with
1101(Illegal invocation, thenCannot read properties of undefined (reading 'body')).
The internal HTTP client calledfetchandsetTimeoutas methods ofjs.Global(), which in a goflare Worker is a Proxy overglobalThis; workerd rejects thatthis, and the thrown error killed the Go instance for the whole isolate.
The wasm transport now invokes the runtime'sfetchdirectly and times out withAbortSignal.timeout.webtyp.com/fetchis no longer compiled into the Workers.
Tests
- Regression test: the URL client must call
fetchwithout athisand pass its timeout as anAbortSignal.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
First release of wisp, a URL shortener in Go on Cloudflare Workers (WebAssembly).
Features
- Three Workers:
wisp-gateway(public),wisp-linkandwisp-analytics(internal), each with its own D1 database - 7-character base62 codes from a secure random source, collisions retried on the
UNIQUEconstraint 302redirects withCache-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-Internalsecret; admin-token-protected soft delete - D1 migrations from CI via
goflare.NewD1Migrator - CI with
gotest(native + browser wasm suite) andgoflare size; one deploy workflow per Worker
Built with
webtyp.com/goflarev0.5.69,webtyp.com/cloudflarev0.0.73, TinyGo 0.41.1, Go 1.26.8