{"id":29857260,"url":"https://github.com/0xpiranhacodes/webpty","last_synced_at":"2025-07-30T00:39:25.519Z","repository":{"id":42191346,"uuid":"318170097","full_name":"0xPiranhaCodes/webpty","owner":"0xPiranhaCodes","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-07-28T01:40:06.997Z","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/0xPiranhaCodes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-03T11:24:12.000Z","updated_at":"2025-04-10T19:04:23.000Z","dependencies_parsed_at":"2025-04-15T02:52:34.981Z","dependency_job_id":"6e5d6d2c-7209-48b7-b43a-3518a13e357c","html_url":"https://github.com/0xPiranhaCodes/webpty","commit_stats":null,"previous_names":["0xpiranhacodes/webpty"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/0xPiranhaCodes/webpty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPiranhaCodes%2Fwebpty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPiranhaCodes%2Fwebpty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPiranhaCodes%2Fwebpty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPiranhaCodes%2Fwebpty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xPiranhaCodes","download_url":"https://codeload.github.com/0xPiranhaCodes/webpty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPiranhaCodes%2Fwebpty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267786047,"owners_count":24144125,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-07-30T00:39:24.803Z","updated_at":"2025-07-30T00:39:25.503Z","avatar_url":"https://github.com/0xPiranhaCodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpiranhacodes%2Fwebpty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xpiranhacodes%2Fwebpty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpiranhacodes%2Fwebpty/lists"}