{"id":22318409,"url":"https://github.com/kaishuu0123/erd-go","last_synced_at":"2025-04-04T23:08:22.637Z","repository":{"id":48215728,"uuid":"117829250","full_name":"kaishuu0123/erd-go","owner":"kaishuu0123","description":"Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)","archived":false,"fork":false,"pushed_at":"2021-02-11T01:59:04.000Z","size":608,"stargazers_count":126,"open_issues_count":7,"forks_count":37,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T22:12:58.260Z","etag":null,"topics":["diagram","diagramming","dot","erd","go","golang","peg","translates"],"latest_commit_sha":null,"homepage":null,"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/kaishuu0123.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}},"created_at":"2018-01-17T11:49:40.000Z","updated_at":"2024-12-07T16:00:13.000Z","dependencies_parsed_at":"2022-08-25T21:02:59.608Z","dependency_job_id":null,"html_url":"https://github.com/kaishuu0123/erd-go","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ferd-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ferd-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ferd-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ferd-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaishuu0123","download_url":"https://codeload.github.com/kaishuu0123/erd-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261606,"owners_count":20910108,"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":["diagram","diagramming","dot","erd","go","golang","peg","translates"],"created_at":"2024-12-03T23:13:20.128Z","updated_at":"2025-04-04T23:08:22.612Z","avatar_url":"https://github.com/kaishuu0123.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# erd-go\n\n[![GitHub release](https://img.shields.io/github/release/kaishuu0123/erd-go.svg)][releases]\n[![Build Status](https://travis-ci.org/kaishuu0123/erd-go.svg?branch=master)](https://travis-ci.org/kaishuu0123/erd-go)\n[![Coverage Status](https://coveralls.io/repos/github/kaishuu0123/erd-go/badge.svg)](https://coveralls.io/github/kaishuu0123/erd-go)\n[![Docker Pulls](https://img.shields.io/docker/pulls/kaishuu0123/erd-go.svg)][docker]\n\n[releases]: https://github.com/kaishuu0123/erd-go/releases\n[docker]: https://hub.docker.com/r/kaishuu0123/erd-go/\n\nTranslates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)\n\n![ER diagram for nfldb](https://raw.githubusercontent.com/kaishuu0123/erd-go/master/examples/outputs/nfldb.png)\n\n## Install\n\nget binary from [releases page](https://github.com/kaishuu0123/erd-go/releases).\n\nor\n\n```shell\ngo get github.com/kaishuu0123/erd-go\n```\n\nor (for Mac)\n\n```shell\nbrew tap kaishuu0123/erd-go\nbrew install erd-go\n```\n\n## Usage\n\n```shell\nUsage:\n  erd-go [OPTIONS] PATTERN [PATH]\n\nApplication Options:\n  -i, --input=  input will be read from the given file.\n  -o, --output= output will be written to the given file.\n\nHelp Options:\n  -h, --help    Show this help message\n```\n\nsupport input from STDIN.\n\n```shell\ncat examples/nfldb.er | erd-go\n```\n\nex.) convert to png from dot (use dot command)\n\n```shell\ncat examples/nfldb.er | erd-go | dot -Tpng -o nfldb.png\n```\n\n## Usage (Used by Docker container)\n\n```shell\ncat examples/nfldb.er | docker run --rm -i kaishuu0123/erd-go | docker run --rm -i risaacson/graphviz dot -T png \u003e nfldb.png\n```\n\n## Example\n\nsee [examples directory](https://github.com/kaishuu0123/erd-go/blob/master/examples)\n\n## Build Instruction\n\n1. install glide\n\n    ```shell\n    go get github.com/Masterminds/glide\n    ```\n\n1. install go-bindata\n\n    ```shell\n    go get github.com/jteeuwen/go-bindata\n    ```\n\n1. install peg\n\n    ```shell\n    go get github.com/pointlander/peg\n    ```\n\n1. make\n\n    ```shell\n    make\n    ```\n\n## LICENSE\n\nMIT\n\n## Credits\n\nThis work is based off of several existing projects:\n\n* \u003chttps://github.com/BurntSushi/erd\u003e\n* \u003chttps://github.com/unok/erdm\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaishuu0123%2Ferd-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaishuu0123%2Ferd-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaishuu0123%2Ferd-go/lists"}