SkateSpots/cvm-server/.env.example
shakespeare.diy 2db0c6f7e2 feat: add SkateSpots CVM server — MCP tools over Nostr
Adds cvm-server/ directory with complete ContextVM server implementation:

- server.ts: Full MCP server with 5 tools (find_spots, find_events,
  find_coaches, find_gear, get_community_stats) using @contextvm/sdk
- bootstrap.sh: One-command VPS setup script (Bun, PM2, firewall, keygen)
- skatespots-cvm.service: systemd unit for production deployment
- .env.example: Environment variable template
- DEPLOY.md: Step-by-step deploy guide for LNVPS VPS
- package.cvm.json: Dependencies manifest

The server aggregates data from goskatespots.nostr1.com and other relays,
deduplicates addressable events, and exposes structured JSON tools that
AI agents can discover and call via the ContextVM/Nostr protocol (CEP-6).

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-06-16 17:45:04 +07:00

17 lines
1,000 B
Text

# ─────────────────────────────────────────────────────────────────────────────
# SkateSpots CVM Server — Environment Variables
# Copy this to .env and fill in your values
# ─────────────────────────────────────────────────────────────────────────────
# Your CVM server's Nostr private key (hex format, generated by bootstrap.sh)
# NEVER commit this to git!
CVM_SERVER_NSEC_HEX=your_64_char_hex_private_key_here
# Nostr relays to query for skate data
NOSTR_RELAYS=wss://goskatespots.nostr1.com,wss://relay.ditto.pub,wss://wotr.relatr.xyz
# CVM discovery relay — where agents find your server
CVM_RELAY=wss://relay.contextvm.net
# Log level: info | debug | warn | error
LOG_LEVEL=info