Thank you for your interest in contributing to BŪNŌN! This guide will help you get started.
Be respectful, inclusive, and constructive in all interactions.
There are many ways to contribute:
- Report bugs
- Suggest new features
- Submit pull requests for bug fixes or enhancements
- Improve documentation
- Share feedback on the syntax or UX
BŪNŌN is a single-file application. Everything lives in index.html:
index.html ← HTML structure + CSS styles + JavaScript logic
There is no build step, no bundler, and no external dependencies. The app is entirely self-contained.
Since the app is a single HTML file, open index.html in your editor and make changes directly.
Open index.html in your browser:
open index.html
# or
python3 -m http.server 8080Test your changes by:
- Verifying the editor syntax highlighting works
- Adding/editing entities and relationships
- Testing zoom, pan, and drag behaviors
- Exporting to PNG and text
- Checking session persistence (reset/empty)
- Testing with the default example and with an empty canvas
- No new dependencies. BŪNŌN is proudly zero-dependency.
- Maintain backward compatibility. Don't break the existing ERD syntax.
- Preserve existing comments and code. Only remove code if it's truly unused or buggy.
- Test in multiple browsers when making CSS or JS changes.
- Write clear, concise commit messages
- Use the present tense ("Add feature" not "Added feature")
- Reference issue numbers if applicable:
Fix #42: Correct zoom behavior
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name - Commit your changes
- Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request against the
mainbranch
In your PR description, include:
- What the change does
- Why it's needed
- How to test it
- Screenshots if the change affects the UI
- Use
var(notlet/const) for broad browser compatibility - Use function declarations or
function()expressions - Keep functions focused and well-commented
- Use the existing comment style:
// ════════════════for section dividers
- Follow the existing custom property pattern:
--property-name: value; - Use the existing color scheme variables (
--bg,--surface,--border, etc.) - Maintain the dark theme aesthetic
- Keep the single-file structure — don't split into separate files
- Maintain accessibility attributes (
aria-label,aria-expanded, etc.)
When reporting a bug, please include:
- Browser and version (Chrome 120, Firefox 121, etc.)
- Steps to reproduce — be specific
- Expected behavior vs. actual behavior
- ERD code that triggers the issue (if applicable)
- Screenshot if the issue is visual
For feature suggestions:
- Check existing issues first to avoid duplicates
- Describe the feature and its use case
- Explain why it would be valuable to BŪNŌN users
- Consider the zero-dependency philosophy — can it be done without external libs?
Open an issue with your question — we're happy to help!
Thank you for contributing to BŪNŌN! 🚀