jumbotron

A Bash terminal written in dart that runs in the browser

Overview

jumbotron is a terminal that (optionally) connects via websockets to a web server. When used with shellephone for example, jumbotron can actually be used like a shell without commands that require a tty.

To use jumbotron in your angular-dart project, simply create a module:

main.dart
import "dart:html";
import "dart:async";

import 'package:angular/angular.dart';
import 'package:angular/application_factory.dart';

import "package:jumbotron/jumbotron.dart";

class JumbotronDemoModule extends Module {
  JumbotronDemoModule() {
    bind(JumbotronComponent);
  }
}

void main () {
  applicationFactory()
    .addModule(new JumbotronDemoModule())
    .run();
}

and add a jumbotron element to your html:

main.html
<jumbotron 
  ps1="[email protected]$ " 
  sockaddr="127.0.0.1:8082">
</jumbotron>
output

jumbotron-demo-sh

Libraries

jumbotron