abandon888/HappyBirthday
About
Happy Birthday! 生日快乐!A birthday blessing website ,生日祝福网站 ,based on HTML, CSS, JS, and GSAP, can be used to send wishes to special people or loved ones.|基于html,css,js+GASP,可用于祝福特别的人或恋人
Web & App DevelopmentMeasured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalHappyBirthday
中文 | English
HappyBirthday is a configurable HTML, CSS, and JavaScript birthday microsite. Fork it for a personal page, or use the included Codex Skill to create a new editable site from a short description and optional local assets.
What v2.1 adds
- Complete static builds with bundled GSAP; no third-party animation CDN.
classic,warm, andminimalthemes.- Schema-backed configuration validation and safe local asset checks.
- A generator that creates a separate editable project plus deployable
dist/output. - A repository-scoped
happy-birthday-makerSkill for Codex.
Local development
Requires Node.js 20 or later.
npm ci
npm run dev
Build and verify the deployable site:
npm run build
npm run check-dist
Customize directly
Edit customize.json, then validate it:
npm run validate -- --config customize.json
All existing text, imagePath, music, and fonts fields remain supported. theme is optional and defaults to classic.
{
"theme": "warm",
"name": "Avery",
"imagePath": "./img/lydia2.png",
"music": "./music/bgMusic.mp3"
}
For local user assets, use PNG/JPEG/WebP/GIF images up to 10 MiB, MP3/OGG/WAV/M4A audio up to 25 MiB, and TTF/OTF/WOFF/WOFF2 fonts up to 10 MiB. Remote resources must use HTTPS. The validator rejects dangerous protocols and paths that escape the configuration directory.
Create a separate personalized site
Put your configuration and optional local assets in one directory, then run:
npm run create -- --config ./my-birthday/customize.json --output ./generated/avery-birthday
npm run preview -- --site ./generated/avery-birthday
The generator never overwrites an existing directory. It copies local assets into the generated project, builds dist/, and does not deploy or read credentials. Deploy generated/avery-birthday/dist/ manually to GitHub Pages, Netlify, Vercel, or another static host.
Use the Codex Skill
When running Codex from this repository, invoke:
$happy-birthday-maker Create a warm Chinese birthday page for Avery using ./photo.png and ./song.mp3.
The Skill is stored in .agents/skills/happy-birthday-maker/, so Codex discovers it inside the repository. It treats local assets and user text as data, writes only to a new directory, and asks before retaining an external HTTPS resource. It does not deploy, upload assets, read secrets, or call the OpenAI API.
For reusable installation outside this repository, install the Skill from this public GitHub repository with your Codex Skill installer. Plugin packaging is intentionally deferred until the workflow has more public feedback.
Contributing and security
Read CONTRIBUTING.md before sending a reusable upstream change. Keep personal content in your own fork. See SECURITY.md for reporting and trust-boundary guidance.
This project is derived from faahim/happy-birthday and preserves its MIT license and attribution.
Explore related projects
Loading…