A really janky webring made with Go and JavaScript for South London.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jake Walker 05309bd80c
Add binary to gitignore
6 months ago
templates Prevent random choosing the same person 6 months ago
.editorconfig Initial code 6 months ago
.gitignore Add binary to gitignore 6 months ago
README.md Update readme 6 months ago
go.mod Update name 6 months ago
go.sum Initial code 6 months ago
main.go Add abosolute paths 6 months ago
users.go Add abosolute paths 6 months ago


South London Webring

This is a work in progress!

Every tilde seems to have a webring, so this is one I made for South London.

This is quite janky as there's no PHP, so the redirection is done using JavaScript on pages that are injected with a user list through Go. When someone joins the ring through the Go script, these pages are updated along with a users.json file.


git clone https://tildegit.org/jakew/webring.git
cd webring
go build -o manage .

Give the binary a suid bit so that when people execute the program the program can update the pages without the user having permission.

chmod u+s ./manage


The webring can be joined by running the binary.


The pages in the output folder are then updated to reflect the new person in the webring.

Each user needs to have a snippet like so on their webpage.

<a href="https://southlondon.cc/~jakew/ring/prev.html?USERNAME">previous</a>
<a href="https://southlondon.cc/~jakew/ring/random.html?USERNAME">random</a>
<a href="https://southlondon.cc/~jakew/ring/next.html?USERNAME">next</a>
<a href="https://southlondon.cc/~jakew/ring">how to join this webring</a>