2.3 KiB
Contributing to BetterSEQTA+
Thanks for helping out! For anything bigger than a small fix, open an issue or ask in Discord first so we can agree on the approach.
Setup
You need Node.js 26+, Git and a Chromium browser (Chrome, Edge or Brave).
git clone https://github.com/YOUR_USERNAME/BetterSEQTA-Plus.git
cd BetterSEQTA-Plus
npm install
npm run dev
Then load the extension:
- Open
chrome://extensionsand turn on Developer mode. - Click Load unpacked and pick the
dist/chromefolder. - Open a SEQTA Learn page.
For Firefox, run npm run dev:firefox and load dist/firefox from about:debugging.
Project layout
| Path | What's in it |
|---|---|
src/SEQTA.ts |
Content script entry point |
src/background.ts, src/background/ |
Service worker |
src/seqta/ |
Everything injected into SEQTA pages |
src/interface/ |
Settings popup and theme store (Svelte) |
src/plugins/ |
Plugin system and built-in plugins |
src/css/ |
Injected styles and the shared Tailwind setup |
lib/, scripts/ |
Vite plugins and build scripts |
ARCHITECTURE.md goes into more detail.
Making changes
-
Branch from
main, e.g.git checkout -b fix/timetable-colours. -
Keep each PR to one change and match the style of the surrounding code.
-
Add tests for logic changes.
-
Before opening the PR, check everything passes:
npm run lint npm test npm run build -
Use short conventional commit messages:
feat:,fix:,chore:,docs:. -
Open the PR and fill in the template.
Issues
Search existing issues before opening a new one, and use the issue forms. good first issue and help wanted are good places to start. Issues aren't assigned, so just open a PR when you have a fix.