Git Product home page Git Product logo

import-indexer's Introduction

import-indexer

Use react-force-graph to visualize repo directory/file structures and the imports each file makes. (Rust only atm)

This is my attempt to create something that can construct automated import graphs of complex codebases in a way enables better visualization than traditional diagramming tools and unlocks interactivity.

This began as a way to get familiar with open source codebases that one would like to contribute to, and ultimately evolved into a way for me to procrastinate contributing to the repos that I wanted to use it to understand better.

Before I continue, let's look at some examples.

cryo

reth

Now that I have your attention, along the way I learned so much about this kind of structure that I ended up further nerdsniped by using what I learned here to start work on a generalized knowledge graph with this structure. This will later be integrated into that knowledge base with the ability to import a repo as a base graph to work from. I dream of being able to work on codebases by altering network structures, but more importantly I dream of grasping the incredible breadth and depth of knowledge avaialble to use these days.

I digress, I hope someone out there finds this useful. I put it out before integrating into my knowledge graph application in hopes that someone will. There are problems with it. It only works for Rust atm and it creates new nodes for super:: and crate:: imports but I'll work those out when I get around to coming back to this for the integration (or maybe someone else will?). I hope it's worth the wait and that some people who check this out stick around for it.

Actual Instructions (gasp)

You'll need to copy server/src/.envsample to server/src/.env and put in your Github personal access token.

To run this, have docker installed and type 'make' in the root directory. It'll take care of everything for you. Just navigate to localhost:2998 in your browser, put a (Rust) repo in, and click the button.

import-indexer's People

Contributors

rhizonymph avatar

Stargazers

K. S. Ernest (iFire) Lee avatar Glenn 'devalias' Grant avatar Hayden Donnelly avatar Milind Dhamu avatar mous avatar Sabnock avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.