PinMe - Zero-Config Frontend Deployment
Deploy static websites to IPFS network with a single command. No servers, no accounts, no setup.
When to Use
Use this skill when:
- User asks to "deploy", "upload", or "publish" a frontend project
- User wants to get a preview URL for their built site
- User mentions PinMe or IPFS deployment
- Project has built static files (dist/, build/, out/, public/)
Quick Start
# Install PinMe
npm install -g pinme
# Deploy (auto-detects static directory)
pinme upload dist
# Get preview URL
# https://pinme.eth.limo/#/preview/*
Core Workflow
1. Check Prerequisites
# Check Node.js version (requires 16.13.0+)
node --version
# Verify pinme is installed
pinme --version
2. Identify Static Directory
PinMe auto-detects directories in priority order:
| Directory |
Framework/Tool |
dist/ |
Vite, Vue CLI, Angular |
build/ |
Create React App |
out/ |
Next.js (static export) |
public/ |
Static sites |
Validation rules:
- ✅ Folder must exist
- ✅ Must contain
index.html
- ✅ Must have actual static files (CSS, JS, images)
3. Execute Deployment
# Deploy dist directory (most common)
pinme upload dist
# Deploy specific directory
pinme upload build
# Upload and bind to custom domain (requires Plus)
pinme upload dist --domain my-site
4. Return Result
Return ONLY the preview URL: https://pinme.eth.limo/#/preview/*
Commands Reference
| Command |
Description |
pinme upload <dir> |
Upload static files to IPFS |
pinme upload <dir> --domain <name> |
Upload + bind domain |
pinme import <car-file> |
Import CAR files |
pinme export <CID> |
Export IPFS content as CAR |
pinme list |
Show upload history |
pinme rm <hash> |
Remove files from IPFS |
pinme set-appkey |
Set AppKey for authentication |
pinme my-domains |
List owned domains |
pinme --version |
Show version |
Upload Limits
| Type |
Free Plan |
| Single file |
200MB |
| Total directory |
1GB |
Error Handling
| Error |
Solution |
| Node.js version too low |
Upgrade to 16.13.0+ |
| Command not found |
Run npm install -g pinme |
| Folder does not exist |
Check path, use ls |
| Upload failed |
Check network, retry |
| Authentication failed |
Run pinme set-appkey |
AI Execution Protocol
For programmatic deployment:
- Check environment:
node --version (needs >=16.13.0)
- Install if needed:
npm install -g pinme
- Detect directory: Check
dist/, build/, out/, public/
- Validate: Must contain
index.html
- Execute:
pinme upload <directory>
- Return: Only the preview URL
Prohibited operations:
- ❌ Upload node_modules, .env, .git
- ❌ Upload source directories (src/)
- ❌ Upload config files (package.json, etc.)
- ❌ Upload non-existent/empty folders
GitHub Actions Integration
Example workflow:
name: Deploy to PinMe
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm ci && npm run build
- run: npm install -g pinme
- run: pinme set-appkey "${{ secrets.PINME_APPKEY }}"
- run: pinme upload dist --domain "${{ secrets.DOMAIN }}"
Machine-Readable Config
{
"tool": "pinme",
"requirements": {
"node_version": ">=16.13.0"
},
"install": "npm install -g pinme",
"upload": "pinme upload {{directory}}",
"upload_with_domain": "pinme upload {{directory}} --domain {{domain}}",
"validDirectories": ["dist", "build", "out", "public"],
"requiredFiles": ["index.html"],
"excludePatterns": ["node_modules", ".env", ".git", "src"],
"limits": {
"single_file": "200MB",
"total_directory": "1GB"
},
"output": "preview_url",
"preview_url_format": "https://pinme.eth.limo/#/preview/*",
"fixed_domain_format": "https://*.pinit.eth.limo"
}
Resources
1---
2name: pinme
3description: |
4 Deploy static websites to IPFS with a single command using PinMe CLI.
5 Use when: (1) User wants to deploy a built frontend project, (2) Need to upload static files (dist/build/out/public) to IPFS, (3) Requesting preview URL for a deployed site.
6 Supports: Vite, React, Vue, Next.js, Angular, Create React App, and static sites.
7 Output: Preview URL (https://pinme.eth.limo/#/preview/*) after successful upload.
8metadata:
9 source: https://skillmd.com/skills/modbender/pinme
10---
11
12# PinMe - Zero-Config Frontend Deployment
13
14Deploy static websites to IPFS network with a single command. No servers, no accounts, no setup.
15
16## When to Use
17
18Use this skill when:
19- User asks to "deploy", "upload", or "publish" a frontend project
20- User wants to get a preview URL for their built site
21- User mentions PinMe or IPFS deployment
22- Project has built static files (dist/, build/, out/, public/)
23
24## Quick Start
25
26```bash
27# Install PinMe
28npm install -g pinme
29
30# Deploy (auto-detects static directory)
31pinme upload dist
32
33# Get preview URL
34# https://pinme.eth.limo/#/preview/*
35```
36
37## Core Workflow
38
39### 1. Check Prerequisites
40```bash
41# Check Node.js version (requires 16.13.0+)
42node --version
43
44# Verify pinme is installed
45pinme --version
46```
47
48### 2. Identify Static Directory
49PinMe auto-detects directories in priority order:
50
51| Directory | Framework/Tool |
52|-----------|---------------|
53| `dist/` | Vite, Vue CLI, Angular |
54| `build/` | Create React App |
55| `out/` | Next.js (static export) |
56| `public/` | Static sites |
57
58**Validation rules:**
59- ✅ Folder must exist
60- ✅ Must contain `index.html`
61- ✅ Must have actual static files (CSS, JS, images)
62
63### 3. Execute Deployment
64```bash
65# Deploy dist directory (most common)
66pinme upload dist
67
68# Deploy specific directory
69pinme upload build
70
71# Upload and bind to custom domain (requires Plus)
72pinme upload dist --domain my-site
73```
74
75### 4. Return Result
76Return ONLY the preview URL: `https://pinme.eth.limo/#/preview/*`
77
78## Commands Reference
79
80| Command | Description |
81|---------|-------------|
82| `pinme upload <dir>` | Upload static files to IPFS |
83| `pinme upload <dir> --domain <name>` | Upload + bind domain |
84| `pinme import <car-file>` | Import CAR files |
85| `pinme export <CID>` | Export IPFS content as CAR |
86| `pinme list` | Show upload history |
87| `pinme rm <hash>` | Remove files from IPFS |
88| `pinme set-appkey` | Set AppKey for authentication |
89| `pinme my-domains` | List owned domains |
90| `pinme --version` | Show version |
91
92## Upload Limits
93
94| Type | Free Plan |
95|------|----------|
96| Single file | 200MB |
97| Total directory | 1GB |
98
99## Error Handling
100
101| Error | Solution |
102|-------|----------|
103| Node.js version too low | Upgrade to 16.13.0+ |
104| Command not found | Run `npm install -g pinme` |
105| Folder does not exist | Check path, use `ls` |
106| Upload failed | Check network, retry |
107| Authentication failed | Run `pinme set-appkey` |
108
109## AI Execution Protocol
110
111For programmatic deployment:
112
1131. **Check environment**: `node --version` (needs >=16.13.0)
1142. **Install if needed**: `npm install -g pinme`
1153. **Detect directory**: Check `dist/`, `build/`, `out/`, `public/`
1164. **Validate**: Must contain `index.html`
1175. **Execute**: `pinme upload <directory>`
1186. **Return**: Only the preview URL
119
120**Prohibited operations:**
121- ❌ Upload node_modules, .env, .git
122- ❌ Upload source directories (src/)
123- ❌ Upload config files (package.json, etc.)
124- ❌ Upload non-existent/empty folders
125
126## GitHub Actions Integration
127
128Example workflow:
129
130```yaml
131name: Deploy to PinMe
132on: [push]
133jobs:
134 deploy:
135 runs-on: ubuntu-latest
136 steps:
137 - uses: actions/checkout@v4
138 - uses: actions/setup-node@v4
139 with:
140 node-version: '18'
141 - run: npm ci && npm run build
142 - run: npm install -g pinme
143 - run: pinme set-appkey "${{ secrets.PINME_APPKEY }}"
144 - run: pinme upload dist --domain "${{ secrets.DOMAIN }}"
145```
146
147## Machine-Readable Config
148
149```json
150{
151 "tool": "pinme",
152 "requirements": {
153 "node_version": ">=16.13.0"
154 },
155 "install": "npm install -g pinme",
156 "upload": "pinme upload {{directory}}",
157 "upload_with_domain": "pinme upload {{directory}} --domain {{domain}}",
158 "validDirectories": ["dist", "build", "out", "public"],
159 "requiredFiles": ["index.html"],
160 "excludePatterns": ["node_modules", ".env", ".git", "src"],
161 "limits": {
162 "single_file": "200MB",
163 "total_directory": "1GB"
164 },
165 "output": "preview_url",
166 "preview_url_format": "https://pinme.eth.limo/#/preview/*",
167 "fixed_domain_format": "https://*.pinit.eth.limo"
168}
169```
170
171## Resources
172
173- **Website:** https://pinme.eth.limo/
174- **GitHub:** https://github.com/glitternetwork/pinme
175- **AppKey:** https://pinme.eth.limo/ (get from dashboard)