Coder Social home page Coder Social logo

dmgolembiowski / cast-sh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monuelo/cast-sh

0.0 1.0 0.0 481 KB

:pager: An instance of your terminal in your browser

License: Apache License 2.0

Python 51.20% JavaScript 25.15% HTML 12.57% Dockerfile 0.47% CSS 10.23% Makefile 0.38%

cast-sh's Introduction

cast-sh

Build Status Coverage Status Python 3.5-3.7 Code style: black Total alerts Language grade: Python Language grade: JavaScript

Installation & Prerequisites

Use the package manager pip to install the dependencies before run the application

pip3 install -r requirements.txt

Usage

To start the terminal cast application, run:

python3 -m cast

Or if you install the application via pip:

pip install .

# command available once pkg has been installed
cast-sh

Arguments

optional arguments:

  -h, --help                show this help message and exit
  -p [PORT], --port [PORT]  port to run server on (default: 5000)
  --debug                   debug the server (default: False)
  --version                 print version and exit (default: False)
  --command COMMAND         Command to run in the terminal (default: bash)
  --cmd-args CMD_ARGS       arguments to pass to command (i.e. --cmd-args='arg1
                            arg2 --flag') (default: )
  --password PASSWORD       set a password for accessing cast-sh
                            sessions (default: admin)

A password can be set using an environment variable as well.

Unix

export PASSWORD="weakpassword"

Windows

set PASSWORD="weakpassword"

Docker

Build image

docker build -t cast .

Run built image

docker run --name cast.sh-container -p 5000:5000/tcp -i -t cast

Screenshots

screenshots

Contributing

Contribute

License

Code of Conduct

Everyone interacting with the cast-sh codebase and issue tracker is expected to follow our Code of Conduct.

cast-sh's People

Contributors

monuelo avatar vladdoster avatar benardi avatar satanb4 avatar dependabot[bot] avatar matheuscmelo avatar gowthamraj198 avatar johntellsall avatar marianabianca avatar matzcouz avatar pablolec avatar shantanuo avatar fossabot avatar oktak avatar zkarvx avatar

Watchers

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.