goes to a random website hosted on wisp.place
TypeScript 76.4%
HTML 18.6%
Nix 5.0%
8 1 0

Clone this repository

https://tangled.org/ptr.pet/random.wisp.place https://tangled.org/did:plc:dfl62fgb7wtjj3fcbb72naae/random.wisp.place
git@knot.gaze.systems:ptr.pet/random.wisp.place git@knot.gaze.systems:did:plc:dfl62fgb7wtjj3fcbb72naae/random.wisp.place

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

random.wisp.place#

visit random.wisp.place and you'll be redirected to a random wisp.place site. under the hood, a hydrant instance indexes place.wisp.fs and place.wisp.domain records from the network, keeping a database of known sites, allowing the backend to pick a random website to redirect you to.

custom domains are resolved via the wisp.place domain API and kept in sync as records are created or deleted.

you can inspect the deployed backend instance at https://wisp-random.ptr.pet.

running#

deno task dev

environment variables:

variable default description
PORT 8080 port to listen on
WISP_API_URL https://wisp.place wisp.place appview base URL
HYDRANT_BIN hydrant path to the hydrant binary
KV_PATH random-wisp-place.kv deno KV database path

building the frontend#

API_URL=https://example.org deno task build

outputs to dist/.