Getting Started
- Fork the repository on GitHub.
-
Clone your fork locally:
-
Install dependencies:
Development Workflow
Project Structure
converter: Core logic for Singlish-to-Sinhala conversion.ime-engine: Stateful IME class for real-time input.hooks: React integration.PHONETICS.txt: Reference mapping specification.
Making Changes
- Update Mappings: If you find a missing phonetic mapping, align implementation and docs with
PHONETICS.txt. - Verify Changes: Ensure your changes don’t break existing conversions. We recommend adding a test case for any new mapping.
Coding Standards
- Use TypeScript for all new code.
- Follow the existing code style (indentation, variable naming).
- Keep functions pure where possible, especially in the converter.
Submitting a Pull Request
- Push your changes to your fork.
- Open a Pull Request against the
mainbranch of the original repository. - Describe your changes clearly. If you are fixing a bug, please link the issue.

