We’ve developed a new database design tool called Liam ERD, and it’s finally here! Let us introduce it to you.
Liam ERD is a tool that automatically generates ER diagrams to visualize database table structures. It comes in two main versions:
https://liambx.com/erd/p/
to their URL. For example, to view Mastodon’s schema: https://liambx.com/erd/p/github.com/mastodon/mastodon/blob/main/db/schema.rb.Entity Relationship Diagrams (ERDs) are essential for understanding database structures, facilitating smoother communication in software development. They are particularly helpful for:
Creating ER diagrams manually is time-consuming and error-prone. Automating this process ensures accuracy and saves effort. While existing tools like Mermaid.js or PlantUML provide static images, they struggle with readability for large projects. Others, like SchemaSpy, require extensive dependencies and are difficult to integrate into CI/CD pipelines. We wanted a CI/CD-friendly, easy-to-use, and highly readable solution—hence, Liam ERD was born.
Liam ERD arranges related tables close together, avoiding overly complex connections, ensuring a clean and readable layout even for large databases. Additionally, hovering over a table highlights related tables and columns, helping users focus on areas of interest. Selecting a table displays a detailed pane with comments, indexes, and related tables.
For public GitHub repositories, simply prepend https://liambx.com/erd/p/
to the schema file’s URL, and Liam ERD will render the diagram. You can also specify a commit hash to view diagrams at a specific point in the project’s history.
The CLI version of Liam ERD is available via npm, enabling local generation of ER diagrams or integration with CI/CD pipelines. For example, combining Prisma, GitHub Actions, and Cloudflare Pages allows internal use while restricting access to authorized members. Detailed deployment instructions can be found in our documentation.
Currently, Liam ERD supports schema files for Ruby on Rails (schema.rb
), Prisma (schema.prisma
), and SQL DDL. We’re actively working on expanding support for other formats and welcome community contributions.
We plan to enhance Liam ERD with the following capabilities:
Liam ERD is open source, and we welcome contributions. You can help by:
Your support matters! Give our repository a ⭐️ on GitHub to help us grow and improve. You can also track our roadmap and share your feedback.
That’s Liam ERD, a powerful tool for generating clear, interactive ER diagrams effortlessly. Explore it today at https://liambx.com/.
For a more detailed introduction, check out our blog post: