No description
static | ||
templates | ||
.gitignore | ||
Containerfile | ||
go.mod | ||
main.go | ||
Makefile | ||
members.example.csv | ||
README.md |
148.lol
- Tea-Ring 🫖
Tea-Ring is a simple webring service written in Go.
Usage
Put your members in members.csv
in the formta of handle,name,url
and then start the service.
If you then want to link to the previous and next member of the ring, simply put the following two links onto your website while replacing <handle>
with your member-name.
- Previous:
https://<ring-domain>/m/<handle>/p
- Next:
https://<ring-domain>/m/<handle>/n
Embed it on your website like this for example:
<p style="text-align: center;">
<a href="https://418.lol/m/<handle>/p">←</a>
<a href="https://418.lol">🫖</a>
<a href="https://418.lol/m/<handle>/n">→</a>
</p>
Flags
-member-file
(string)
path of the csv-file holding your members list (default "members.csv")
-motd
(string)
the message of the day that will then be displayed on the startpage (default empty)
-port
(int)
port of the http server listening on (default 4180)
ToDo
- Add index page
- Fix Application fail when
/random
is hit on a empty ring