pinme
This skill should be used when the user asks to "deploy", "upload", "publish" a frontend project, static website, or build output. Also activates when user mentions "pinme", "IPFS deployment", or wants to host static files online.
- License 许可
- MIT
- 最近更新
- 2026-04-16
- Stars
- ★ 52
- Forks
- 13
01 前言 Front Matter
- name
- pinme
- author
- { "url": "https://github.com/glitternetwork", "name": "glitternetwork" }
- license
- MIT
- version
- 1.0.0
- homepage
- https://github.com/glitternetwork/skills/tree/main/pinme
- keywords
- [ "deploy", "ipfs", "static-site", "pinme", "hosting", "frontend", "web3" ]
- repository
- https://github.com/glitternetwork/skills
- description
- This skill should be used when the user asks to "deploy", "upload", "publish" a frontend project, static website, or build output. Also activates when user mentions "pinme", "IPFS deployment", or wants to host static files online.
02 资源文件 1
- 参考文档README.md1.6 KB
03 SKILL.md 正文
PinMe Skill
Use PinMe CLI to deploy static files to IPFS and get a preview URL.
When to Use
- User requests deployment of a frontend project
- User wants to upload static files/website
- User mentions "pinme", "deploy", "publish", or "host"
- After building a frontend project (Vue, React, Next.js, etc.)
Deployment Steps
1. Check if PinMe is Installed
pinme --version
If not installed:
npm install -g pinme
2. Identify Static Files Directory
Look for these directories (in priority order):
dist/- Vue/React/Vite default outputbuild/- Create React App outputout/- Next.js static exportpublic/- Pure static projects
Validation rules:
- Directory must exist
- Must contain
index.html(for websites) - Should contain static assets (CSS, JS, images)
3. Execute Upload
pinme upload <directory>
Examples:
pinme upload dist
pinme upload build
pinme upload ./my-static-site
4. Return Result
After successful upload, return only the preview URL:
https://pinme.eth.limo/#/preview/<hash>
Users can visit the preview page to:
- View the deployed website
- Get a fixed domain:
https://<name>.pinit.eth.limo
Important Rules
DO:
- Verify build output exists before uploading
- Check for
index.htmlin the upload directory - Return the preview URL to the user
DO NOT:
- Upload
node_modules/ - Upload
.envfiles - Upload
.git/directory - Upload source code (use build output only)
- Upload configuration files (package.json, tsconfig.json, etc.)
- Upload empty or non-existent directories
Common Workflows
Build and Deploy (Vue/Vite)
npm run build
pinme upload dist
Build and Deploy (React CRA)
npm run build
pinme upload build
Build and Deploy (Next.js Static)
npm run build
npm run export # or next export
pinme upload out
Error Handling
| Error | Solution |
|---|---|
command not found: pinme |
Run npm install -g pinme |
No such file or directory |
Check path, run build first |
Permission denied |
Check folder permissions |
| Upload failed | Check network, retry |
Other Commands
# List upload history
pinme list
pinme ls -l 5
# Remove uploaded file
pinme rm <hash>
04 同仓库更多 Skills
what-if-oracle
Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like "what if...", "what would happen if...", "what are the possibilities", "explore scenarios", "scenario analysis", "possibility space", "what could go wrong", "best case / worst case", "risk analysis", "contingency planning", "strategic options", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.
venue-templates
Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
the-fool
Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.
scientific-writing
Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), for research papers and journal submissions.
scientific-brainstorming
Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.
research-lookup
Look up current research information using the Parallel Chat API (primary) or Perplexity sonar-pro-search (academic paper searches). Automatically routes queries to the best backend. Use for finding papers, gathering research data, and verifying scientific information.