https://github.com/bbmoz/gochu
View a graph of your project
https://github.com/bbmoz/gochu
ast chart dependencies deps es6 export graph import modules require tree visualization viz
Last synced: 7 months ago
JSON representation
View a graph of your project
- Host: GitHub
- URL: https://github.com/bbmoz/gochu
- Owner: bbmoz
- License: mit
- Created: 2017-04-17T17:22:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T02:44:56.000Z (over 8 years ago)
- Last Synced: 2025-03-16T09:47:10.159Z (7 months ago)
- Topics: ast, chart, dependencies, deps, es6, export, graph, import, modules, require, tree, visualization, viz
- Language: JavaScript
- Homepage: https://git.io/v9TQs
- Size: 746 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gochu
[![npm][npm]][npm-url]
[![build][build]][build-url]
[![climate][climate]][climate-url]
[![deps][deps]][deps-url]
[![license][license]][license-url]![example][example]
> View a graph of your project!
## Get Started
```bash
$ npm install -g gochu
```There are two ways to generate a graph:
1. **Screenshot**
```bash
$ gochu start
$ gochu run -s -t 'example/**/*.js' # see .gochu/ for screenshots
```2. **Live Graph**
```bash
$ gochu start
$ gochu run -t 'example/**/*.js' # open http://localhost:8080
```*Make sure to start the gochu web server before generating a graph.
## CLI
```bash
$ gochu start # start web server at localhost:8080
$ gochu stop # stop web server
$ gochu run [-s|--screenshot] [-t|--target ''] # generate graph
$ gochu [-h|--help] # show all commands
$ gochu run [-h|--help] # show "run" command info
```## Features
- visual graph of project files and their relationships
- real-time graph each time `gochu run -t` is executed
- generate screenshots with `-s` option
- support ES6 modules (`import` and `export`)Enjoy!
[![info][info]][info-url]
[![love][love]][love-url]
[npm]: https://badge.fury.io/js/gochu.svg
[npm-url]: https://www.npmjs.com/package/gochu[build]: https://travis-ci.org/bbmoz/gochu.svg
[build-url]: https://travis-ci.org/bbmoz/gochu[climate]: https://codeclimate.com/github/bbmoz/gochu/badges/gpa.svg
[climate-url]: https://codeclimate.com/github/bbmoz/gochu[deps]: https://dependencyci.com/github/bbmoz/gochu/badge
[deps-url]: https://dependencyci.com/github/bbmoz/gochu[license]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: https://github.com/bbmoz/gochu/blob/master/LICENSE[example]: /media/example.png
[info]: https://nodei.co/npm/gochu.png?compact=true
[info-url]: https://www.npmjs.com/package/gochu[love]: http://forthebadge.com/images/badges/built-with-love.svg
[love-url]: https://github.com/bbmoz/gochu