• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)

erd-go

GitHub release Build Status Coverage Status Docker Pulls

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)

ER diagram for nfldb

Install

get binary from releases page.

or

go get github.com/kaishuu0123/erd-go

or (for Mac)

brew tap kaishuu0123/erd-go
brew install erd-go

Usage

Usage:
  erd-go [OPTIONS] PATTERN [PATH]

Application Options:
  -i, --input=  input will be read from the given file.
  -o, --output= output will be written to the given file.

Help Options:
  -h, --help    Show this help message

support input from STDIN.

cat examples/nfldb.er | erd-go

ex.) convert to png from dot (use dot command)

cat examples/nfldb.er | erd-go | dot -Tpng -o nfldb.png

Usage (Used by Docker container)

cat examples/nfldb.er | docker run --rm -i kaishuu0123/erd-go | docker run --rm -i risaacson/graphviz dot -T png > nfldb.png

Example

see examples directory

Build Instruction

  1. install glide

    go get github.com/Masterminds/glide
  2. install go-bindata

    go get github.com/jteeuwen/go-bindata
  3. install peg

    go get github.com/pointlander/peg
  4. make

    make

LICENSE

MIT

Credits

This work is based off of several existing projects:

More Repositories

1

rebacklogs

Re:Backlogs is an Open Source Project Management Tool.
Ruby
170
star
2

vscode-erd

An extension for Visual Studio Code to preview erd(.er) files
TypeScript
48
star
3

chibines

NES emulator & NSF Player written in Go.
Go
15
star
4

chibisnes

SNES emulator written in Go. (based on LakeSNES)
Go
10
star
5

blockdiag-api

blockdiag API server and livepreview ui.
JavaScript
10
star
6

graphviz-dot.js

dot (graphviz) command implement by javascript (single binary)
JavaScript
8
star
7

ot-es.js

ot-es.js is realtime collaborative editing javascript library. ot.js exported as ES modules.
JavaScript
7
star
8

markdown-it-drawio-viewer

draw.io Viewer for markdown-it
JavaScript
6
star
9

HelenOS

HelenOS 0.5.0 (copy from http://www.helenos.org/download)
C
5
star
10

chibigb

GameBoy emulator written in Go. (based on Gearboy)
Go
4
star
11

rack-webdav

WebDAV for Rack
Ruby
4
star
12

markdown-it-blockdiag

blockdiag for markdown-it.
JavaScript
4
star
13

pukiwiki2markdown

pukiwiki syntax to markdown syntax converter
PHP
4
star
14

rails5.1-react-reactstrap-example

Ruby
3
star
15

task-board

Tiny Task Management System (Rails5 API mode + webpacker + Angular6)
Ruby
3
star
16

react-backlog

React Backlog (like Redmine's Backlog)
JavaScript
2
star
17

cors-reverse-proxy

Simple reverse proxy for CORS issue.
Go
2
star
18

simple-webterminal

simple web terminal (implemented by ruby)
JavaScript
1
star
19

my-canvas-games-sandbox

My canvas games sandbox
JavaScript
1
star
20

awesome_event

γƒ‘γƒΌγƒ•γ‚§γ‚―γƒˆ Ruby on Rails η·΄ηΏ’η”¨γƒ¬γƒγ‚Έγƒˆγƒͺ
Ruby
1
star
21

chip-8-with-dear-imgui

CHIP-8 emulator by Go and Dear ImGUI
Go
1
star
22

mruby-readline

C
1
star
23

onetab2markdown

OneTab URL list to markdown
Ruby
1
star