{"_id":"@c3-oss/doppel-server","_rev":"2-b05c8912422603fa70639d55ab033edb","name":"@c3-oss/doppel-server","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@c3-oss/doppel-server","version":"0.1.0","author":{"name":"Caian Ertl","email":"hi@caian.org"},"license":"MIT","_id":"@c3-oss/doppel-server@0.1.0","maintainers":[{"name":"caian","email":"hi@caian.org"}],"homepage":"https://github.com/c3-oss/doppel#readme","bugs":{"url":"https://github.com/c3-oss/doppel/issues"},"bin":{"doppel-server":"dist/bin/server.js"},"dist":{"shasum":"4a28d960c2cef16ad9bf592e85b25eb507b3bc15","tarball":"https://registry.npmjs.org/@c3-oss/doppel-server/-/doppel-server-0.1.0.tgz","fileCount":11,"integrity":"sha512-S/vbZv1NwgEzYoruETy1z3JH8FsLI5x5q6XB7rv4TJyHYddKr3t0+iK0MFmLJBI843A7enGAdzLeHv/Aq/b2hA==","signatures":[{"sig":"MEUCICARiGvReHA/MXOskNoCYtun4TRHUfH4uYYogJETd0zeAiEA2LhisrnOJpb/SgCdilmSxW7vD8XZCrGGrZAYzsoGbtQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":784845},"main":"./dist/index.js","type":"module","_from":"file:c3-oss-doppel-server-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"node --import @swc-node/register/esm-register src/bin/server.ts","lint":"biome check .","test":"vitest run","build":"pnpm --filter @c3-oss/doppel-web build && tsup && rm -rf dist/web && cp -R ../web/dist dist/web","clean":"rm -rf dist coverage .turbo","lint:fix":"biome check --fix .","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"caian","email":"hi@caian.org"},"_resolved":"/private/var/folders/70/zg4bz5kn71xb0tk82j0vj7rh0000gn/T/8e4c707e65482f0b2758f6c080c5a6ad/c3-oss-doppel-server-0.1.0.tgz","_integrity":"sha512-S/vbZv1NwgEzYoruETy1z3JH8FsLI5x5q6XB7rv4TJyHYddKr3t0+iK0MFmLJBI843A7enGAdzLeHv/Aq/b2hA==","repository":{"url":"git+https://github.com/c3-oss/doppel.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.7","description":"Doppel HTTP and tRPC server.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^3.25.76","fastify":"^5.0.0","commander":"^12.1.0","superjson":"^2.2.1","pino-pretty":"^13.1.3","@trpc/server":"^11.7.0","@xterm/xterm":"^6.0.0","@fastify/cors":"^10.0.1","@fastify/helmet":"^13.0.0","@fastify/static":"^9.1.3","@xterm/addon-fit":"^0.11.0","@fastify/websocket":"^11.2.0","@c3-oss/doppel-core":"^0.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@c3-oss/config-tsup":"^0.2.0","@c3-oss/config-biome":"^0.3.1","@c3-oss/config-vitest":"^0.3.0","@c3-oss/config-typescript":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/doppel-server_0.1.0_1778698639266_0.9598887198570958","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@c3-oss/doppel-server","version":"0.1.1","description":"Doppel HTTP and tRPC server.","author":{"name":"Caian Ertl","email":"hi@caian.org"},"license":"MIT","type":"module","homepage":"https://github.com/c3-oss/doppel#readme","bugs":{"url":"https://github.com/c3-oss/doppel/issues"},"repository":{"type":"git","url":"git+https://github.com/c3-oss/doppel.git","directory":"apps/server"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"bin":{"doppel-server":"dist/bin/server.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"@fastify/cors":"^10.0.1","@fastify/helmet":"^13.0.0","@fastify/static":"^9.1.3","@fastify/websocket":"^11.2.0","@trpc/server":"^11.7.0","@xterm/addon-fit":"^0.11.0","@xterm/xterm":"^6.0.0","commander":"^12.1.0","fastify":"^5.0.0","pino-pretty":"^13.1.3","superjson":"^2.2.1","zod":"^3.25.76","@c3-oss/doppel-core":"^0.1.1"},"devDependencies":{"@c3-oss/config-biome":"^0.3.1","@c3-oss/config-tsup":"^0.2.0","@c3-oss/config-typescript":"^0.1.0","@c3-oss/config-vitest":"^0.3.0"},"scripts":{"dev":"node --import @swc-node/register/esm-register src/bin/server.ts","build":"pnpm --filter @c3-oss/doppel-web build && tsup && rm -rf dist/web && cp -R ../web/dist dist/web","typecheck":"tsc --noEmit","test":"vitest run","test:coverage":"vitest run --coverage","lint":"biome check .","lint:fix":"biome check --fix .","clean":"rm -rf dist coverage .turbo"},"_id":"@c3-oss/doppel-server@0.1.1","_integrity":"sha512-Fkvq/tMlIojkP5jtSStGLQK9f3zi79NXllMFKbxwgRKHTuhgSCRXVQvXqgnqLw4kp4HhnHHJjuHlfqAKeP0p6g==","_resolved":"/private/var/folders/70/zg4bz5kn71xb0tk82j0vj7rh0000gn/T/adce62075a54845c63f4c584645bb1c0/c3-oss-doppel-server-0.1.1.tgz","_from":"file:c3-oss-doppel-server-0.1.1.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-Fkvq/tMlIojkP5jtSStGLQK9f3zi79NXllMFKbxwgRKHTuhgSCRXVQvXqgnqLw4kp4HhnHHJjuHlfqAKeP0p6g==","shasum":"b49d47851857dea31f3d26f1cb147ae0bfba67f7","tarball":"https://registry.npmjs.org/@c3-oss/doppel-server/-/doppel-server-0.1.1.tgz","fileCount":12,"unpackedSize":786420,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHwGmP7EHv7ZcOvt6ToUYYB5+l07piqcwGXjaMzuliiWAiEAwAtsdEfzgL+/4nXmGH+HXzVtHxabpjkn9eCnt1vDSAk="}]},"_npmUser":{"name":"caian","email":"hi@caian.org"},"directories":{},"maintainers":[{"name":"caian","email":"hi@caian.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/doppel-server_0.1.1_1778704407087_0.6319653156146467"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T18:57:19.171Z","modified":"2026-05-13T20:33:27.415Z","0.1.0":"2026-05-13T18:57:19.504Z","0.1.1":"2026-05-13T20:33:27.292Z"},"bugs":{"url":"https://github.com/c3-oss/doppel/issues"},"author":{"name":"Caian Ertl","email":"hi@caian.org"},"license":"MIT","homepage":"https://github.com/c3-oss/doppel#readme","repository":{"type":"git","url":"git+https://github.com/c3-oss/doppel.git","directory":"apps/server"},"description":"Doppel HTTP and tRPC server.","maintainers":[{"name":"caian","email":"hi@caian.org"}],"readme":"# @c3-oss/doppel-server - Daemon and API server for Doppel\n\n`@c3-oss/doppel-server` publishes the `doppel-server` binary and server library.\nIt runs the Doppel daemon, exposes HTTP/tRPC and WebSocket surfaces, serves the\nsingle-session browser terminal view, and can host the administrative web UI.\n\n## Install\n\n```bash\nnpm install -g @c3-oss/doppel-server\n```\n\nRun through `npx` by binary name:\n\n```bash\nnpx doppel-server start --daemon\n```\n\n## Quickstart\n\nStart the daemon:\n\n```bash\ndoppel-server start --daemon\n```\n\nCheck status:\n\n```bash\ndoppel-server status\ndoppel-server status --json\n```\n\nServe the administrative web UI:\n\n```bash\ndoppel-server start --web-ui\n```\n\nStop the daemon:\n\n```bash\ndoppel-server stop\n```\n\n## Runtime\n\nBy default, the daemon binds to port `3000` and exposes:\n\n- `/health`\n- `/trpc`\n- `/ws/terminal/:sessionName`\n- `/session-view`\n\nThe administrative web UI binds to port `3001` when enabled and talks to the\ndaemon at `http://localhost:3000`.\n\nUseful options:\n\n```bash\ndoppel-server start --host 127.0.0.1 --port 3000\ndoppel-server start --web-ui --web-ui-port 3001\ndoppel-server start --json-logs\ndoppel-server start --no-logger\n```\n\n## Library API\n\n```ts\nimport {\n  createServer,\n  startServer,\n  type AppRouter,\n} from '@c3-oss/doppel-server';\n```\n\nUse `@c3-oss/doppel-core` directly when you want the terminal and schedule\nengine without the HTTP server.\n\n## Links\n\n- Repository: https://github.com/c3-oss/doppel\n- CLI package: https://www.npmjs.com/package/@c3-oss/doppel\n- Core package: https://www.npmjs.com/package/@c3-oss/doppel-core\n","readmeFilename":"README.md"}