Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/xbmlz/dbshow
- Owner: xbmlz
- License: mit
- Created: 2023-07-07T08:46:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-10T15:02:05.000Z (8 months ago)
- Last Synced: 2024-10-12T05:28:57.270Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 389 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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 dbshowdbshow
```### 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)