Skip to content

在任何桌面电脑上为 iOS 和 iPadOS 创建精美的动态壁纸。

License

Notifications You must be signed in to change notification settings

LordVibeCoding/CAPlayground-Chinese-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

618 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAPlayground Logo

CAPlayground

在任何桌面电脑上为 iOS 和 iPadOS 创建精美的动态壁纸。

声明: 本项目原始仓库位于 https://github.com/CAPlayground/CAPlayground,本仓库仅在原项目基础上进行了中文汉化,不涉及其他功能修改。

概述

CAPlayground 是一个基于 Web 的 Core Animation 编辑器,用于为 iPhone 和 iPad 制作精美的壁纸。查看路线图了解项目进展。

快速开始

前置要求

  • Node.js 20+
  • Bun

安装

安装项目依赖:

bun install

开发

启动开发服务器:

bun run dev

在浏览器中打开 http://localhost:3000。

环境变量(身份验证,可选)

身份验证由 Supabase 提供支持。如果不配置认证密钥,网站仍可正常运行,但账户功能将被禁用,受保护的路由会显示提示信息。

在项目根目录创建 .env.local 文件:

NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# 仅服务端账户删除 API 需要
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

未配置时的表现:

  • app/signin/page.tsx 显示"登录已禁用"并禁用认证操作。
  • app/forgot-password/page.tsxapp/reset-password/page.tsx 显示提示并禁用操作。
  • app/api/account/delete/route.ts 返回 501 及说明信息。

构建与启动

bun run build && bun run start

贡献

请阅读 CONTRIBUTING.md

许可证

Creative Commons License

注意: Creative Commons 许可证适用于源代码。使用托管在 caplayground.vercel.app 上的服务须遵守服务条款,其中包含共享内容的署名要求。

Star 历史

Star History Chart

About

在任何桌面电脑上为 iOS 和 iPadOS 创建精美的动态壁纸。

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages