Coder Social home page Coder Social logo

canvas-ui-shell's Introduction

canvas-ui-shell

Canvas UI shell client (tested with bash)

Installation

Canvas bash client

$ git clone [email protected]:idncsk/canvas-ui-shell.git /path/to/canvas-shell
# Add canvas to your bashrc
$ echo ". /path/to/canvas-shell/context.sh" >> ~/.bashrc
# Edit your client config
$ mkdir -p ~/.canvas/config
# For remote instances
$ nano ~/.canvas/config/transports.rest.json
{
    "protocol": "https",
    "host": "canvas.domain.tld",
    "port": "443",
    "baseUrl": "/rest/v1",
    "auth": {
        "token": "canvas-rest-api"
    }
}
# If you create an empty file, the following defaults will be used:
# port 8001
# host 127.0.0.1
# protocol http
# baseUrl /rest/v1
# auth.token canvas-rest-api

Currently, we only support a very limited API used mainly for development/testing purposes (always check --help, readme may not be up-to-date)

  • set: Sets a context URL
  • url: Returns the current context url
  • path: Returns the current context path
  • paths: Returns the path representation of the current context tree
  • tree: Returns the full Canvas context tree in plain JSON format
  • bitmaps: Returns a summary of all in-memory bitmaps for the current context
  • list: Lists all documents linked to the current context
    • tabs: data/abstraction/tab
    • notes: data/abstraction/note
    • todo: data/abstraction/todo

TODO

  • Context pinning
  • (implies) Context management (you may want to have different terminals using different contexts)

canvas-ui-shell's People

Contributors

idncsk avatar

Watchers

 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.