{"id":13425905,"url":"https://github.com/anvaka/map-of-reddit","last_synced_at":"2025-05-15T12:06:52.494Z","repository":{"id":51973281,"uuid":"352440092","full_name":"anvaka/map-of-reddit","owner":"anvaka","description":"Interactive map of reddit","archived":false,"fork":false,"pushed_at":"2025-05-07T06:26:03.000Z","size":2890,"stargazers_count":745,"open_issues_count":7,"forks_count":54,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-07T21:08:48.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://anvaka.github.io/map-of-reddit/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anvaka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-03-28T21:14:20.000Z","updated_at":"2025-05-07T06:26:00.000Z","dependencies_parsed_at":"2023-12-12T01:38:46.647Z","dependency_job_id":"7a3664b2-ed2e-4a89-bd4a-09f3b4a75a77","html_url":"https://github.com/anvaka/map-of-reddit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvaka%2Fmap-of-reddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvaka%2Fmap-of-reddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvaka%2Fmap-of-reddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvaka%2Fmap-of-reddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anvaka","download_url":"https://codeload.github.com/anvaka/map-of-reddit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337613,"owners_count":22054253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-07-31T00:01:21.749Z","updated_at":"2025-05-15T12:06:47.481Z","avatar_url":"https://github.com/anvaka.png","language":"JavaScript","funding_links":["https://www.patreon.com/anvaka","https://github.com/sponsors/anvaka"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Map of reddit\n\nThis code renders a [map of reddit](http://anvaka.github.io/map-of-reddit/). Each dot on the map\nis subreddit. Two dots within the same cluster are usually close to each other if multiple \nusers frequently leave comments on both subreddits.\n\n[![map of reddit](https://i.imgur.com/bG3BB51.png)](http://anvaka.github.io/map-of-reddit/)\n\n## How is it made?\n\nI processed `176,178,986` unique comments that redditors left in years 2020 - 2021 and computed\nJaccard Similarity between subreddits. \n\nThen I treated relationships between subreddits as  a graph clustering problem. Once clusters\nare computed, I treated them as a graph layout problem and created an SVG file. Once SVG file \nwas created I treated it as a dual problem of WebGL rendering and streaming SVG parsing, and\ncreated my own webgl renderer and streaming svg parser. \n\nAlong the way I strived for simplicity. I wanted to let people edit the SVG file, correct it,\nand contribute to the development of the map. And I'm happy to say that it is possible to edit \nthe map via [anvaka/map-of-reddit-data](https://github.com/anvaka/map-of-reddit-data).\n\nThere is a lot of things that I'd love to improve. But I want to know that this effort is not\nin vain. If you enjoy the work - please consider supporting it on [patreon](https://www.patreon.com/anvaka)\nor [github](https://github.com/sponsors/anvaka). Please share your suggestions and comments with me\non [twitter](https://twitter.com/anvaka).\n\n## Some notes\n\n* There is no single \"right\" way to cluster reddit. Communities are very rich and they interact with\neach other on multiple dimensions. Please don't treat proximity of some countries or even subreddits\nwithin the same country as a strong proof of relationship - they could be just an artifact of my \nclustering/layout algorithm.\n* It was very hard to develop the website as frequently I got side-tracked by all the amazing content\npeople produce on reddit.\n* The algorithm decided to group multi-millionaire subreddits in one cluster. One possible way to \nde-noise such cluster is to click on \"Show Related\" from the sidebar. This gives focused view on the\nfirst and second degree connections.\n\n## Running code locally\n\nFirst - you need to clone/fork this repository and then:\n\n```\nnpm install\n```\n\nNow you are ready to serve the website locally:\n\n```\nnpm start\n```\n\nTo compile a production build:\n\n```\nnpm run build\n```\n\n### Customize vue configuration\nSee [Configuration Reference](https://cli.vuejs.org/config/).\n\n## License\n\nThe code in this repository is licensed under MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanvaka%2Fmap-of-reddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanvaka%2Fmap-of-reddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanvaka%2Fmap-of-reddit/lists"}