{"id":28284983,"url":"https://github.com/daysnap/toothpick","last_synced_at":"2025-08-18T15:09:23.360Z","repository":{"id":37323270,"uuid":"502878892","full_name":"daysnap/toothpick","owner":"daysnap","description":"基于 websocket 长连接 debug 功能","archived":false,"fork":false,"pushed_at":"2023-04-06T03:19:14.000Z","size":1425,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T15:24:34.890Z","etag":null,"topics":["debug","h5","pc","websocket"],"latest_commit_sha":null,"homepage":"http://demo.daysnap.cn/toothpick/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daysnap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-06-13T08:54:52.000Z","updated_at":"2023-01-15T05:41:38.000Z","dependencies_parsed_at":"2025-06-16T07:39:47.771Z","dependency_job_id":"d42d9242-afd6-4767-82da-f8c5c7d36098","html_url":"https://github.com/daysnap/toothpick","commit_stats":null,"previous_names":["daysnap/jssdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daysnap/toothpick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daysnap%2Ftoothpick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daysnap%2Ftoothpick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daysnap%2Ftoothpick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daysnap%2Ftoothpick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daysnap","download_url":"https://codeload.github.com/daysnap/toothpick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daysnap%2Ftoothpick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271012480,"owners_count":24684555,"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-08-18T02:00:08.743Z","response_time":89,"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":["debug","h5","pc","websocket"],"created_at":"2025-05-21T18:16:13.043Z","updated_at":"2025-08-18T15:09:23.325Z","avatar_url":"https://github.com/daysnap.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toothpick\n\n\n## pnpm 管理\n\n```bash\n\n# 给项目安装依赖\npnpm install lint-staged -w -D\n\n# 给子项目安装依赖\npnpm install typescript --filter @daysnap/toothpick-sdk\n\n# 给所有项目安装依赖\npnpm install socket.io -r\n\n# 子项目依赖\npnpm install @daysnap/toothpick-sdk --filter @daysnap/toothpick-playground -S\n\n```\n\n\n```bash\nnginx -t -c /etc/nginx/nginx.conf\n\nnetstat -nap | grep 80\n\nkill -9 \u003cpid\u003e\n\npm2 start npm --watch --name \u003ctaskname\u003e -- run start\n\nyum -y install nodejs\n\nyum remove nodejs npm -y\n\ncurl --silent --location https://rpm.nodesource.com/setup_16.13.0 | sudo bash -\n\n\npm2 log [project]\n```\n\n\n```js\n// https://juejin.cn/post/7005849295693807624\n// https://babeljs.io/docs/en/configuration\n\n```\n\n```bash\n# https://www.hhyit.com/archives/4226\n# centos8 在 CentOS 8 中安装软件出现 “错误：为仓库 ‘appstream’ 下载元数据失败” 的解决办法\nsed -i -e \"s|mirrorlist=|#mirrorlist=|g\" /etc/yum.repos.d/CentOS-*\nsed -i -e \"s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g\" /etc/yum.repos.d/CentOS-*\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaysnap%2Ftoothpick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaysnap%2Ftoothpick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaysnap%2Ftoothpick/lists"}