Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xbmlz/dbshow

A CLI tool to show database schema, support Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Oracle Database etc.
https://github.com/xbmlz/dbshow

Last synced: about 2 months ago
JSON representation

A CLI tool to show database schema, support Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Oracle Database etc.

Awesome Lists containing this project

README

        

# DBShow

A CLI tool to show database schema, support Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Oracle Database etc.

[![NPM version](https://img.shields.io/npm/v/dbshow)](https://www.npmjs.com/package/dbshow)
[![License](https://img.shields.io/npm/l/dbshow)](LICENSE)
[![Downloads](https://img.shields.io/npm/dm/dbshow)](https://npm-stat.com/charts.html?package=dbshow)

## Features

- Show database schema, including tables, views, indexes and triggers.
- Support Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Oracle Database etc.
- Support view information on Browser.(Based on [Docsify](https://docsify.js.org/#/))
- Support show table `ddl`, `json schema`, `ts`, `go`, `java` model code.
- Support export to PDF, PNG, JPEG, SVG, and HTML.
- Support show update history.
- Support save and load database connection information.

## Usage

### Install

```bash
npx dbshow

# use latest version(recommend)
npx dbshow@latest

# use npm
npm install -g dbshow

dbshow
```

### Upgrade

```bash
npm update -g dbshow
```

## Thanks

- [Sequelize](https://sequelize.org/)
- [Inquirer.js](https://github.com/SBoudrias/Inquirer.js)
- [Docsify](https://docsify.js.org/#/)
- [gradient-string](https://github.com/bokub/gradient-string)

## License

MIT License © 2023 [xbmlz](https://github.com/xblmz)