create-pds 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist/index.js +2745 -0
- package/dist/prompt-CJttWhPO.js +847 -0
- package/package.json +36 -7
- package/templates/pds-worker/README.md +92 -0
- package/templates/pds-worker/env.example +27 -0
- package/templates/pds-worker/gitignore +5 -0
- package/templates/pds-worker/package.json.tmpl +28 -0
- package/templates/pds-worker/src/index.ts +2 -0
- package/templates/pds-worker/vite.config.ts +12 -0
- package/templates/pds-worker/wrangler.jsonc +50 -0
- package/index.js +0 -4
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# create-pds
|
|
2
|
+
|
|
3
|
+
Scaffold a new [AT Protocol](https://atproto.com) Personal Data Server (PDS) on Cloudflare Workers.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm create pds
|
|
9
|
+
# or
|
|
10
|
+
pnpm create pds
|
|
11
|
+
yarn create pds
|
|
12
|
+
bun create pds
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This will:
|
|
16
|
+
|
|
17
|
+
1. Create a new project directory with the PDS template
|
|
18
|
+
2. Install dependencies
|
|
19
|
+
3. Run the setup wizard to configure your PDS
|
|
20
|
+
|
|
21
|
+
## Options
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
create-pds [name]
|
|
25
|
+
|
|
26
|
+
Arguments:
|
|
27
|
+
name Project name (default: pds-worker)
|
|
28
|
+
|
|
29
|
+
Options:
|
|
30
|
+
--package-manager Package manager to use (npm, yarn, pnpm, bun)
|
|
31
|
+
--skip-install Skip installing dependencies
|
|
32
|
+
--skip-git Skip git initialization
|
|
33
|
+
--skip-init Skip running pds init
|
|
34
|
+
-y, --yes Accept all defaults (non-interactive)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## What's Next
|
|
38
|
+
|
|
39
|
+
After scaffolding, start the dev server:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
cd pds-worker
|
|
43
|
+
npm run dev
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Your PDS will be running at http://localhost:5173
|
|
47
|
+
|
|
48
|
+
See the [@ascorbic/pds documentation](https://github.com/ascorbic/atproto-worker/tree/main/packages/pds) for configuration and deployment instructions.
|