meta stuffs

This commit is contained in:
Erin 2023-07-01 15:48:07 -04:00
parent 06547a0e2d
commit d316282e80
4 changed files with 36 additions and 1 deletions

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
lts/*

13
LICENSE Normal file
View file

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# webring server
## run it
npm i
cp webring.txt.sample webring.txt && $EDITOR webring.txt
npm run start
## link to webring sites
participating sites should link to the endpoints `/prev?from=<site>` and
`/next?from=<site>` from their site, where `<site>` is the URL for their site
from `webring.txt`. for example, a site in the webring as
`https://example.net/~someone` should link to
`/prev?from=https://example.net/~someone` and
`/next?from=https://example.net/~someone` on whatever host this server is
accessible from.
## license
[WTFPL](/LICENSE)

View file

@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "node index.mjs"
},
"keywords": [],
"author": "",