simple webring software
- make a file called
ring.json
in the root directory - make it have this structure
{
"meta": {
"home": "https://example.com",
"name": "example webring",
"summary": "my awesome webring",
"description": "this is a <b>very awesome webring</b> .",
"contact": "mailto:me@example.com?subject=so, about that webring"
},
"sites": [
{
"username": "me",
"url": "https://myawesome.examplepage"
}
]
}
- (optional) create
.env
withPORT=3000
or whatever port you want to run it on
ensure you are within the nix shell or otherwise have bun installed, then run bun server.ts
.
you may need to specify the port via the PORT
variable, or you can set it in .env
css for the main page is in static/main.css
, css for all embeddables is in static/style.css
.
you can see how the iframe will look by navigating to /test
edit ring.json
to reflect whatever addition / removal / edit you want to make.
the webmaster is the only one who can do this, so only join a ring if you trust the webmaster to
respond to support requests in a timely fashion
an example of how to embed the webring is on the home page when running