Giter Site home page Giter Site logo

imclab / butterfly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paradoxxxzero/butterfly

0.0 2.0 0.0 1.83 MB

A web terminal based on websocket and tornado

Home Page: http://paradoxxxzero.github.io/2014/02/28/butterfly.html

License: Other

CoffeeScript 32.43% Python 12.85% CSS 26.94% Ruby 0.04% JavaScript 27.37% HTML 0.28% Shell 0.09%

butterfly's Introduction

ƸӜƷ butterfly

Description

Butterfly is a tornado web server written in python which powers a full featured web terminal.

The js part is heavily based on term.js which is heavily based on jslinux.

Try it

    $ pip install butterfly
    $ butterfly.server.py

Then open localhost:57575 in your favorite browser and done.

Run it with systemd (linux)

Systemd provides a way to automatically activate daemons when needed (socket activation):

    $ cd /etc/systemd/system
    # curl -O https://raw.githubusercontent.com/paradoxxxzero/butterfly/master/butterfly.service
    # curl -O https://raw.githubusercontent.com/paradoxxxzero/butterfly/master/butterfly.socket
    # systemctl enable butterfly.socket
    # systemctl start butterfly.socket

Contribute

and make the world better (or just butterfly).

Don't hesitate to fork the repository and start hacking on it, I am very open to pull requests.

If you don't know what to do go to the github issues and pick one you like.

If you want to motivate me to continue working on this project you can tip me, see: http://paradoxxxzero.github.io/about/

The dev requirements are coffee script and compass for the client side. Run python dev.py --debug --port=12345 and you are set (yes you can launch it from your regular butterfly instance)

Author

Florian Mounier

License

    butterfly Copyright (C) 2014  Florian Mounier

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Docker Usage

There is a docker repository created for this project that is set to automatically rebuild when there is a push into this repository: https://registry.hub.docker.com/u/garland/butterfly/

Starting

    docker run \
    --env PASSWORD=password \
    --env PORT=57575 \
    -p 57575:57575 \
    -d garland/butterfly

butterfly's People

Contributors

albertz avatar by-cx avatar oldgregg avatar onjin avatar paradoxxxzero avatar pizzapanther 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.