尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Public.AI Homepage
翻译准备中
正在加载完整 README。 以下为已保存的摘录。
The contact form (/business) and the official-account verification API
read configuration from environment variables. .env.example documents
every name; put local values in .env.local (gitignored). The server
validates all of them at boot and refuses to start if any is missing or
malformed.查看完整 README ↗PublicAI homepage
First, install all dependencies:
pnpm install
Run the development server:
pnpm dev
The contact form (/business) and the official-account verification API
read configuration from environment variables. .env.example documents
every name; put local values in .env.local (gitignored). The server
validates all of them at boot and refuses to start if any is missing or
malformed.
For deployments, the values live in GitHub Actions Secrets
(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION,
RECAPTCHA_SECRET_KEY, CONTACT_EMAIL_TO, OFFICIAL_ACCOUNTS_JSON) and
are injected into the container at runtime by the deploy workflow — they
are never baked into the image. The reCAPTCHA site key is public and
committed in .env.production; for local development set it in
.env.local together with the server-only values.
To rotate a secret: revoke it at the provider (AWS IAM / Google Cloud
console) first, then update the GitHub Secret and re-run the
deploy workflow. Updating OFFICIAL_ACCOUNTS_JSON also just needs a
secret edit plus a redeploy.
Build images:
docker build --platform linux/amd64 -t homepage-docker .
View current run images:
docker ps
Stop last run image:
docker container stop [CONTAINER ID]
Run latest image:
docker run -d -p 3000:3000 --name homepage-container --restart always homepage-docker
Remove last container:
docker container rm [CONTAINER ID]
Clear cache:
docker system prune -af # force clear all unused assets
docker volume prune -f # clear unused volume
docker builder prune -f # clear unused build cache