Contributing to Voyager
July 9, 2026 ยท View on GitHub
Thanks for reading this guide! Voyager is an open source project, and community contributions have shaped Voyager everywhere from its icon to custom swipe gestures.
Found a bug?
First, check if your issue has already been reported by searching and checking recently reported issues. If it doesn't exist, create a new bug report on Github.
If you want to fix a bug, find the issue and make sure its not already assigned. Make sure to communicate your intentions on the issue.
Once you create a PR, make sure to link the original issue report, if it exists. For small fixes, it's OK to not link an issue.
New feature?
New feature requests are welcome! First, check if your issue has already been requested by searching. If it doesn't exist, please create one.
To increase the chance that your feature request will be accepted and worked on timely:
- Follow the issue template;
- Make sure that it is well scoped and actionable;
- Add user stories ("As a user...") to make it clear the benefit of the feature request
Ready to contribute code? Thank you! ๐ But before opening the code editor, please check if the issue is already assigned. An issue may already be assigned to another community member, or to myself (Alex). I often assign issues to myself because:
- More investigation is needed;
- I want Voyager to have a specific opinionated UX;
- The issue is complex; or
- Dependencies and/or conflicts with other work
If the issue is unassigned, please confirm that it is OK to work on in the issue by tagging @aeharding. The best way to ensure your new feature will be merged is to stay in communication.
Development setup
PWA/typical development
Most Voyager development is done in your preferred web browser like a normal webapp.
To get started, install:
- node, recommended via asdf-nodejs
Then clone the repository and run on the root folder:
corepack enable
asdf reshim nodejs
pnpm install
pnpm dev
iOS Native App
If the feature you're working on is native-only, you can compile and run Voyager in an iOS Simulator or real device.
To build the iOS native app, install:
- node, recommended via asdf-nodejs
- Xcode
Then, in Voyager's source code directory, build the project:
corepack enable
asdf reshim nodejs
pnpm install
pnpm ionic capacitor build ios
Xcode should automatically open. You can then run the project with CMD+R.
Android Native App
To build the Android native app, install:
- node, recommended via asdf-nodejs
- Android Studio
Then, in Voyager's source code directory, build the project:
corepack enable
asdf reshim nodejs
pnpm install
pnpm ionic capacitor build android
Android Studio should open.
You may need to sync. File -> Sync Project with Gradle Files
Finally, can run the project with Ctrl+R.
Linux Desktop App (Tauri)
To build the Linux desktop app, install:
- node, recommended via asdf-nodejs
- Tauri prerequisites (Rust and system packages)
Then, in Voyager's source code directory:
corepack enable
asdf reshim nodejs
pnpm install
pnpm tauri dev
To build distributable bundles (deb, rpm, AppImage), run pnpm tauri build.
Testing
Voyager uses Vitest for unit tests. You can run the test suite with:
pnpm test
End-to-end tests
Voyager uses Playwright for e2e tests. The suite is fully mocked: specs intercept all API traffic for a fake Lemmy v1 instance (v1.test.lemmy), so no real server is involved.
On first run, install the browsers:
pnpm playwright install
Then:
pnpm test:e2e # all browsers
pnpm test:e2e --project=chromium # one browser
pnpm test:e2e e2e/lemmyv1/smoke.spec.ts # one spec
pnpm test:e2e --ui # interactive UI mode
pnpm test:e2e --debug # step through with inspector
When writing tests:
- Import
test/expectfrome2e/fixtures/test. This auto-installs the mocked API (theapifixture) with app-startup defaults. - Override endpoints with
api.mock("GET /api/v4/post/list", { json: ... }), and assert on outgoing requests withapi.calls()/api.waitForCall(). - Response shapes mirror raw
lemmy-js-clientv1 types. Add reusable data factories toe2e/fixtures/builders.ts. - Use
test.use({ loggedIn: true })to boot logged into the fake instance. - Always navigate to
/posts/v1.test.lemmy/...(or useloggedIn) โ the logged-out default instance is unmocked, and unmocked requests respond 404.
๐ Releasing
Voyager uses Github Actions for Apple App Store and Android Play Store builds, where logs may be inspected.
Voyager's Android and iOS builds are reproducible! In fact, F-droid independently builds Voyager and verifies the same compiled APK is provided in Github Releases.
Note: F-droid and Github Releases binaries are built with BUILD_FOSS_ONLY=true. This removes all nonfree dependencies, currently just Google Play in-app purchases.
Important
Release tags are detached from main so that CI can commit build metadata for fdroid.
You can visualize where release tags have diverged from main like this:
git log --graph --oneline --tags
To see all commits between a release tag and main, you can use the following (replace MY_RELEASE_TAG):
git log main..MY_RELEASE_TAG
To determine the exact commit where a release tag diverged from main, you can use the following (replace MY_RELEASE_TAG):
git rev-parse $(git rev-list --exclude-first-parent-only ^main MY_RELEASE_TAG| tail -1)^
Start the release process
- Make sure the version is incremented. Increment in
package.jsonand push (if necessary) - Trigger the
releaseworkflow in Github Actions from the relevant commit
Tip
Shorthand: pnpm release (relies on gh)
The release workflow will:
- Set the build number to the current Github run number (and detect the version from
package.json) - Upload
release-dataartifact with trapeze changes and.envfile
Then, it will fork depending on the release_behavior (e.g. building on main or publishing a release):
Building on main
- Dispatch the
build_releaseworkflow withis_main_build=true
Publishing a release
- Commit the
release-data - Tag the release (e.g.
1.0.0) - As a side-effect of tagging, trigger the
build_releaseworkflow
The build_release workflow will:
- Build web app โ
Voyager-Web-<version>.zip - Build non-FOSS Google Play Android โ no artifact
- Build iOS artifact โ
Voyager-iOS-<version>.ipa - Build FOSS-only Android โ
Voyager-Android-<version>.apk - Upload to the Apple App Store and Google Play Store
- Deploy PWA to beta.vger.app (testing track) or vger.app (release track)
- Create a Github Release with the artifacts
several_days_later_spongebob_meme.jpg
In a few days, F-droid will scan the repo for new tags and independently build the FOSS-only Android native app. It will verify reproducibility against Github Releases, and then publish the app.
This is the main reason why each release tags trapeze changes (and build metadata) as a new commit. It also makes it easier for anyone to verify reproducibility.