Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
SkillAn toànDeploy & vận hànhDễ cho người mới

pinme

glitternetwork · glitternetwork/pinme

Kỹ năng này cho phép Claude Code triển khai các dự án frontend, backend Worker và cơ sở dữ liệu chỉ với một lệnh duy nhất, đơn giản hóa việc khởi chạy các dự án full-stack.

Triển khai Frontend của bạn chỉ trong một lệnh. Hỗ trợ Claude Code Skills.

3.7k sao276Giấy phép: MITCập nhật tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Triển khai một ứng dụng web mới từ phiên Claude Code ngay lập tức.
  • Chỉ cập nhật phần web, worker hoặc cơ sở dữ liệu của một dự án hiện có.
  • Tải lên các bản dựng trang web tĩnh lên dịch vụ lưu trữ thông qua tác nhân của bạn.

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

PinMe

Create and deploy your web in one command.

PinMe

PinMe is a zero-config deployment CLI focused on one-command creation and deployment for full-stack projects.

It lets you quickly set up and launch a complete project with an integrated frontend, Worker backend, and database, without tedious configuration. PinMe is built to make full-stack delivery much simpler and significantly improve development efficiency.

Website: https://pinme.eth.limo/

PinMe Skill

Install the PinMe skill before using PinMe in agent workflows:

npx skills add glitternetwork/pinme

Table of Contents

Quick Start

Prerequisites

  • Node.js >= 16.13.0

Create a new Worker project

npm install -g pinme
pinme login
pinme create my-app
cd my-app
pinme save

What this workflow gives you:

  • a generated PinMe project from the official template
  • platform-side Worker and database provisioning
  • local project config in pinme.toml
  • frontend and Worker deployment from one CLI

Update only the part you changed

pinme update-worker
pinme update-db
pinme update-web

Upload a static build when you do not need the project workflow

pinme login
pinme upload dist

Common build directories are dist, build, out, and public.

For AI Agents

Prefer the PinMe project workflow when the user wants a frontend plus backend plus database, or when the repo already contains pinme.toml.

Project-mode protocol

Use this flow when the user wants a Worker app, database migrations, or ongoing project updates.

  1. Check Node.js:
node --version
  1. Ensure the CLI is available:
npm install -g pinme
  1. Authenticate:
pinme login
  1. Choose the right project command:
  • create a new project: pinme create <name>
  • deploy everything from a PinMe project root: pinme save
  • update Worker only: pinme update-worker
  • update SQL migrations only: pinme update-db
  • update frontend only: pinme update-web
  1. If the repo contains pinme.toml, run project commands from that directory.

  2. Return the final project URL printed by the CLI for frontend deploys. For Worker-only or DB-only updates, return the relevant success result instead of fabricating a URL.

Static-upload fallback

Use this only when the task is just "publish the built frontend" and there is no PinMe project workflow involved.

  1. Authenticate:
pinme login

Or for automation:

pinme set-appkey 
  1. Find the built output directory in this order:
  • dist/
  • build/
  • out/
  • public/
  1. Verify the directory exists and contains built assets such as index.html.

  2. Upload it:

pinme upload <folder>

Guardrails

  • Do not upload source folders such as src/.
  • Do not upload node_modules, .git, or .env.
  • Do not claim unsupported backend hosting outside the PinMe project template flow.
  • For project commands, do not run update-* commands outside a PinMe project root with pinme.toml.

Installation

Install from npm:

npm install -g pinme

Verify installation:

pinme --version

PinMe Project Workflow

What create sets up

pinme create <name> does more than scaffold files. The command:

  • requires an authenticated session
  • creates the platform project resources first
  • downloads the official Worker project template
  • writes project metadata into pinme.toml
  • writes backend metadata and frontend config files
  • installs workspace dependencies
  • builds the Worker
  • uploads Worker code and SQL files
  • builds the frontend and attempts an initial frontend upload

After creation, the CLI prints the project management URL and suggests pinme save for the next deploy.

Create a project

pinme login
pinme create my-app

If the target directory already exists, the CLI asks before overwriting it unless --force is used.

Deploy the whole project

Run this from the project root that contains pinme.toml:

pinme save
pinme save --domain my-site
pinme save --domain example.com

save performs the full deploy path:

  • installs project dependencies
  • builds the Worker with npm run build:worker
  • uploads Worker code and SQL files from db/
  • builds the frontend with npm run build:frontend
  • uploads frontend/dist
  • optionally binds a domain after the frontend deploy

Update only one layer

Use targeted commands when only one part changed:

pinme update-worker
pinme update-db
pinme update-web

What each command expects:

  • update-worker: builds and uploads Worker code from the current PinMe project
  • update-db: uploads .sql files from db/
  • update-web: builds and uploads frontend/dist

Delete a project

pinme delete
pinme delete my-app
pinme delete my-app --force

This deletes the platform-side Worker, domain binding, and D1 database. Local files remain unchanged.

Authentication and Account Commands

Login and AppKey

pinme login
pinme login --env test

pinme set-appkey
pinme set-appkey 

pinme show-appkey
pinme appkey

pinme logout

Notes:

  • pinme login is the recommended path for project commands.
  • set-appkey is the alternative authentication method for CLI and automation usage.

Domains, wallet, and history

pinme my-domains
pinme domain

pinme wallet
pinme wallet-balance
pinme ba
Xem mã nguồn trên GitHub