{"id":22157439,"url":"https://github.com/zhanglaiya/pyttyd","last_synced_at":"2025-07-26T08:31:48.701Z","repository":{"id":65857790,"uuid":"585529958","full_name":"zgsla/pyttyd","owner":"zgsla","description":"Python开发的web分享终端的工具","archived":false,"fork":false,"pushed_at":"2024-07-22T02:35:18.000Z","size":922,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-01T16:43:27.507Z","etag":null,"topics":["asyncio","fastapi","python","ttyd","web","websockets","xtermjs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zgsla.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}},"created_at":"2023-01-05T12:06:26.000Z","updated_at":"2024-07-22T02:21:55.000Z","dependencies_parsed_at":"2024-03-15T10:24:12.929Z","dependency_job_id":"37b0d863-253e-4b9f-954a-669391d704bb","html_url":"https://github.com/zgsla/pyttyd","commit_stats":{"total_commits":55,"total_committers":4,"mean_commits":13.75,"dds":"0.23636363636363633","last_synced_commit":"8d19ef0d83d98bb1bcad3ae2cde73c4caf277bd7"},"previous_names":["real1m8/pyttyd","zhanglaiya/pyttyd","zgsla/pyttyd"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgsla%2Fpyttyd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgsla%2Fpyttyd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgsla%2Fpyttyd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgsla%2Fpyttyd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zgsla","download_url":"https://codeload.github.com/zgsla/pyttyd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227663043,"owners_count":17800711,"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":["asyncio","fastapi","python","ttyd","web","websockets","xtermjs"],"created_at":"2024-12-02T03:08:52.604Z","updated_at":"2025-07-26T08:31:43.177Z","avatar_url":"https://github.com/zgsla.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pyttyd\n*Python开发的web分享终端的工具*\n\n### 安装\n\n```commandline\n$ pip install pyttyd\n```\n\n### 启动服务\n\n```commandline\n$ pyttyd\n```\n\n### 支持的平台\n✅ linux\n\n### 仓库\n[github](https://github.com/zhanglaiya/pyttyd)  \n[码云](https://gitee.com/zhanglaiya/pyttyd)\n\n### 说明\n[xterm.js](https://github.com/xtermjs/xterm.js)制作终端效果展示  \n[uvicorn](https://github.com/encode/uvicorn)+[FastApi](https://github.com/tiangolo/fastapi)提供http服务  \n[websockets](https://github.com/aaugustin/websockets)实现web终端与pty交互\n\n把终端分享到网页是**不安全**的，请小心使用。\n\n### 更好的相关工具\nc [ttyd](https://github.com/tsl0922/ttyd)  \ngo [gotty](https://github.com/yudai/gotty)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhanglaiya%2Fpyttyd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhanglaiya%2Fpyttyd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhanglaiya%2Fpyttyd/lists"}