null-Exception1 / TerminalConnection

An open-source tool to send commands to your python program through a web terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TerminalConnection

An open-source tool to send commands to your python program through a web terminal

Setup

NOTE: YOU CANNOT USE MY PUBNUB KEYS. I'VE ALREADY DELETED THEM. To use this tool you have to create a keyset using PubNub

To start, go to PubNub Sign up and sign up for free.

Next, pick this option in order to let PubNub know we'll be using this for our terminal image

Go to Apps image

Go to "My First App" image

Click on "Create a new keyset" image

Choose whatever name you'd like image

Click on the keyset you made in the previous step image

You will see a screen like this - image

These keys are incredibly important. They will be used for initialization.

Next, download the repo and open index.html image

You should see a web terminal - image

Next, you have to write this command - image

NOTE: DO NOT COPY PASTE THE EXACT SAME THING WRITTEN, YOU HAVE TO REPLACE THE ARGUMENTS WITH THE ACTUAL KEYS In my case it would look like this - image

Press enter, you should see this - image

Next we need to initialize the python terminal, open your command-line In case you haven't downloaded this repository, please do so now.

You need to do "cd <path_where_downloaded_repository_is>" image

After which, do "py main.py <publish_key> <subscribe_key> <keyset_name>" In my case, i'll be typing -

image

Press enter

If you already have pubnub module installed it should look like this - image

If you haven't it should look like this - image

About

An open-source tool to send commands to your python program through a web terminal

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.0%Language:Python 0.8%Language:CSS 0.1%Language:HTML 0.1%