{"_id":"@arthas-chat/create-arthas","name":"@arthas-chat/create-arthas","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@arthas-chat/create-arthas","version":"1.0.0","description":"Create a self-hosted Arthas E2EE chat instance with one command","type":"module","bin":{"create-arthas":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build"},"keywords":["arthas","e2ee","self-hosted","docker","encrypted-chat","create"],"author":{"name":"Arthas Contributors"},"license":"MIT","dependencies":{"prompts":"^2.4.2"},"devDependencies":{"@types/prompts":"^2.4.9","@types/node":"^20.11.0","typescript":"^5.7.2"},"engines":{"node":">=18.0.0"},"gitHead":"9bb2e539ee02792804afdcbd3fcb30cd349fcbe4","_id":"@arthas-chat/create-arthas@1.0.0","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-3pGQXfj9XCs909CEblHtA6/Br142sFkcqxj2WJtu7ls+vy7VRGJe/fjYHI+aDecM5ZymMC1w42XP/aH15yvv1g==","shasum":"b035eb1e0b249c05807b4e7a6698e9cd83abb379","tarball":"https://registry.npmjs.org/@arthas-chat/create-arthas/-/create-arthas-1.0.0.tgz","fileCount":10,"unpackedSize":12670,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDnjQX+NVLPS9HsM7sPVf25+9CfEXy5jb7g9+koX4pdgQIhAPTSN06Qp0wH0qW5Dpu65OLYoZZQBHpe0v3w2Y0GCTl5"}]},"_npmUser":{"name":"michaelwang100","email":"beautifullifestrive@gmail.com"},"directories":{},"maintainers":[{"name":"michaelwang100","email":"beautifullifestrive@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/create-arthas_1.0.0_1780560087310_0.13425830702321218"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-04T08:01:27.124Z","1.0.0":"2026-06-04T08:01:27.443Z","modified":"2026-06-04T08:01:27.695Z"},"maintainers":[{"name":"michaelwang100","email":"beautifullifestrive@gmail.com"}],"description":"Create a self-hosted Arthas E2EE chat instance with one command","keywords":["arthas","e2ee","self-hosted","docker","encrypted-chat","create"],"author":{"name":"Arthas Contributors"},"license":"MIT","readme":"# create-arthas\r\n\r\n> Self-host Arthas E2EE chat with one command.\r\n\r\n```bash\r\nnpx create-arthas\r\n```\r\n\r\n---\r\n\r\n## What It Does\r\n\r\nGenerates a ready-to-run Docker deployment for your own Arthas instance:\r\n\r\n```\r\n./arthas/\r\n├── docker-compose.yml   # Container orchestration\r\n├── .env                 # Configuration (domain, port, version)\r\n└── Caddyfile            # HTTPS reverse proxy (if enabled)\r\n```\r\n\r\nThen optionally starts the containers immediately.\r\n\r\n---\r\n\r\n## Usage\r\n\r\n### Interactive Mode (default)\r\n\r\n```bash\r\nnpx create-arthas\r\n```\r\n\r\nPrompts for:\r\n- Domain name (or `localhost` for local testing)\r\n- Port number (default: 8080)\r\n- HTTPS with auto Let's Encrypt (if domain is not localhost)\r\n- Email for certificate notifications\r\n- Docker image version\r\n- Whether to start containers immediately\r\n\r\n### Non-Interactive Mode\r\n\r\n```bash\r\nnpx create-arthas --defaults\r\n```\r\n\r\nUses localhost:8080, no HTTPS, starts immediately.\r\n\r\n---\r\n\r\n## Requirements\r\n\r\n- Node.js 18+\r\n- Docker & Docker Compose\r\n\r\n---\r\n\r\n## Examples\r\n\r\n### Local Development\r\n\r\n```bash\r\nnpx create-arthas --defaults\r\n# → Arthas running at http://localhost:8080\r\n# → WebSocket: ws://localhost:8080/ws\r\n```\r\n\r\n### Production with HTTPS\r\n\r\n```bash\r\nnpx create-arthas\r\n# Domain: chat.example.com\r\n# HTTPS: Yes\r\n# Email: admin@example.com\r\n# → Arthas running at https://chat.example.com\r\n# → Auto Let's Encrypt certificate\r\n```\r\n\r\n---\r\n\r\n## After Setup\r\n\r\n```bash\r\ncd arthas\r\n\r\n# View logs\r\ndocker compose logs -f\r\n\r\n# Stop\r\ndocker compose down\r\n\r\n# Update to latest version\r\ndocker compose pull && docker compose up -d\r\n\r\n# Reconfigure\r\nnpx create-arthas  # re-run, overwrites existing files\r\n```\r\n\r\n---\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md","_rev":"1-8579cdbdc877454e45f1333174301fa4"}