Thank you for your interest in contributing to lexdiff! This project aims to make Japanese law amendment history accessible to everyone through GitHub-style diff visualization.
- Bug fixes and UI/UX improvements
- Data pipeline enhancements (new laws, better diff algorithms)
- Accessibility, performance, and infrastructure improvements
- Documentation improvements and translations
- Use GitHub Issues to report bugs or suggest features
- Include steps to reproduce for bugs
- For feature requests, explain the use case
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Make your changes
- Run linting (
cd frontend && npm run lint) - Commit with a clear message
- Push and open a Pull Request
git clone https://github.com/wharfe/lex-diff.git
cd lex-diff
# Python pipeline
uv sync
# Frontend
cd frontend
npm install
npm run dev -- -p 3002- TypeScript strict mode
- Code comments in English
- User-facing text in Japanese
- Use Tailwind CSS for styling
- Follow existing patterns in the codebase
Changes to AI prompts (summarization, annotation, etc.) require extra scrutiny:
- Explain the reasoning for the change
- Show before/after examples of generated output
- Changes to prompts should be reviewed by at least one other contributor
- Use clear, descriptive commit messages
- Reference issue numbers where applicable
- Adding more laws and generating diffs
- Frontend components and UI improvements
- Accessibility (a11y) enhancements
- Performance optimization
- Documentation and translations
- AI prompt refinement
- Testing
Open a GitHub Issue.