Git Product home page Git Product logo

instagraph's Introduction

Instagraph

What is it?

It's a very small web application that generates graphs as PNG images. You might consider it a bare-bones graph pastebin application.

You enter a graph or digraph definition. You click the button. You get a link to the generated PNG file.

You can generate PNG files with short names (incrementing series, so that makes the URLs easy to guess) or long names (40 characters hex string; need to know graph definition to guess).

Requirements

  • GraphViz installed in /usr/bin. You can edit gen.php if you have a different path.
  • PHP 5 or newer.
  • MySQL 3 or newer (tested with 5.x).
  • The .htaccess file included with it needs Apache with mod_rewrite enabled (and .htaccess files allowed, obviously). You can probably create an alternative solution for most other web servers. Basically, any request to 123abcABC_-.png needs to be rewritten into get.php?id=13abcABC_-.

Specialties

If you configure your webserver to require HTTP authentication on gen.php, graphs can only be created by known users. Instagraph will log the name of the user for each created graph in the database, though the value won't be displayed anywhere. (Instagraph also logs the time at which each graph was generated; this value isn't displayed, either...)

Feedback

Anything interesting to say? Tell me at [email protected].

instagraph's People

Contributors

jast avatar kenyon avatar

Stargazers

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