All Projects → achiku → Planter

achiku / Planter

Licence: mit
Generate PlantUML ER diagram textual description from PostgreSQL tables

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Planter

Asciidoctor Kroki
Asciidoctor.js extension to convert diagrams to images using Kroki!
Stars: ✭ 55 (-78.09%)
Mutual labels:  plantuml
Swagger to uml
Convert OpenAPI specifications (a.k.a. Swagger) to PlantUML diagrams
Stars: ✭ 144 (-42.63%)
Mutual labels:  plantuml
Jekyll Spaceship
🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
Stars: ✭ 196 (-21.91%)
Mutual labels:  plantuml
Markdeck
presentations as code - author cool slide decks, text-only, offline-ready, collaborative
Stars: ✭ 1,159 (+361.75%)
Mutual labels:  plantuml
Plantuml Previewer.vim
Vim / Neovim plugin for preview PlantUML
Stars: ✭ 119 (-52.59%)
Mutual labels:  plantuml
C4 Builder
This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
Stars: ✭ 164 (-34.66%)
Mutual labels:  plantuml
Pandoc Plantuml Filter
Pandoc filter for PlantUML code blocks
Stars: ✭ 51 (-79.68%)
Mutual labels:  plantuml
Plantuml Icon Font Sprites
plantuml-font-icon-sprites
Stars: ✭ 242 (-3.59%)
Mutual labels:  plantuml
Umldoclet
Automatically generate PlantUML diagrams in javadoc
Stars: ✭ 138 (-45.02%)
Mutual labels:  plantuml
Hands On Devops
A hands-on DevOps course covering the culture, methods and repeated practices of modern software development involving Packer, Vagrant, VirtualBox, Ansible, Kubernetes, K3s, MetalLB, Traefik, Docker-Compose, Docker, Taiga, GitLab, Drone CI, SonarQube, Selenium, InSpec, Alpine 3.10, Ubuntu-bionic, CentOS 7...
Stars: ✭ 196 (-21.91%)
Mutual labels:  plantuml
Pandoc Plot
Render and include figures in Pandoc documents using your plotting toolkit of choice
Stars: ✭ 75 (-70.12%)
Mutual labels:  plantuml
Asciidocfx
Asciidoc Editor and Toolchain written with JavaFX 16 (Build PDF, Epub, Mobi and HTML books, documents and slides)
Stars: ✭ 1,533 (+510.76%)
Mutual labels:  plantuml
Go Plantuml
Generate plantuml diagrams from go source files or directories
Stars: ✭ 167 (-33.47%)
Mutual labels:  plantuml
Plantuml Parser
Parse PlantUML with JavaScript or TypeScript
Stars: ✭ 67 (-73.31%)
Mutual labels:  plantuml
Plantumlclassdiagramgenerator
This is a generator to create a class-diagram of PlantUML from the C# source code.
Stars: ✭ 213 (-15.14%)
Mutual labels:  plantuml
Xstate Plantuml
Visualize a xstate or react-automata statechart as a plantuml state diagram
Stars: ✭ 52 (-79.28%)
Mutual labels:  plantuml
Database To Plantuml
Compile PostgreSQL and MySQL table information into a PlantUML description.
Stars: ✭ 157 (-37.45%)
Mutual labels:  plantuml
Azure Plantuml
PlantUML sprites, macros, and other includes for Azure services
Stars: ✭ 247 (-1.59%)
Mutual labels:  plantuml
C4 Plantuml
C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
Stars: ✭ 3,522 (+1303.19%)
Mutual labels:  plantuml
Cli
A command line utility for Structurizr.
Stars: ✭ 173 (-31.08%)
Mutual labels:  plantuml

planter

test GitHub license Go Report Card

Generate PlantUML ER diagram textual description from PostgreSQL tables

Why created

A team with only software engineers doesn't need ER diagram that much as long as they have decent experience in Relational Database modeling. However, it becomes very helpful to have always-up-to-date ER diagram when marketing/promotion/operation teams consisting of those who are fluent in writing/reading SQL, join to the game.

PlantUML supports ER diagram in the latest version with this awesome pull request. The tool, planter, generates textual description of PlantUML ER diagram from pre-existing PostgreSQL tables, and makes it easy to share visual structure of relations with other teams.

Installation

go get -u github.com/achiku/planter

Quick Start

$ planter postgres://[email protected]/planter?sslmode=disable -o example.uml
$ java -jar plantuml.jar -verbose example.uml

er diagram

Specify table names

planter postgres://[email protected]/planter?sslmode=disable \ 
    -t order_detail \
    -t sku \
    -t product

Help

$ planter --help
usage: planter [<flags>] <conn>

Flags:
      --help             Show context-sensitive help (also try --help-long and --help-man).
  -s, --schema="public"  PostgreSQL schema name
  -o, --output=OUTPUT    output file path
  -t, --table=TABLE ...  target tables (can handle regular expressions)
  -x, --xtable=TABLE ... exclude target tables (can handle regular expressions

Args:
  <conn>  PostgreSQL connection string in URL format

Test

setup database.

create database planter;
create user planter;

run go test ./... -v

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].