{"id":28240335,"url":"https://github.com/superswan/weblink-webring-manager","last_synced_at":"2026-02-08T19:33:35.926Z","repository":{"id":207694547,"uuid":"719800104","full_name":"superswan/weblink-webring-manager","owner":"superswan","description":"Webring management script","archived":false,"fork":false,"pushed_at":"2023-11-23T15:45:47.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T03:35:58.137Z","etag":null,"topics":["automation","personal-website","web","webring","webrings"],"latest_commit_sha":null,"homepage":"https://3to.moe/webring/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superswan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-16T23:27:13.000Z","updated_at":"2024-09-27T08:15:52.000Z","dependencies_parsed_at":"2023-11-22T06:24:54.946Z","dependency_job_id":"2e389ea9-6eeb-4b83-b2ba-0b06c2b0f1a7","html_url":"https://github.com/superswan/weblink-webring-manager","commit_stats":null,"previous_names":["superswan/weblink-webring-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/superswan/weblink-webring-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superswan%2Fweblink-webring-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superswan%2Fweblink-webring-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superswan%2Fweblink-webring-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superswan%2Fweblink-webring-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superswan","download_url":"https://codeload.github.com/superswan/weblink-webring-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superswan%2Fweblink-webring-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29240690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T18:06:38.086Z","status":"ssl_error","status_checked_at":"2026-02-08T18:06:09.124Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","personal-website","web","webring","webrings"],"created_at":"2025-05-19T03:13:01.675Z","updated_at":"2026-02-08T19:33:35.911Z","avatar_url":"https://github.com/superswan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebLink - Webring Manager\nA simple script for managing a web ring in a peer-to-peer fashion. \n\nThis is a very early version of the script and lots of work still needs to be done.\n\n[Demo (YouTube)](https://www.youtube.com/watch?v=prXKrLyCL08)\n\n## Setup\nClone the repository and run the script to configure a node\n\n\u003e Setting a masternode URL will retrieve an initial site list from the host making it easy for anyone to join the webring and retrieve a current list of members. \n\nCopy the webring.json file to your webserver at the path designated during node configuration\n\n\u003e You will be asked to configure a path for the location of `webring.json`. Omitting a path will assume `webring.json` is located at the root of the webserver\n\nHave a member of the webring add you as a peer for your list to sync with other webring members\n\n\n## Usage\n`python webring.py` - Will initialize the webring and allow you to configure a node. If a node is already configured it will simply dump the contents of `webring.json`\n\n### Commands\n`addpeer` - Adds a node to the site list (peers will need to be manually synced after addition at this time)\n\n`syncpeer [url (optional)]` - Syncs data with all nodes in the sites list. Specifying the url path of a node where `webring.json` is located will sync site data for that specific node.\n\n`addsite` - Create an entry in the sites list for a website that is not configured as a WebLink node\n\u003e Banner images for external sites require that you download the banner in a location that the script can access. The image file will be encoded as base64 in the `sites` array so the image files can be removed once they've been added. \n\n## Webring HTML Page\n\nThe `webring.html` file will load content from the `webring.json` file. The banner image size is currently set to 240x60. CSS is inline and easily customizable. The javascript code in this file can be used to create custom pages. \n\n## Example JSON Data\n\n```json\n{\n    \"node\": \n      {\n        \"title\": \"example\",\n        \"url\": \"example.com\",\n        \"ring_url\": \"example.com\",\n        \"avatarb64\": \"garble==\",\n        \"gpg\": \"public_key\",\n        \"master_node_url\": \"peer.example.com/webring\",\n        \"blacklist\": []\n      },\n    \"sites\": [\n      {\n        \"title\": \"peer\",\n        \"url\": \"peer.example.com\",\n        \"ring_url\": \"peer.example.com/webring\",\n        \"avatarb64\": \"garble==\",\n        \"gpg\": \"public_key\"\n      },\n      {\n        \"title\": \"external site\",\n        \"url\": \"ext.example.com\",\n        \"ring_url\": \"None\",\n        \"avatarb64\": \"garble==\",\n        \"gpg\": \"public_key\"\n      }\n    ]\n  }\n```\n\n## To Do\n- Implement site blacklsting\n- PGP/GPG integrity checking\n- ~~Implement site banners/avatars~~\n- ~~Webring page generation~~\n- Peer and site removal\n- Administrative web interface\n- Support for different languages to make it easier to update data directly from webserver\n- Daemon that checks for events across the webring such as site additions, removal, and peer connections\n- Possibly support scraping of popular webrings to allow for easy import of existing data","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperswan%2Fweblink-webring-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperswan%2Fweblink-webring-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperswan%2Fweblink-webring-manager/lists"}