A minimal webring service written in C with the Mongoose embedded webserver library.
 
 
Go to file
Tom f8375928f4 change project name 2022-10-24 17:22:08 -04:00
hosting instructions 2022-08-01 20:27:19 -04:00
.gitignore /rand command is working 2022-07-29 18:58:45 -04:00
LICENSE add license 2022-08-31 20:23:18 +02:00
Makefile progress 2022-07-30 15:10:17 -04:00
README.md change project name 2022-10-24 17:22:08 -04:00
list.txt instructions 2022-08-01 20:27:19 -04:00
main.c oops 2022-08-31 14:44:36 -04:00
mongoose.c First commit 2022-07-29 10:45:21 -04:00
mongoose.h First commit 2022-07-29 10:45:21 -04:00

README.md

Webringd

  • A webring daemon written with the Mongoose web server library

Dependencies

  • gcc
  • libc6-dev

Installation

  • clone this repo in /var/www or wherever really
  • make
  • use the systemd file to run it
  • setup the nginx file to have it proxied

Usage

  • edit list.txt with the webring members domain names (https:// not needed)
  • edit the port number or protocol in main.c

Pages

This program produces three main pages for use as links:

  • /next -- Go to the next site in the webring (from whichever site you are linked from).

  • /prev -- Go to the previous site in the webring.

  • /rand -- Go to a random site in the webring.

  • / -- The index should be served as a static folder directly by nginx.

If linked to /next or /prev without a HTTP referer in the webring, they will function like /rand.