Thank you for your interest in contributing to LightSession! This Firefox extension helps keep ChatGPT fast by optimizing DOM performance.
- Node.js 24.10.0+ (use fnm or check
.node-version) - Firefox Developer Edition (recommended) or Firefox stable
# Clone the repository
git clone https://github.com/11me/light-session.git
cd light-session
# Install dependencies
npm install
# Start development mode
npm run devFor detailed architecture and development guide, see docs/development.md.
- Check existing issues first
- Create a new issue with:
- Firefox version
- Extension version
- Steps to reproduce
- Expected vs actual behavior
Open an issue with the enhancement label describing:
- The problem you're trying to solve
- Your proposed solution
- Any alternatives you've considered
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Run checks:
npm run lint npm run test npm run build:types npm run build - Commit with a clear message
- Push and open a Pull Request
- TypeScript with strict mode
- ESLint + Prettier for formatting
- Run
npm run lint:fixbefore committing
- Keep PRs focused on a single change
- Update tests if adding new functionality
- Ensure all CI checks pass
- Reference related issues in the PR description
light-session/
├── extension/src/ # TypeScript source code
│ ├── content/ # Content script (DOM trimming logic)
│ ├── popup/ # Extension popup UI
│ └── shared/ # Shared utilities
├── tests/ # Unit tests (vitest)
└── docs/ # Documentation
Feel free to open an issue or start a discussion. We're happy to help!