Project
Contributing to Oriel TV
Thanks for helping build a better home screen for TVs. Contributions of every kind are welcome: code, design, documentation, translations, and device reports.
Ground rules
- Original work only. Write everything you contribute yourself. Don't copy or adapt code, text, artwork, or documentation from other projects (PRD section 9.2). Studying how other products behave is fine; reproducing their implementation isn't.
- Dependencies stay dependencies. Add third-party libraries only as declared build dependencies, with licenses compatible with Apache-2.0, such as Apache-2.0, MIT, BSD, or ISC. No GPL or AGPL dependencies in the launcher or Control Center.
- Remote first. Every launcher feature must work with only a D-pad, OK, and Back.
- Private by default. Don't add analytics, tracking, or network access. Any network feature needs a discussion first and must be off by default.
- Honest compatibility. Never mark a device as tested unless you tested it yourself.
- Be kind. Follow the Code of Conduct.
Sign your commits
Contributions are accepted under the Apache License 2.0. Every commit needs a Developer Certificate of Origin sign-off, which states that you wrote the change or have the right to submit it:
git commit -s -m "Describe your change"Project layout
| Folder | What's in it |
|---|---|
launcher/ | The Android TV launcher (Kotlin, Jetpack Compose for TV) |
website/ | The website (Next.js, React, Tailwind CSS), exported as a static site |
shared/design-tokens/ | Design tokens shared by the launcher and the website |
docs/ | Guides and architecture decision records |
assets/ | Original brand assets |
Set up
You need:
- Node.js 20.9 or newer, for the website and the design tokens.
- JDK 17 or newer and the Android SDK (platform 36), for the launcher. Android Studio 2025.2 or newer includes both.
Design tokens
Tokens live in shared/design-tokens/tokens.json. After changing them, regenerate the platform files and run the contrast tests from the repository root:
npm run tokens
npm run test:tokensCommit the generated files with your change. CI fails if they're out of date.
Website
cd website
npm ci
npm run devBefore opening a pull request:
npm run lint
npm run typecheck
npm test
npm run build
npm run check:routesLauncher
From the repository root:
./gradlew :launcher:assembleDebug
./gradlew :launcher:testDebugUnitTest
./gradlew :launcher:lintDebugOn Windows, use gradlew.bat. To try it, install the debug APK on an Android TV emulator or a TV, as described in Getting started.
Design
Read ADR 0004 and ADR 0005 before changing any surface. In short: glass is only for controls and navigation, standard materials give structure to content, glass never sits on glass, and every combination must pass the contrast tests.
Review or add a translation
The launcher's first translations (Spanish, French, German, Hindi, Tamil, and Arabic) are drafts that need a native speaker's review. If you speak one of them, or want to add a language, follow docs/translations.md.
Submit a theme pack
Anyone can propose a theme pack:
- Add an entry to
themePack.optionsinshared/design-tokens/tokens.json, with a one-word lowercase id, alabel, a one-sentencedescription, atheme(darkorlight), an existingaccentandwallpaper, and your GitHub username asauthorso the Community page credits you. To use a new wallpaper or accent, add it totokens.jsonfirst. Add the pack's name and description tolauncher/src/main/res/values/strings.xmltoo, aspack_<id>andpack_<id>_description. - Run
npm run tokens && npm run test:tokensfrom the repository root. The tests check contrast and that the pack is valid and new. - Open a pull request with a screenshot of the pack in the website demo or the launcher. All artwork must be original (see Ground rules).
Pull requests
- Open an issue first for anything larger than a small fix, so we can agree on the approach.
- Keep each pull request focused on one change.
- Fill in the pull request template, including how you tested it. Show screenshots for visible changes.
- Update the documentation and CHANGELOG.md when behavior changes.
Reporting problems
- Bugs and ideas: use the issue forms on GitHub.
- Device reports: use the device compatibility form. Reports help even when things don't work.
- Security problems: follow SECURITY.md. Please don't open a public issue.
This page is generated from CONTRIBUTING.md in the repository. Suggest changes there.