{"id":18678306,"url":"https://github.com/zhaofengli/dn42-wallpaper","last_synced_at":"2026-07-01T17:31:19.450Z","repository":{"id":148147192,"uuid":"144605767","full_name":"zhaofengli/dn42-wallpaper","owner":"zhaofengli","description":"A wallpaper showing DN42 peering relationships","archived":false,"fork":false,"pushed_at":"2018-08-13T16:37:33.000Z","size":744,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T14:07:37.836Z","etag":null,"topics":["bored","dn42"],"latest_commit_sha":null,"homepage":"","language":"Python","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/zhaofengli.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}},"created_at":"2018-08-13T16:28:40.000Z","updated_at":"2018-08-13T16:41:31.000Z","dependencies_parsed_at":"2023-04-23T17:30:18.785Z","dependency_job_id":null,"html_url":"https://github.com/zhaofengli/dn42-wallpaper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhaofengli/dn42-wallpaper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofengli%2Fdn42-wallpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofengli%2Fdn42-wallpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofengli%2Fdn42-wallpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofengli%2Fdn42-wallpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaofengli","download_url":"https://codeload.github.com/zhaofengli/dn42-wallpaper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofengli%2Fdn42-wallpaper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35017089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bored","dn42"],"created_at":"2024-11-07T09:37:09.171Z","updated_at":"2026-07-01T17:31:19.410Z","avatar_url":"https://github.com/zhaofengli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DN42 Wallpaper\n\n![20180813](dn42-wallpaper.png)\n\n*It looks like a pig! Totally unintended I swear.*\n\nThe red dot represents my AS on DN42, AS4242421926. Peer with me [here](https://zfg.li/dn42)!\n\n## Why?\n\n- I'm bored.\n- I need a new wallpaper.\n- I want to make my desktop geekier with some Data Visualization (tm).\n- I have a full BGP feed of DN42.\n\nAnd then, I discovered the amazing BGP tool known as [ExaBGP](https://github.com/Exa-Networks/exabgp), and everything came together.\n\n## How?\n\nAssuming you have a machine running [ExaBGP](https://github.com/Exa-Networks/exabgp) and Redis, use the following configuration to fill the Redis database with all routes coming from neighbors:\n```\nprocess dn42wp {\n        run /where/is/exabgp-process.py;\n        encoder json;\n}\n\nneighbor x.x.x.x {\n        # Your peer configuration here\n\n        api {\n                processes [ dn42wp ];\n                receive {\n                        parsed;\n                        update;\n                }\n        }\n}\n```\n\nThen, run `generate-json.py` to generate a JSON containing all peerings.\nSave it as `data.json` and serve it in the same directory of the page.\n\n## But there is already [https://nixnodes.net/dn42/graph](https://nixnodes.net/dn42/graph/)!\n\nIt's not particularly suitable as a wallpaper, and I don't get to play with the cool toys myself.\n\nBy the way, have you heard of [the IKEA effect](https://en.wikipedia.org/wiki/IKEA_effect)?\n\n## Disclaimer\n\nHacked together in a couple of hours, with all sorts of terrible code and quirks.\nMy scripts do not inject any route, but if you believe in Illuminati, filter all routes on your router.\n\n## Acknowledgments\n\n- [ExaBGP](https://github.com/Exa-Networks/exabgp), for hours of fun playing with routing information programmatically.\n- [Edmundo Santos](https://codepen.io/edmundojr/pen/xOYJGw), for his awesome CSS background that I kanged here shamelessly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaofengli%2Fdn42-wallpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaofengli%2Fdn42-wallpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaofengli%2Fdn42-wallpaper/lists"}