Thank you for your interest in contributing to Rekapu!
At this time, we are only accepting the following types of contributions:
- 🌍 Translations - Help localize Rekapu for more languages
- 🐛 Bug Fixes - Fix existing issues and improve stability
We are NOT currently accepting:
- ❌ New features
- ❌ Major refactoring or architectural changes
This policy helps us maintain focus on stability and quality as we prepare for public release.
Rekapu supports multiple languages, and we welcome translations for additional languages!
- Fork the repository and create a new branch
- Navigate to
src/_locales/ - Copy the
enfolder and rename it to your language code (e.g.,frfor French,defor German) - Translate all strings in
messages.json - Add the same translation to
website/src/content/docs/{language}/for documentation - Test your translations by loading the extension locally
- Submit a pull request with your changes
- Maintain the same JSON structure as the original files
- Keep placeholders (e.g.,
$1,$count$) unchanged - Ensure translations fit within UI constraints (button labels should be concise)
- Use formal/informal tone consistently based on your language conventions
- Test the extension with your translations loaded
- Extension:
src/_locales/{language}/messages.json - Website:
website/src/content/docs/{language}/ - Demo cards:
src/data/demoCards/{language}.json
- Check existing issues to avoid duplicates
- Ensure you're using the latest version
- Test if the bug occurs in a clean browser profile
- Clear description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Browser version and OS
- Screenshots/console errors if applicable
- Fork the repository and create a new branch
- Write a failing test that demonstrates the bug (if applicable)
- Fix the bug with minimal changes
- Ensure all tests pass:
npm test - Submit a pull request with a clear description
- Node.js (v16 or higher)
- npm
# Clone your fork
git clone https://github.com/YOUR_USERNAME/rekapu.git
cd rekapu
# Install dependencies
npm install
# Build the extension
npm run build- Build the extension using
npm run build - Open your browser's extension management page:
- Chrome:
chrome://extensions
- Chrome:
- Enable "Developer mode"
- Click "Load unpacked" and select the
distfolder
# Run all tests
npm testsrc/
├── background/ # Background service worker
├── content/ # Content scripts
├── dashboard/ # Main dashboard UI
├── popup/ # Browser popup UI
├── storage/ # Storage and data management
├── spaced-repetition/ # SR algorithm
├── tts/ # Text-to-speech functionality
├── utils/ # Utility functions
└── _locales/ # Translation files
- TypeScript is used throughout the project
- Follow existing code patterns and conventions
- Keep changes minimal and focused
- Write clear, self-documenting code
- Avoid unnecessary comments
- Fork & Branch: Create a feature branch from
master - Commit: Use clear, descriptive commit messages
- Test: Ensure all tests pass and the extension works locally
- Submit: Open a PR with:
- Clear title describing the change
- Reference to any related issues
- Description of what was changed and why
- Screenshots for UI changes or translations
- Review: Address any feedback from maintainers
fix: description- for bug fixesi18n: description- for translations
If you have questions about contributing, feel free to open an issue with the "question" label.
Thank you for helping make Rekapu better! 🎉