{"id":38754231,"url":"https://github.com/w-xuefeng/pmb","last_synced_at":"2026-01-17T11:52:14.150Z","repository":{"id":190003734,"uuid":"636205331","full_name":"w-xuefeng/pmb","owner":"w-xuefeng","description":"🌟 P(rocess) M(anager) for B(un)","archived":false,"fork":false,"pushed_at":"2025-07-09T07:30:09.000Z","size":292,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-09T08:46:26.108Z","etag":null,"topics":["bun","cli","daemon","pm2","pmb"],"latest_commit_sha":null,"homepage":"","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/w-xuefeng.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":"2023-05-04T10:39:54.000Z","updated_at":"2025-07-09T07:30:13.000Z","dependencies_parsed_at":"2025-04-08T14:31:13.610Z","dependency_job_id":"8a3aedeb-d3c7-4a2a-b14a-6c208a9c9031","html_url":"https://github.com/w-xuefeng/pmb","commit_stats":null,"previous_names":["w-xuefeng/pmb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/w-xuefeng/pmb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-xuefeng%2Fpmb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-xuefeng%2Fpmb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-xuefeng%2Fpmb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-xuefeng%2Fpmb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w-xuefeng","download_url":"https://codeload.github.com/w-xuefeng/pmb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-xuefeng%2Fpmb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bun","cli","daemon","pm2","pmb"],"created_at":"2026-01-17T11:52:14.025Z","updated_at":"2026-01-17T11:52:14.119Z","avatar_url":"https://github.com/w-xuefeng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n    ____  __  _______\n   / __ \\/  |/  / __ )\n  / /_/ / /|_/ / __  |\n / ____/ /  / / /_/ /\n/_/   /_/  /_/_____/\n\u003c/pre\u003e\n\n# P(rocess) M(anager) for B(un)\n\n![npm](https://img.shields.io/npm/v/pm-bun?style=flat-square)\n![npm](https://img.shields.io/npm/dt/pm-bun?style=flat-square)\n\n\n[简体中文](README_zh.md) | English\n\n## install bun\n\n```bash\ncurl -fsSL https://bun.sh/install | bash\n```\n\n## install pm-bun\n\n```bash\nbun add -g pm-bun\n```\n\n## use pmb\n```bash\npmb -h\npmb \u003ccommand\u003e -h\n```\n\n## Commands\n\n- `ls` Show list of service started by pmb\n\n```bash\npmb ls \n```\n\n- `monit` Monitoring services started by pmb\n\n```bash\npmb monit \n```\n\n- `start` Start a service from the entry file\n\n```bash\n# pmb start \u003centry-file-path\u003e [-n name] [-s starter] [-a args]\npmb start path/app.ts\npmb start path/bun-app.ts -n app \n# using [bun] by default, equivalent to [-s bun]\n\npmb start path/bun-app.ts -n bun-app -s bun -a \"--mode production\"\npmb start path/node-app.js -n node-project -s node\npmb start path/deno-app.ts -n deno-project -s 'deno run -A'\n\n```\n\n- `stop` Stop a service from the pid or name\n\n```bash\n# pmb stop \u003cname-or-pid\u003e\npmb stop node-app\npmb stop 12345\n```\n\n- `restart` Restart a service from the name or pid\n\n```bash\n# pmb restart \u003cname-or-pid\u003e [-r]\npmb restart 12346\npmb restart bun-app\npmb restart bun-app -r   # reset the restRestartCount to the initial value\npmb restart 12346 -r 50  # reset the restRestartCount to 50\n```\n\n- `rm` Stop and remove a service from the pid or name\n\n```bash\n# pmb rm \u003cname-or-pid\u003e\npmb rm deno-app\npmb rm 12347\n```\n\n- `log` Show log of service from the pid or name\n\n```bash\n# pmb log [name-or-pid]\npmb log           # show log of daemon\npmb log node-app  # show log with the name of node-app\npmb log 12345     # show log with the pid of 12345 \n```\n\n- `daemon` Manage daemon process\n\n```bash\n# pmb daemon \u003cstatus | start | stop | restart\u003e\npmb daemon status\npmb daemon start\npmb daemon stop\npmb daemon restart\n```\n\n- `ui` Show list of service started by pmb in browser\n\n```bash\n# pmb ui [-e --enabled] [-d --disabled] [-p --password]\npmb ui     # show list of service started by pmb in browser\npmb ui -e  # enabled Web UI\npmb ui -d  # disabled Web UI\npmb ui -p \"123456789abcdefg\" # set password for Web UI\npmb ui -p # unset password for Web UI\n```\n\n- `lang` Switch display language between Chinese and English\n\n```bash\npmb lang\n```\n\n- `upgrade` Upgrade `pm-bun`\n\n```bash\npmb upgrade \n```\n\n## Component Architecture Diagram\n\n\u003cimg src=\"component-diagram.svg\" width=\"100%\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-xuefeng%2Fpmb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw-xuefeng%2Fpmb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-xuefeng%2Fpmb/lists"}