尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Turn any website into a smart csm.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Transform any website into an editable platform with a simple script tag. ReCopyFast provides real-time content management capabilities without requiring backend modifications.
# Install main dependencies
npm install
# Install WebSocket server dependencies
npm run ws:install
Create .env.local file and update with your Supabase credentials:
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# App URL
NEXT_PUBLIC_APP_URL=http://localhost:3000
# WebSocket Server
NEXT_PUBLIC_WS_URL=http://localhost:3001
Run the SQL schema in supabase/schema.sql in your Supabase SQL editor.
npm run dev
This will start:
Add this script tag before the closing </body> tag on any website:
<script src="https://your-domain.com/embed/recopyfast.js"
data-site-id="your-site-id"
data-site-token="your-signed-token"></script>
For edit mode (allows clicking elements to edit):
<script src="https://your-domain.com/embed/recopyfast.js"
data-site-id="your-site-id"
data-site-token="your-signed-token"
data-edit-mode="true"></script>
recopyfast/
├── src/
│ ├── app/ # Next.js app directory
│ │ ├── api/ # API routes
│ │ ├── dashboard/ # Dashboard pages
│ │ └── page.tsx # Homepage
│ ├── components/ # React components
│ ├── lib/ # Utilities and configs
│ └── types/ # TypeScript types
├── server/ # WebSocket server
├── public/
│ └── embed/ # Embed script
└── supabase/ # Database schema
POST /api/sites/register
Body: { domain: string, name: string }
Response: { site: Site, apiKey: string, siteToken: string, embedScript: string }
GET /api/content/:siteId?language=en&variant=default
Response: ContentElement[]
PUT /api/content/:siteId
Body: { elementId: string, content: string }
Response: { success: boolean }
content-map - Send initial content mappingcontent-update - Update specific content elementjoin-dashboard - Join dashboard roomcontent-update - Receive content updatescontent-map-updated - Notification of new contentupdate-error - Error notifications# Run development server
npm run dev
# Run only Next.js
npm run dev:next
# Run only WebSocket server
npm run dev:ws
# Build for production
npm run build
# Run linter
npm run lint
server directoryMIT License - see LICENSE file for details