Something went wrong. Try again.
Festive overlays for your website 🎉 Drop in & celebrate the season with snow, sparkles, and more. www.npmjs.com/package/festive-js
Something went wrong. Try again.
festive-js CONTRIBUTING.md
🤝 Contributing to Festive.js #
Thanks for your interest in Festive.js!
This project was started by Inovus Labs as an open-source initiative for Hacktoberfest 2025.
By the end of this Hacktoberfest season, we aim to publish a stable SDK and theme gallery built by the community.
📜 Contribution Streams #
You can contribute in two main ways:
1. 🎨 Contribute a Theme #
- Add a festive/cultural theme (Diwali, Halloween, Christmas, Easter, New Year, etc.)
- Theme rules:
- Minimal code, no third-party libraries
- Pure Vanilla JS, no CSS frameworks
- Must be lightweight (ideally <10KB minified)
- Must be non-intrusive and subtle
- Must not block host site interactivity (
pointer-events: none) - Must return a cleanup function in
apply()
- Structure:
/themes/your-theme/ └── index.js
2. ⚙️ Contribute to Core #
- Improve the Festive.js SDK:
- Performance optimizations
- Improve docs, playground, demo platform
- Build peripheral tools:
- Bookmarklet to test on any live site
- Web playground with sharable configs
- Showcase gallery auto-indexer
🗂️ Theme Structure #
index.js #
export default {
key: "diwali-crackers",
name: "Diwali Crackers (Fireworks)",
triggers: [...],
params: { ...defaults },
apply(root, common, options) {
// Theme implementation here
// Use `root` as container, `common` for shared utils, `options` for params
// Example: create canvas, start animation loop, etc.
// Must return a cleanup function in `apply()`
return () => { /* cleanup */ };
}
};
🛠️ Submitting a PR #
- Fork this repo, create a branch.
- Add your theme or core changes.
- Test locally (
npm run build && npm run dev). - Update docs/README if adding a theme.
- Submit a Pull Request with:
- Description of changes
- Screenshots or Video (if applicable)
🌍 Hacktoberfest Notes #
- This repo is registered for Hacktoberfest 2025 🎉
- Contributions of both types (themes or core improvements) count
- Please keep PRs meaningful and minimal — no spam
🙏 Code of Conduct #
We follow a be kind, be respectful policy. Contributions should align with the project’s values of open collaboration.
✨ Let’s build a global library of lightweight festive themes together!