Giter Site home page Giter Site logo

veith / onion-console Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onioniot/onion-console

0.0 2.0 0.0 5.07 MB

Web application for accessing Onion devices

License: GNU Affero General Public License v3.0

Makefile 0.04% Shell 0.27% HTML 66.27% CSS 0.12% JavaScript 33.30%

onion-console's Introduction

Onion-Console

Web application for accessing Onion devices

Setup on Omega

Follow the table below for information on setting up the Console on an Omega

Repo File Location on Omega
www/* /www/.
acl.d/onion-console.json /usr/share/rpcd/acl.d/onion-console.json
rpcd/onion-console.sh /usr/libexec/rpcd/onion-console

Run /etc/init.d/rpcd restart after copying rows 2 and 3

onion-console ubus Service

The onion-console ubus service implements any functionality the console needs to communicate with the Omega hardware or filesystem

app-list

Functionality

Identifies all console apps installed in the /www/apps directory.

Usage

Takes no arguments

Return Data

Returns an array of all installed console apps, information includes everything in the app.json file of each app

shellinabox

Functionality

Allows for control of the shellinabox daemon through ubus

Usage

Takes argument in following format {"params":{"key":"value"}}

Possible Keys:

  • start
    • This will start the shellinabox daemon
    • Value should be null string, ""
  • check
    • This will check for running shellinabox daemon
    • Return will be in following format { "pids": "1211 1213 ", "running": 2 }
    • Value should be null string, ""
  • stop
    • This will stop any running shellinabox daemon
    • Value should be null string, ""
  • restart
    • This will restart the shellinabox daemon
    • Value should be null string, ""

#Copyright and license Code and documentation copyright 2014-2015 Onion Corporation. Code released under the GNU Public License Version 3. Documentations are released under Creative Commons.

onion-console's People

Contributors

greenbreakfast avatar ohyrneh avatar mh1412 avatar

Watchers

Veith Zäch avatar James Cloos 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.