## Daffi Terminals
Simple web based application designed to facilitate the connection to remote terminals.
## Preview
![sc.png](https://raw.githubusercontent.com/600apples/dafi-terminals/main/docs/sc.png)
### How it works
![how-it-works](https://raw.githubusercontent.com/600apples/dafi-terminals/main/docs/intro.png)
### Get started
1. Install this app, run command `pip install daffi-terminals`
2. Start a router, run command `dterm start-router --rpc-host=0.0.0.0 --rpc-port=9999 --web-host=0.0.0.0 --web-port=8888`
3. Connect worker to router, run command `dterm start-worker --rpc-host=0.0.0.0 --rpc-port=9999` (you can connect as many workers as you want)
3. Navigate [http://localhost:8888](http://localhost:8888/) in your browser
#### `start-router` arguments
| Argument | Description | Required |
|----------|-------------|-----------|
| `--rpc-host` | host for communication between router and workers | Yes |
| `--rpc-port` | port for communication between router and workers | Yes |
| `--web-host` | host for serving web server | Yes |
| `--web-port` | port for serving web server | Yes |
| `--ssl-cert` | ssl certificate for connection encryption between router and workers | No |
| `--ssl-key` | ssl key for connection encryption between router and workers | No |
#### `start-worker` arguments
| Argument | Description | Required |
|----------|-------------|-----------|
| `--rpc-host` | router rpc host | Yes |
| `--rpc-port` | router rpc port | Yes |
| `--name` | worker name. This name must be unique across all workers. If not provided then random name will be assigned | No |
| `--ssl-cert` | ssl certificate for connection encryption between router and workers | No |
| `--ssl-key` | ssl key for connection encryption between router and workers | No |
Raw data
{
"_id": null,
"home_page": null,
"name": "daffi-terminals",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "async,debug,debugging,distributed,embedded,iot,python,remote,remote control,rpc,ssh,stream,webssh",
"author": null,
"author_email": "Volodymyr Boiko <600apples@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/d8/d9/33bbf6856c7cbc3ad0d41d0e6554f04c72b4275c25886da4b5e1a2f738fe/daffi_terminals-1.0.13.tar.gz",
"platform": null,
"description": "## Daffi Terminals\n\nSimple web based application designed to facilitate the connection to remote terminals.\n\n## Preview\n![sc.png](https://raw.githubusercontent.com/600apples/dafi-terminals/main/docs/sc.png)\n\n### How it works\n\n![how-it-works](https://raw.githubusercontent.com/600apples/dafi-terminals/main/docs/intro.png)\n\n\n### Get started\n\n1. Install this app, run command `pip install daffi-terminals`\n2. Start a router, run command `dterm start-router --rpc-host=0.0.0.0 --rpc-port=9999 --web-host=0.0.0.0 --web-port=8888`\n3. Connect worker to router, run command `dterm start-worker --rpc-host=0.0.0.0 --rpc-port=9999` (you can connect as many workers as you want)\n3. Navigate [http://localhost:8888](http://localhost:8888/) in your browser\n\n#### `start-router` arguments\n\n| Argument | Description | Required |\n|----------|-------------|-----------|\n| `--rpc-host` | host for communication between router and workers | Yes |\n| `--rpc-port` | port for communication between router and workers | Yes |\n| `--web-host` | host for serving web server | Yes |\n| `--web-port` | port for serving web server | Yes |\n| `--ssl-cert` | ssl certificate for connection encryption between router and workers | No |\n| `--ssl-key` | ssl key for connection encryption between router and workers | No |\n\n\n#### `start-worker` arguments\n\n| Argument | Description | Required |\n|----------|-------------|-----------|\n| `--rpc-host` | router rpc host | Yes |\n| `--rpc-port` | router rpc port | Yes |\n| `--name` | worker name. This name must be unique across all workers. If not provided then random name will be assigned | No |\n| `--ssl-cert` | ssl certificate for connection encryption between router and workers | No |\n| `--ssl-key` | ssl key for connection encryption between router and workers | No |\n",
"bugtrack_url": null,
"license": null,
"summary": "Remote terminal control",
"version": "1.0.13",
"project_urls": {
"Source": "https://github.com/600apples/dafi-terminals"
},
"split_keywords": [
"async",
"debug",
"debugging",
"distributed",
"embedded",
"iot",
"python",
"remote",
"remote control",
"rpc",
"ssh",
"stream",
"webssh"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bfe56728a745c7c3aec86a8d3dcfee8d82c8354df523ebbfbb27fe5ce398e234",
"md5": "684ff1b72a3a5bc45feec79703be0faf",
"sha256": "661ddc33b4d0a7c517fea0829a9d8ae40e1d78226472f98cea9fbce822ba7b90"
},
"downloads": -1,
"filename": "daffi_terminals-1.0.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "684ff1b72a3a5bc45feec79703be0faf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 199541,
"upload_time": "2023-06-10T12:33:02",
"upload_time_iso_8601": "2023-06-10T12:33:02.187608Z",
"url": "https://files.pythonhosted.org/packages/bf/e5/6728a745c7c3aec86a8d3dcfee8d82c8354df523ebbfbb27fe5ce398e234/daffi_terminals-1.0.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d8d933bbf6856c7cbc3ad0d41d0e6554f04c72b4275c25886da4b5e1a2f738fe",
"md5": "60a02d5dbb1787389def0f8ef680e76d",
"sha256": "59ab785233507e95f2278b0cbd14d749f17854572be3e8ea046a54c00f6bc12b"
},
"downloads": -1,
"filename": "daffi_terminals-1.0.13.tar.gz",
"has_sig": false,
"md5_digest": "60a02d5dbb1787389def0f8ef680e76d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 197328,
"upload_time": "2023-06-10T12:33:04",
"upload_time_iso_8601": "2023-06-10T12:33:04.678061Z",
"url": "https://files.pythonhosted.org/packages/d8/d9/33bbf6856c7cbc3ad0d41d0e6554f04c72b4275c25886da4b5e1a2f738fe/daffi_terminals-1.0.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-10 12:33:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "600apples",
"github_project": "dafi-terminals",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "daffi-terminals"
}