Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Prisma
  3. prisma-uml

prisma-uml

TypeScriptv1.1.18

A CLI tool that generates PlantUML Entity Relationship Diagrams from Prisma schema files.

GitHubGitHub
123 stars10 forks0 contributors

What is prisma-uml?

prisma-uml is a command-line tool that automatically generates PlantUML Entity Relationship Diagrams from Prisma schema files. It solves the problem of manually creating visual representations of database models by converting Prisma schema definitions into clear, standardized diagrams. This helps developers visualize relationships between database entities for better understanding and documentation.

Target Audience

Developers and teams using Prisma ORM who need to visualize, document, or communicate their database schema structure. Particularly useful for database architects, backend developers, and technical leads working with Prisma-based applications.

Value Proposition

Developers choose prisma-uml because it provides a simple, automated way to generate professional ER diagrams directly from their Prisma schema, eliminating manual diagram creation. Its flexibility in output formats and server options makes it adaptable to different workflow requirements while maintaining ease of use.

Overview

A CLI to transform a Prisma schema to a PlantUML Entity RelationShip Diagram

Use Cases

Best For

  • Generating visual documentation for Prisma database schemas
  • Creating Entity Relationship Diagrams for technical specifications
  • Visualizing database model relationships during development
  • Documenting Prisma schema changes across team members
  • Including database diagrams in project documentation
  • Understanding complex database structures in Prisma projects

Not Ideal For

  • Projects using ORMs or database schemas not defined in Prisma
  • Teams needing interactive, editable diagrams with real-time collaboration features
  • Environments with strict data privacy policies that prohibit sending schema data to external servers, even with local options

Pros & Cons

Pros

Direct Prisma Integration

Automatically converts Prisma schema files to PlantUML ERDs, eliminating manual diagram creation, as shown in the simple CLI command 'prisma-uml <path>'.

Multiple Output Formats

Supports generating diagrams as text, SVG, PNG, or JPG files, providing flexibility for different documentation needs, detailed in the output options.

Custom Server Support

Allows using the official PlantUML server or a local Docker server for rendering, enabling offline or private use, as explained in the Image Rendering section.

Simple CLI Interface

Easy-to-use command-line tool with clear arguments and options, demonstrated with practical examples in the Commands section.

Cons

Incomplete Feature Set

The README's 'incoming changes' list highlights missing features like splitting attributes by entity and fixing cardinality issues, indicating current limitations.

Default External Dependency

Relies on the public PlantUML server by default for image rendering, which requires internet access and may raise security concerns for sensitive schemas.

Prisma-Exclusive Scope

Only works with Prisma schema files, making it unsuitable for projects using other database modeling tools or ORMs, limiting its utility.

Frequently Asked Questions

Quick Stats

Stars123
Forks10
Contributors0
Open Issues5
Last commit6 months ago
CreatedSince 2020

Tags

#developer-tools#schema-visualization#prisma#cli-tool#database-modeling#documentation#database-diagram#plantuml#erd

Built With

N
Node.js
D
Docker

Included in

Prisma655
Auto-fetched 11 hours ago

Related Projects

Prisma Editor - A powerful tool to visualize and edit Prisma SchemaPrisma Editor - A powerful tool to visualize and edit Prisma Schema

Prisma Editor - A powerful tool to visualize and edit Prisma Schema.

Stars1,036
Forks83
Last commit3 months ago
Prisma ERD GeneratorPrisma ERD Generator

Generate an ER Diagram based on your Prisma schema every time you run npx prisma generate

Stars1,033
Forks63
Last commit4 days ago
DBML GeneratorDBML Generator

Prisma DBML Generator

Stars739
Forks41
Last commit2 years ago
prisma-markdown - Markdown generator, including ERD and descriptionsprisma-markdown - Markdown generator, including ERD and descriptions

Markdown generator of Prisma, including ERD and descriptions

Stars528
Forks28
Last commit3 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub