All Projects β†’ sdras β†’ Project Explorer

sdras / Project Explorer

Licence: mit
πŸŽ‹A CLI tool to create an annotated tree visualization of any project

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Project Explorer

Pidtree
🚸 Cross platform children list of a PID.
Stars: ✭ 76 (-84.33%)
Mutual labels:  cli, tree
Tree Node Cli
🌲 Node.js library to list the contents of directories in a tree-like format, similar to the Linux tree command
Stars: ✭ 102 (-78.97%)
Mutual labels:  cli, tree
Typex
[TOOL, CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.
Stars: ✭ 128 (-73.61%)
Mutual labels:  cli, tree
Dronesploit
Drone pentesting framework console
Stars: ✭ 473 (-2.47%)
Mutual labels:  cli
Preact Cli
😺 Your next Preact PWA starts in 30 seconds.
Stars: ✭ 4,510 (+829.9%)
Mutual labels:  cli
Ffcast
Run command on rectangular screen regions
Stars: ✭ 478 (-1.44%)
Mutual labels:  cli
Git Peek
git repo to local editor instantly
Stars: ✭ 485 (+0%)
Mutual labels:  cli
Vue Jstree
A Tree Plugin For Vue2.0+
Stars: ✭ 469 (-3.3%)
Mutual labels:  tree
Genact
πŸŒ€ A nonsense activity generator
Stars: ✭ 5,109 (+953.4%)
Mutual labels:  cli
Wireguard Manager
Self-hosted Wireguard Installer / Manager for CentOS, Debian, Ubuntu, Arch, Fedora, Redhat, Raspbian
Stars: ✭ 478 (-1.44%)
Mutual labels:  cli
Rust Sloth
A 3D software rasterizer... for the terminal!
Stars: ✭ 478 (-1.44%)
Mutual labels:  cli
Instainsane
Multi-threaded Instagram Brute Forcer (100 attemps at once)
Stars: ✭ 475 (-2.06%)
Mutual labels:  cli
Quicli
Quickly build cool CLI apps in Rust.
Stars: ✭ 481 (-0.82%)
Mutual labels:  cli
Org Formation Cli
Better than landingzones!
Stars: ✭ 471 (-2.89%)
Mutual labels:  cli
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+897.32%)
Mutual labels:  cli
Bubbles
TUI components for Bubble Tea 🍑
Stars: ✭ 467 (-3.71%)
Mutual labels:  cli
Upash
πŸ”’Unified API for password hashing algorithms
Stars: ✭ 484 (-0.21%)
Mutual labels:  cli
React Checkbox Tree
A simple and elegant checkbox tree for React.
Stars: ✭ 477 (-1.65%)
Mutual labels:  tree
Vue Json Pretty
A JSON tree view component that is easy to use and also supports data selection.
Stars: ✭ 477 (-1.65%)
Mutual labels:  tree
Tree
A basic but flexible tree data structure for php and a fluent tree builder implementation.
Stars: ✭ 475 (-2.06%)
Mutual labels:  tree

πŸŽ‹ Project Explorer

Check out the site: https://sdras.github.io/project-explorer-site/

Create a tree visualization of any project with this CLI tool. When ramping people up on an existing codebase, there's often a lot of state they have to understand about the project- where everything is, where everything starts, exceptional files. With this tool, you can generate a visualization of any project, as well modify certain directories to be open, or have notes that people can read through easily.

Installation

npm i -g project-explorer

Here's an example of what we'll be generating:

demo-image

A working example of this exists here. I created this for Vue core off of notes taken at a core meeting as Evan You walked us through some of the file structure.

Prerequisites:

  • You need to be running Node 8 or higher
  • You have to have Yarn installed.

Usage:

To create the visualization in the same folder as your project:

  1. Go into the directory of a project you'd like to document, and run the first command, pexx nameofyourproject.
  2. When prompted for your path, write . or ./
  3. Magic happens! ✨ (but it takes a minute ⏰)

To create the visualization in a separate folder:

  1. Go into the directory of a project you'd like to document, and run pwd in your terminal to get the path
  2. Create a new folder to run this CLI in.
  3. Run the first command, pexx nameofyourproject.
  4. Then paste in the output of pwd as your path when the CLI prompts you for it.
  5. Magic happens! ✨ (but it takes a minute ⏰)

$ pexx nameofyourproject
> path: ./ (or whatever your pwd output is)
β€£ Name of Project: nameofyourproject
β€£ Path: ./
  • Replace nameofyourproject with the name you'd like to give your project
  • Files in .gitignore will be ignored in the build. We've also removed .gitignore, .git, and the base-directory-tree that this project will generate.
  • Path can either be the current directory or you can use pwd in another local directory of choice. I recommend this option as you might want these files and this documentation in another folder.

This will kick off the processes that will build the directory trees, the UI for traversing, and give you a little example to start with too :) It will even kick off the server for you.

Open directories

You can specify what directories you would like to be open when a user first visits by adding them to the opened array in base-directory-tree/src/store.

Comments

You can add comments for the different files by adding them to the comments object in base-directory-tree/src/store. You will specify it using the path as the key and the comment as the value, like this:

`READMEexample`: `This is an example of how a note is made! You can write the pathname of any file and the note will appear ☺️. You can delete this now.`

Github link

You can point the github logo link to your own repo by updating the github string in base-directory-tree/src/store.

(Basically all the state you need is probably in the Vuex store. πŸ˜‰)

Contributing

Contributions are welcome! 🀘 Please head over to CONTRIBUTING.md for more information.

πŸ₯‚ Thanks for using this project! I hope it's helpful. If you see ways to improve it, PRs are welcome.

Twitter: sarah_edo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].