• Stars
    star
    851
  • Rank 53,558 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

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

Repository Details

Visualise your Prisma schema!

Visualise your Prisma schema - Prismaliser


Prismaliser is a visualisation webapp for Prisma schemas. It allows you to visually explore your schema and the relations between your models, by showing links between the different types of relations in the schema (many-to-many, one-to-many, one-to-one), similar to an Entity-relationship model.

Prismaliser is a fully open-source Next.js application and is easily self-hostable if you wish to, but a hosted version is also available at prismaliser.app if you just want to use it instead.

Installation

Prismaliser is a Next.js application, and as such it requires Node.js to be installed in order to run. Yarn is also recommended as it has a (subjectively) nicer CLI interface.

With Node installed, and the repository cloned, you can simply run the following commands to get it running:

yarn install  # or `npm install`
yarn build  # or `npm run build`
yarn start  # or `npm start`

The latter command can be run in anything like PM2, systemd or any other process daemon of your choice.

Or if you're looking to run it for development purposes, you can use the following commands instead:

yarn install  # or `npm install`
yarn dev  # or `npm run dev`

Docker

A Docker image is also available if that's more your thing.

$ docker run -p 3000:3000 ghcr.io/ovyerus/prismaliser

or if you wanna live on the edge and run the dev branch

$ docker run -p 3000:3000 ghcr.io/ovyerus/prismaliser:dev

Roadmap

This is a list of what I've currently got planned for the future. I'm open to accepting PRs for any of these, but I'd prefer it if you could first open an issue regarding it so we can discuss it/make sure there's not multiple people working on the same thing.

I'm also open to PRs for other features not listed here, but also please open a corresponding issue to discuss it, just like above.

  • Multi-history support (user defined saves).
  • Sharing a schema with other users via a generated link (similar to TypeScript's playground).
  • Saving node positions across page resets.
  • Autocomplete for the editor (very big, Monaco is a bit fiddly at times, would probably need to do some looking at the VSCode plugin for Prisma to figure out some stuff).

License

Prismaliser is licensed under the MIT License - see the LICENSE file for details.

More Repositories

1

bandsnatch

A CLI batch downloader for your Bandcamp collection.
Rust
58
star
2

deeppyer

Image deepfryer written in Python.
Python
42
star
3

license

Easily generate licenses for your projects!
TypeScript
35
star
4

redite

A Redis wrapper for Node.JS, using ES6 Proxies & native Redis data types.
JavaScript
25
star
5

gfh

Git FIDO Helper - Sign your Git commits with multiple resident SSH keys
Rust
23
star
6

kamex

A basic Lisp interpreter implemented in Elixir.
Elixir
14
star
7

brewing-stand-classic

Minecraft Classic server written in Elixir.
Elixir
13
star
8

vexil

An Elixir CLI flag parser that does just enough.
Elixir
12
star
9

selwyn

A dead simple Next.js redirection service.
TypeScript
11
star
10

knife-bot

Simple and easy to use moderation bot for Discord.
JavaScript
10
star
11

eslint-config-clarity

Collection of ESLint configs to ensure code consistency and clarity!
JavaScript
7
star
12

twemoji-elixir

Twemoji for Elixir!
Elixir
6
star
13

lumin

A simple and clean `fish` prompt
Shell
5
star
14

astro-worker-links

Automatically create shortened urls for your Astro project via worker-links!
TypeScript
5
star
15

subnautica-death-marker

Mod for Subnautica that creates a marker when you die.
C#
5
star
16

site

My portfolio/personal website
Astro
4
star
17

iosevka-solai

A custom variant of Iosevka for personal use.
Nix
4
star
18

slurry

Easily backup and restore a Steam installation, keeping Family Share intact!
C#
4
star
19

saladbot

A Discord bot based on interactions for enabling self assignable roles.
Elixir
4
star
20

repository-sentence

Generate a list of GitHub repository URLs based on words given in the terminal!
JavaScript
4
star
21

obsidian-klog

Obsidian support for the Klog file format.
Svelte
4
star
22

gcalc-clone

dumb thing that originated from a job interview test. probably broken at some aspects
Vue
3
star
23

subnautica-armour-stand

Mod for Subnautica that adds a buildable armour stand.
C#
3
star
24

darwin-system

nix-darwin configurations for my Macs
Nix
3
star
25

up-cli

JavaScript
3
star
26

larada

dumb discord bot command handler i made while bored
TypeScript
3
star
27

avoca

Helpful higher-order-functions for Vercel & Next.js APIs.
TypeScript
3
star
28

dotfiles

Nix & Home Manager powered dotfiles
Nix
2
star
29

colourama

A simple webapp to set your screen a solid colour.
Vue
1
star
30

quart-dev-error-repro

Python
1
star
31

hooks

Misc webhooks and stuff
TypeScript
1
star
32

minedown

Markdown to Minecraft chat formatting
Scala
1
star
33

klog-js

A JavaScript implementation of the Klog file format
TypeScript
1
star
34

Ovyerus

hi there
1
star
35

prisma-sdk-vercel-repro

Reproduction for a Prisma bug on Vercel
JavaScript
1
star
36

bucket

Scoop bucket for my various CLI utilities
PowerShell
1
star
37

homebrew-tap

Homebrew tap for my various CLI utilities
Ruby
1
star
38

discord-asyntric

CSS
1
star