{"id":24641691,"url":"https://github.com/ayonious/git-network-trainline","last_synced_at":"2026-05-11T07:06:15.551Z","repository":{"id":66294818,"uuid":"263174422","full_name":"ayonious/git-network-trainline","owner":"ayonious","description":"🚂  Show a city's train lines in form of Git Network","archived":false,"fork":false,"pushed_at":"2020-05-22T20:44:29.000Z","size":58,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T05:23:09.975Z","etag":null,"topics":["git","graph","javascript","road","trainline"],"latest_commit_sha":null,"homepage":"","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/ayonious.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":"2020-05-11T22:38:33.000Z","updated_at":"2020-06-01T23:16:26.000Z","dependencies_parsed_at":"2023-02-25T23:00:13.010Z","dependency_job_id":null,"html_url":"https://github.com/ayonious/git-network-trainline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayonious/git-network-trainline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayonious%2Fgit-network-trainline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayonious%2Fgit-network-trainline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayonious%2Fgit-network-trainline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayonious%2Fgit-network-trainline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayonious","download_url":"https://codeload.github.com/ayonious/git-network-trainline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayonious%2Fgit-network-trainline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273077227,"owners_count":25041358,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"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":["git","graph","javascript","road","trainline"],"created_at":"2025-01-25T12:14:09.645Z","updated_at":"2026-05-11T07:06:10.509Z","avatar_url":"https://github.com/ayonious.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eGit Network Trainline\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003e🚂 Show a city's train lines in form of Git Network\u003c/h3\u003e\n\n![Berlins Underground rail map](https://cdn.jsdelivr.net/gh/ayonious/git-network-trainline@master/staticresources/screenshot.2.png)\n\n- Berlin's underground rail GitHub network view : https://github.com/ayonious/git-network-trainline/network\n\n# ❓Synopsis\n\nUse this script to create road maps of your own city. This uses simple graph theory on top of git commands to generate a nice git network graph.\n\n# 🏃‍♂️ Run\n\nFirst you need to add inputs. In this file https://github.com/ayonious/git-network-trainline/blob/master/src/rawInput.js\n\n1. Add your git remote head.\n2. Add your roads\n3. You can add comments while describing the stations as `imoji` param. This will showup in the git network graph as label\n\nNow run\n\n```bash\nnode .\n```\n\nWhen all is finished successfully\n\n```bash\nGit Network generated Successfully!!\n```\n\nNow go back to your git network network page: https://github.com/{username}/{repo}/network\n\nMine is: https://github.com/ayonious/git-network-trainline/network\n\n\u003e Rememeber, you can drag and scroll the git graph left and right.\n\nEnjoy!\n\n# 😞 Limitations\n\n1. Make sure when inputting the graph there is no cyclic dependencies. This will make the graph not print full map and stop at a junction.\n2. Dont have same imoji for 2 different stations unless its a junction. Also line names need to be distinct.\n\n# 💡 Inspired by\n\n[yangshun/smrt-git](https://github.com/yangshun/smrt-git) which shows Singaporen metro lines in Git Network\n\n# 📝 License\n\n[MIT](https://github.com/ayonious/git-network-trainline/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayonious%2Fgit-network-trainline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayonious%2Fgit-network-trainline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayonious%2Fgit-network-trainline/lists"}