1
0
Fork 0
No description
Find a file
2025-08-13 20:46:31 +02:00
static Embed assets in binary 2024-11-22 22:04:02 +01:00
templates Move username to path segment 2025-08-13 20:46:31 +02:00
.gitignore Embed assets in binary 2024-11-22 22:04:02 +01:00
Containerfile Embed assets in binary 2024-11-22 22:04:02 +01:00
go.mod Embed assets in binary 2024-11-22 22:04:02 +01:00
main.go Move username to path segment 2025-08-13 20:46:31 +02:00
Makefile Embed assets in binary 2024-11-22 22:04:02 +01:00
members.example.csv Rename membersfile to not conflict with production one 2024-11-22 21:57:06 +01:00
README.md Move username to path segment 2025-08-13 20:46:31 +02:00

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