{"id":15324823,"url":"https://github.com/satheesh1997/webpty","last_synced_at":"2025-04-15T02:52:26.147Z","repository":{"id":42191346,"uuid":"318170097","full_name":"satheesh1997/webpty","owner":"satheesh1997","description":"A helpful package that helps you access shell \u0026 shell-based applications via web application","archived":false,"fork":false,"pushed_at":"2023-07-25T06:40:33.000Z","size":201,"stargazers_count":16,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T02:52:19.670Z","etag":null,"topics":["pkg","pty","python","tornado","websocket","xterm-js"],"latest_commit_sha":null,"homepage":"https://replit.com/@satheesh1997/webpty","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/satheesh1997.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-03T11:24:12.000Z","updated_at":"2025-04-10T19:04:23.000Z","dependencies_parsed_at":"2023-01-30T06:46:35.163Z","dependency_job_id":null,"html_url":"https://github.com/satheesh1997/webpty","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satheesh1997%2Fwebpty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satheesh1997%2Fwebpty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satheesh1997%2Fwebpty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satheesh1997%2Fwebpty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satheesh1997","download_url":"https://codeload.github.com/satheesh1997/webpty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997087,"owners_count":21195797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pkg","pty","python","tornado","websocket","xterm-js"],"created_at":"2024-10-01T09:28:26.550Z","updated_at":"2025-04-15T02:52:26.127Z","avatar_url":"https://github.com/satheesh1997.png","language":"Python","readme":"# webpty\n\nWeb based application to access shell \u0026 shell based applications via a browser.\n\n[![PyPI version](https://badge.fury.io/py/webpty.svg)](https://badge.fury.io/py/webpty)\n\n#\n\n## Installation\n\nUse [pip](https://pip.pypa.io/en/stable/) and install webpty.\n\n```bash\npip install webpty\n```\n\n## Usage\n\n```bash\nwebpty\n```\n\nCreates a tornado server which will be serving bash shell on http://localhost:8000/\n\n### Change Shell\n\n```bash\nwebpty -c $SHELL\n```\n\nor\n\n```bash\nwebpty --cmd=$SHELL\n\n```\n\nThis $SHELL can be bash, sh, python, vim, wtfutil, etc. that is available in the system.\n\n### Change Port\n\n```bash\nwebpty -p $PORT\n```\n\nor\n\n```bash\nwebpty --port=$PORT\n\n```\n\nCreates a tornado server that server on the specified port http://localhost:$PORT/\n\n### Change Allowed Hosts\n\nBy default, server will accept request from all the hosts without any restriction, to make it accept only from certain hosts,\n\n```bash\nwebpty -ah $ALLOWED_HOSTS\n```\n\nor\n\n```bash\nwebpty --allowed-hosts=$ALLOWED_HOSTS\n```\n\nServer accepts only requests from $ALLOWED_HOSTS. This $ALLOWED_HOSTS should be list of strings seperated by a comma.\n\n#\n\n## Screenshots\n\n#### Bash\n\n![Online Bash Shell](https://imgur.com/iNoW3jL.png)\n\n#### Python\n\n![Online Python Shell](https://imgur.com/YYK4YXs.png)\n\n#### Vim\n\n![Online Vim](https://imgur.com/vfei1Ri.png)\n\n#\n\n## Contributing\n\nPull requests are welcome. Raise a issue and start a discussion before submitting a pr.\n\n#\n\n![Python Powered](https://www.python.org/static/community_logos/python-powered-h-70x91.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatheesh1997%2Fwebpty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatheesh1997%2Fwebpty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatheesh1997%2Fwebpty/lists"}