Pump网站
x402agent2026-10-28查看 1414复制 1031
PumpOS——面向 Pump SDK 的静态 HTML/CSS/JS 网页桌面,包含 169 个 Pump-Store 应用、实时代币仪表盘、交互式 DeFi 工具、PWA 支持以及 Vercel 部署。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md3483 chars
---
name: pump-website
description: "PumpOS — static HTML/CSS/JS web desktop for the Pump SDK with 169 Pump-Store apps, live token dashboards, interactive DeFi tools, PWA support, and Vercel deployment."
metadata:
openclaw:
homepage: https://github.com/nirholas/pump-fun-sdk
---
# PumpOS Website — Static Web Desktop
PumpOS is a fully static HTML/CSS/JS web desktop environment — a browser-based OS simulation themed around Solana DeFi. No framework, no build step. Deployed on Vercel at `pumpos.app`.
## Key Files
| File | Purpose |
|------|---------|
| `website/index.html` | Desktop shell — taskbar, windows, start menu, wallpaper |
| `website/script.js` | App management, window lifecycle, taskbar, default apps |
| `website/system32.js` | OS kernel — event bus, IPC routing, user system |
| `website/pump.css` | Design system tokens — colors, spacing, radii, easing |
| `website/style.css` | Full component styles — windows, taskbar, menus |
| `website/sw.js` | Service worker — cache-first PWA |
| `website/live.html` | Real-time token launch dashboard (WebSocket relay) |
| `website/vercel.json` | Static deployment config with SPA rewrite |
## Architecture
- Single HTML page (`index.html`) as the desktop shell
- Apps loaded as HTML fragments in iframes
- `system32.js` provides event bus + IPC between apps via `postMessage`
- `script.js` manages window lifecycle, taskbar, and 30 built-in apps
- 24 JS modules in `website/scripts/` (kernel, window manager, wallet-connect, etc.)
## Pump-Store Apps (143)
All in `website/Pump-Store/apps/` as individual `.html` files. Database at `Pump-Store/db/v2.json`. Categories:
- **DeFi tools** — bonding curve calculator, DEX aggregator, fee manager, fee tier explorer
- **Trading** — trading signals, token sniper, multichart, orderbook, watchlist
- **Analytics** — on-chain analytics, whale flow, smart money, correlation matrix
- **Monitoring** — liquidation heatmap, gas predictor, MEV detector, whale alerts
- **Portfolio** — portfolio tracker, PnL leaderboard, position calculator
- **SDK-specific** — pump-sdk-reference, token-launcher, token-launch-sim, creator-fee-sharing, migration-tracker
## Design System
CSS custom properties in `pump.css`:
- Primary accent: `#00e87b` (Pump green)
- Background: `#0a0a0a` → `#111111` → `#1a1a1a` (dark theme)
- Border radius: 3-tier system (`0.7em` / `0.35em` / `0.233em`)
- Responsive breakpoint at 768px
- Custom cubic-bezier easing curves
## PWA Support
- Service worker with cache-first strategy
- Web app manifest with standalone display mode
- `web+pump://` protocol handler
- Installable with proper icons (512×512)
## Deployment
- Vercel (static, no framework, no build command)
- SPA routing: all non-asset paths rewrite to `/index.html`
- `/libs/` and `/assets/` get immutable caching (1 year)
- API proxy function at `api/proxy.js`
## Patterns to Follow
- No frameworks — vanilla HTML/CSS/JS only
- Apps are self-contained HTML files loaded in iframes
- Use `system32.js` event bus for inter-app communication
- All crypto operations run client-side
- Use CSS custom properties from `pump.css` for theming
## Common Pitfalls
- Service worker caching may serve stale content — version your cache
- `system32.js` IPC requires apps to listen for `postMessage` events
- Pump-Store app HTML must be self-contained (no external dependencies beyond libs/)
- The `script.js` default app list controls first-launch pins — update it when adding built-in apps