Code Monkey home page Code Monkey logo

ditaa-live's Introduction

Ditaa-live

Ditaa is command-line utility written in Java, that can convert diagrams drawn using ascii art into proper bitmap graphics. Ditaa-live is a golang web server that show the generated images from ditaa. But the most important thing is that the image is automatically reloaded when the ditaa file is modified. It works by opening a websocket connection to the server that will monitor the file with inotify (Linux-only).

Note: ditaa-live only works in a browser that supports WebSocket, i.e. Chrome or Firefox.

How to use it?

Install ditaa

  • On Debian: apt-get install ditaa
  • On os X: brew install ditaa

Install golang-weekly (2012-02-07) and don't forget to set $GOROOT. And then, run these instructions:

go get github.com/howeyc/fsnotify
go get code.google.com/p/go.net/websocket
go get github.com/nono/ditaa-live
ditaa-live path/to/a/directory
x-www-browser http://127.0.0.1:4444/

Credits

โ™ก2012 by Bruno Michel. Copying is an act of love. Please copy and share.

Released under the MIT license

ditaa-live's People

Contributors

nono avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.