simple webring server in python
https://ring.liampas.ca
- CSS 52.1%
- Python 27.2%
- HTML 20.7%
| site | ||
| .gitignore | ||
| README.md | ||
| requirements.txt | ||
| ring.py | ||
Websphere
How to join
-
Pull request to https://github.com/galisma/webring adding your site to
links.txt. -
Add these links to your site:
-
(optional) Put the cool gif by Axel next to the buttons, plus:
- https://ring.liampas.ca/random (random site)
- https://ring.liampas.ca/ (this page)
Testing locally
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 ring.py
When testing the local server, use curl with an explicit Referer header.
curl -i \
-H "Referer: https://axelobrien.neocities.org/" \
http://127.0.0.1:4444/left
curl -i \
-H "Referer: https://axelobrien.neocities.org/" \
http://127.0.0.1:4444/right
curl -i \
-H "Referer: https://axelobrien.neocities.org/" \
http://127.0.0.1:4444/random
# Also test sites that are not in the webring
curl -i \
-H "Referer: https://example.com" \
http://127.0.0.1:4444/random
Who are we?
Ehhh... that's a question we're still individually asking ourselves. What is known and factual is that this webring emerged from sylvan franklin's discord server. You can join, we are open to all opinions, especially if you like vim.
