Coder Social home page Coder Social logo

asterion's Introduction

Asterion

Make and explore dependency graphs for Clojure(Script) projects.

La casa es del tamaño del mundo; mejor dicho, es el mundo.

Asterion will run tools.namespace against your project sources, generate a dependency graph, and then graph it using something similar to graphviz. To get your project sources, it will try to parse your project.clj and if that works, the graph is displayed, you can navigate it (zoom), filter out namespaces by their names, and highlight namespaces that contain a certain word in their file (full text search with grep).

Here is an initial demo. and

Usage

Asterion is currently structured as a webapp, we'll see how it can be packaged in the future. You can try it here

To use it locally:

# Compile ClojureScript
lein cljsbuild once production
# Start the server
lein ring server

Developing

Special Requirements

First install an experimental version of tools.namespace:

https://github.com/bensu/tools.namespace
cd tools.namespace
git checkout node
mvn install

If it worked, you should have a 0.3.19-SNAPSHOT folder under:

ls ~/.m2/repository/org/clojure/tools.namespace/

With tools.namespace installed you can start the Electron app as usual.

Development mode

Start the figwheel server:

lein figwheel

If you are on OSX/Linux and have rlwrap installed, you can start the figwheel server with:

rlwrap lein figwheel

This will give better readline support.

More about figwheel here.

Dependencies

Node dependencies are in package.json file. Bower dependencies are in bower.json file. Clojure/ClojureScript dependencies are in project.clj.

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.