paperweight v0.6.0
Marketing site for Paperweight.DevelopmentInstall deps from the repo root, then run Next.js in th 2026-9-3 10:54:9 Author: kitploit.com(查看原文) 阅读量:4 收藏

Marketing site for Paperweight.

Development

Install deps from the repo root, then run Next.js in this package:

pnpm -C website install
pnpm -C website dev

Production build

pnpm -C website build
pnpm -C website start

Environment variables

This site has two server-side API routes:

  • POST /api/newsletter (newsletter signup via Resend)
  • POST /api/license (license validation via Polar)

In local dev you can run without these — the routes will respond with 503.

Set these env vars in website/.env for production:

  • RESEND_API_KEY (required for newsletter)
  • RESEND_SEGMENT_ID (optional)
  • POLAR_API_KEY (required for license validation)
  • POLAR_ORGANIZATION_ID (required for license validation)

Read more


文章来源: https://kitploit.com/en/posts/github-wslyvh-paperweight-v060
如有侵权请联系:admin#unsafe.sh