Giter Site home page Giter Site logo

ticked's Introduction

Ticked

Collect stuff over UDP, show graphs.

Getting Started

  1. grab node. http://nodejs.org/

     NODE_VERSION=v0.10.29
     curl -O http://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}.tar.gz
     tar zxvf node-${NODE_VERSION}.tar.gz
     cd node-${NODE_VERSION}
     ./configure --prefix=${HOME}/opt/node-${NODE_VERSION}
     make -j8
     make install
     cd ..
    

    Of course, you want this to be the version you use.

     (cd ${HOME}/opt && rm -f node && ln -s node-${NODE_VERSION} node)
    
  2. node path

     NODE_HOME=${HOME}/opt/node
     export PATH=$PATH:${NODE_HOME}/bin
    
  3. install dependencies (be sure to be inside this directory)

     # Inside the ticked directory; installing locally
     npm install
    
  4. start the ticked server.

     node ticked.js
    
  5. send some data.

     ./sender.py
    
  6. point a browser at the server. http://localhost:8080

Sending Data

UDP data is accepted. The message format is colon ':' separated. You can test from the command-line like:

# on mac
echo "toplevel:groovy" | nc -u -w 0 localhost 8025

# on linux
echo "toplevel:groovy" | nc -u -q 0 localhost 8025

Limitations

It sucks.

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.