Giter Club home page Giter Club logo

lead.js's Introduction

lead.js

Build Status

lead.js is a CoffeeScript console for exploring data, inspired by tools like Mathematica and The IPython Notebook. Its focus is on graphing time-series data from systems like Graphite and OpenTSDB.

Features

  • Graphite target DSL: write Graphite queries with ease.
  • GitHub integration: save and load files directly from Gists or repositories.
  • Autocompletion: lead.js suggests commands or Graphite target functions.
  • Extensible: integrate your own functions and data sources.

Missing Features

  • Useful documentation for most built-in functions.
  • An actual REPL. Each cell runs in its own scope. (#9).

Documentation

Installation

Quick Start

Graphing

OpenTSDB

Graphite DSL function list

lead.js built-in functions

License

lead.js is released under the MIT License.

lead.js's People

Contributors

also avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lead.js's Issues

first input not initialized?

sometimes, the first input field (intro or something from the permalink) appears blank, but sized to fit the content.

markdown support

support input cells in markdown format, and rendering markdown to output cells

chaining and threading dsl function

Like clojure's thread-first macro:

thread(
  q('series.a'),
  sum(q('series.b')),
  alias('a + b')
)

or chaining:

q('series.a').sum(q('series.b').alias('a + b')

should result in

alias(sum(q('series.a'), q('series.b')), 'a + b')

Maybe this is too weird.

saving

the ability to save and load a notebook

just the input cells for now

hash is only checked on page load

loading the page with #/https://gist.github.com/also/5794205 will load the gist, but adding it to the url of a loaded page does nothing.

multiple concurrent suggestions

ctrl+space several times after 'ro can give you 'rodan.dan.dan. instead of rodan..

It will also overlay multiple suggestion popups if there are more than one option.

lists as "series lists"

averageSeries [q('a'), q('b'), q('c')]

throws TypeError: illegal argument [object Object],[object Object],[object Object]

tree view

like the tree on the left side of the graphite ui

parse graph urls

take a graphite image url and convert it into lead.js functions

scatterplot

start = moment().subtract('days', 3)
datapoints = for i in [1..48]
  t = start.add('hours', 1)
  [Math.random(), t.valueOf() / 1000]

graph $.Deferred().resolve([target: 'test', datapoints: datapoints]), type: 'scatter'

settings editor

to start, just an input field with a button that will save the setting

source maps

the built lead.js should have a working source map

run standalone

run code outside of a notebook.

maybe this just means a notebook of a single cell?

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.