{"id":13414227,"url":"https://github.com/rodrigo-brito/gocity","last_synced_at":"2025-05-15T13:08:51.688Z","repository":{"id":41413332,"uuid":"147082298","full_name":"rodrigo-brito/gocity","owner":"rodrigo-brito","description":":bar_chart: Code City metaphor for visualizing Go source code in 3D","archived":false,"fork":false,"pushed_at":"2023-12-18T22:53:42.000Z","size":10769,"stargazers_count":1805,"open_issues_count":9,"forks_count":139,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-11T03:17:31.267Z","etag":null,"topics":["go","golang","hacktoberfest","react","visualization"],"latest_commit_sha":null,"homepage":"https://go-city.github.io","language":"Go","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/rodrigo-brito.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}},"created_at":"2018-09-02T12:17:56.000Z","updated_at":"2025-04-27T14:55:07.000Z","dependencies_parsed_at":"2023-01-29T19:45:58.113Z","dependency_job_id":"ca846111-9727-48c7-922b-5f6439b8957d","html_url":"https://github.com/rodrigo-brito/gocity","commit_stats":{"total_commits":113,"total_committers":24,"mean_commits":4.708333333333333,"dds":"0.31858407079646023","last_synced_commit":"baddda080bc94b9aa4ed593c0cfeff0cdb08f80a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigo-brito%2Fgocity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigo-brito%2Fgocity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigo-brito%2Fgocity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigo-brito%2Fgocity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigo-brito","download_url":"https://codeload.github.com/rodrigo-brito/gocity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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":["go","golang","hacktoberfest","react","visualization"],"created_at":"2024-07-30T21:00:16.815Z","updated_at":"2025-05-15T13:08:46.679Z","avatar_url":"https://github.com/rodrigo-brito.png","language":"Go","funding_links":[],"categories":["Go","Misc","开源类库","Open source library","创意 \u003ca name=\"idea\"\u003e\u003c/a\u003e","Uncategorized","语言资源库","Repositories","Visual"],"sub_categories":["图表","Charts","Uncategorized","go","Datbase to Struct"],"readme":"\u003cimg width=\"350\" src=\"https://raw.githubusercontent.com/rodrigo-brito/gocity/master/pkg/server/assets/logo.png\" alt=\"GoCity\" /\u003e\n\n[![Actions Status](https://github.com/rodrigo-brito/gocity/workflows/tests/badge.svg)](https://github.com/rodrigo-brito/gocity/actions)\n[![codecov](https://codecov.io/gh/rodrigo-brito/gocity/branch/master/graph/badge.svg)](https://codecov.io/gh/rodrigo-brito/gocity)\n[![Go Report Card](https://goreportcard.com/badge/github.com/rodrigo-brito/gocity)](https://goreportcard.com/report/github.com/rodrigo-brito/gocity)\n[![GoDoc](https://godoc.org/github.com/rodrigo-brito/gocity?status.svg)](https://godoc.org/github.com/rodrigo-brito/gocity)\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License MIT\"\u003e\n\u003c/a\u003e\n\u003chr /\u003e\n \nAvailable here: https://go-city.github.io\n\nResearch Paper: [26th International Conference on Software Analysis, Evolution and Reengineering (SANER)](https://ieeexplore.ieee.org/document/8668008)\n\u003cbr\u003ePDF Version: [ASERG Page](https://homepages.dcc.ufmg.br/~mtov/pub/2019-saner-gocity.pdf)\n \nGoCity is an implementation of the Code City metaphor for visualizing source code. GoCity represents a Go program as a city, as follows: \n\n - Folders are districts\n - Files are buildings\n - Structs are represented as buildings on the top of their files.\n\n## Structures Characteristics\n\n - The Number of Lines of Source Code (LOC) represents the build color (high values makes the building dark)\n - The Number of Variables (NOV) correlates to the building's base size.\n - The Number of methods (NOM) correlates to the building height.\n \n## Installation\n\n- `go install github.com/rodrigo-brito/gocity@latest`\n- Or just head to the [releases](https://github.com/rodrigo-brito/gocity/releases) page and download the latest version for you platform.\n\n## Usage:\n- Online: https://go-city.github.io\n- Commands\n    - `gocity server` - Start server\n    - `gocity open \u003cGITHUB_IMPORT\u003e` - Open a specific Github project from github\n    - `gocity open ./my-project` - Open a local directory\n \n## UI / Front-end\n\nThe UI is built with React and uses [babylon.js](https://www.babylonjs.com/) to plot 3D structures. The front-end source code is available in the [front-end](https://github.com/rodrigo-brito/gocity/tree/front-end) branch. \n \n### Related Works\n- [Code City](https://wettel.github.io/codecity.html) by [Richard Wettel](https://twitter.com/richardwettel)\n- [JS City](https://github.com/ASERG-UFMG/JSCity/wiki/JSCITY) by [Marcus Viana](https://github.com/malilovick).\n\nThis tool makes part of a scientific research developed at Federal University of Minas Gerais (UFMG)\u003cbr/\u003e\nStudent: [Rodrigo Brito](https://github.com/rodrigo-brito)\u003cbr/\u003e\nAdvisor: [Marco Tulio Valente](https://homepages.dcc.ufmg.br/~mtov/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigo-brito%2Fgocity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigo-brito%2Fgocity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigo-brito%2Fgocity/lists"}