pinme
AGENTS.md3.7k starsChanged 5 months agoMITView on GitHub
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository. PinMe is a zero-config CLI tool for deploying static sites to IPFS. Built with TypeScript, bundled with esbuild, published to npm as pinme. Users run commands like pinme upload dist to deploy frontends. Build uses build.js (esbuild), NOT rollup.config.js (legacy, unused). esbuild reads .env via dotenv at build time and injects env vars as process.env.* defines. The output is a single CJS file at dist/index.js with…
- Reads credentials
Trending
More talk lately.thin dataabout the whole repository
Who's talking about glitternetwork/pinme
- ProSkillsMD/proskills“[Candidate] glitternetwork/pinme/skills/pinme-email - pinme-email”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] glitternetwork/pinme/skills/pinme-auth - pinme-auth”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] glitternetwork/pinme/skills/pinme - pinme”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.glitternetwork.pinme: init at 2.0.12”GitHub · Sep 27, 2026
- xiaolai/nlpm“Audit candidate: glitternetwork/pinme”GitHub · May 4, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub (7 times).
On GitHub · 7
- Oct 3, 2026[Candidate] glitternetwork/pinme/skills/pinme-email - pinme-email — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 3, 2026[Candidate] glitternetwork/pinme/skills/pinme-auth - pinme-auth — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 3, 2026[Candidate] glitternetwork/pinme/skills/pinme - pinme — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 27, 2026agent-skills.github.glitternetwork.pinme: init at 2.0.12 — sudosubin/agents.nix0 reactions
- May 4, 2026Audit candidate: glitternetwork/pinme — xiaolai/nlpm0 reactions · 3 comments
2 more on GitHub
- Jan 17, 2026PinMe:零成本三秒发布你的网站 — xiuji008/xiuji008.github.io0 reactions
- Jan 12, 2026Unable to bind to ENS name — timfong888/filecoin-pay-console0 reactions
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- pinme-authSkill
- pinme-emailSkill
- pinme-llmSkill
- pinme-r2Skill
- pinme-shareSkill
- pinmeSkill
- pinme-uniwebpaySkill
The file
Files
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Project Overview
PinMe is a zero-config CLI tool for deploying static sites to IPFS. Built with TypeScript, bundled with esbuild, published to npm as pinme. Users run commands like pinme upload dist to deploy frontends.
Build & Dev
npm run build # Production build (esbuild → dist/index.js)
npm run dev # Dev build
npm run test # Unit/integration tests (Vitest)
npm run test:cli # Real CLI black-box tests against dist/index.js
npm run verify # Full PR gate: lint, typecheck, tests, build, CLI, pack
npm run test:mutation # Slow mutation tests (manual/nightly)Build uses build.js (esbuild), NOT rollup.config.js (legacy, unused). esbuild reads .env via dotenv at build time and injects env vars as process.env.* defines.
The output is a single CJS file at dist/index.js with a shebang, used as the pinme CLI binary.
Architecture
bin/index.ts— CLI entry point, usescommanderto register all commandsbin/*.ts— Individual command implementations (upload, save, create, bind, importCar, exportCar, delete, etc.)bin/utils/— Shared utilities:config.ts—APP_CONFIGsingleton, all API base URLs and tuning knobs from env varsapiClient.ts— Axios client factory (createPinmeApiClient,createCarApiClient)pinmeApi.ts— High-level API wrappers (domain binding, wallet, CAR export, etc.)uploadToIpfs.ts/uploadToIpfsSplit.ts— IPFS upload logic (single file vs chunked)webLogin.ts— Auth token management (reads from~/.pinme/)domainValidator.ts— Domain name validation and DNS vs subdomain detectioncliError.ts— Structured CLI error types
bin/services/uploadService.ts— Upload orchestration (hash encryption, URL generation)skills/— Codex skill definitions for this project
Key Patterns
- Auth: AppKey stored locally at
~/.pinme/. Auth headers injected viagetAuthHeaders()inwebLogin.ts. - API clients: Always use
createPinmeApiClient()orcreateCarApiClient()fromapiClient.ts, never raw axios. - Token expiry:
pinmeApi.tshas centralized token-expired detection (isTokenExpired) — all API calls should go through wrappers there. - Config: All env-driven config lives in
APP_CONFIG(config.ts). Don't readprocess.envdirectly elsewhere. - The
savecommand readspinme.tomlfrom project root for full-stack deploy (frontend + Cloudflare Worker + D1).
Code Style
- Prettier: single quotes, trailing commas, 80 char width
- TypeScript with
strict: false, target ESNext, module ESNext - CLI output uses
chalkfor colors,orafor spinners,inquirerfor prompts,figletfor banner
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

