aeharding / voyager

Voyager โ€” a mobile-first Lemmy client
https://vger.app
GNU Affero General Public License v3.0
1.4k stars 163 forks source link
activitypub android-app fediverse ionic ios-app lemmy link-aggregator pwa universal-app wefwef

Voyager logo

Voyager

A mobile-first Lemmy web client

Report Bug ยท Request Feature ยท Releases

  ​       

matrix chat lemmy community


Voyager screenshots

Voyager for Lemmy

Voyager is an Apollo-like open source web client for Lemmy. It's a mobile-first app, but works great on desktop devices, too. Please feel free to try it out!

What does Voyager currently support?

What is on the roadmap?

๐Ÿ’ช Mobile webapps are awesome

Native apps can be great, but we believe in the strengths of the web. Why use a web-based Lemmy client?

Deployment

Official Deployment

The Voyager team maintains a deployment at:

Self-Host

There are two ways you can run Voyager as a PWA in a production environment. The recommended method is using docker. We also support a traditional deployment method without docker. Read below to see how to get each method set up.

Environment variables

Docker Deployment

In order to host Voyager yourself you can use the provided Dockerfile to build a container with Voyager. The Docker container itself does not provide any SSL/TLS handling. You'll have to add this bit yourself. One could put Voyager behind popular reverse proxies with SSL Handling like Traefik, NGINX etc.

Tip: Use Watchtower to keep your deployment automatically up to date!

From source
  1. checkout source git clone https://github.com/aeharding/voyager.git
  2. go into new source dir: cd voyager
  3. build Docker image: docker build . -t voyager
  4. start container: docker run --init --rm -it -p 5314:5314 voyager
Prebuilt
  1. pull image docker pull ghcr.io/aeharding/voyager:latest
  2. start container: docker run --init --rm -it -p 5314:5314 voyager

Note: The provided Dockerfile creates a container which will eventually run Voyager as non-root user.

Traditional Deployment

While Docker makes things easier, Voyager can be hosted by any HTTP server (nginx, apache etc).

# Build from source (Or, download web artifact from Github Releases)
pnpm install
pnpm build

# Then, serve ./dist with your favorite HTTP server - nginx, apache etc
# (make sure 404 goes to index.html)
# Below is a simple example for dev/testing (not recommended for production):
npm install --global http-server
cp dist/index.html dist/404.html # magic file for http-server
http-server dist

Optionally, you can serve a custom list of instance(s) in the /_config endpoint, with JSON payload of following format:

{ "customServers": ["lemmy.world", "lemm.ee"] }

For production, serve index.html with Cache-Control: no-cache and /assets with a long cache period (files in assets are immutable)

Ecosystem

Note: Community deployments are NOT maintained by the Voyager team. They may not be synced with Voyager's source code. Please do your own research about the host servers before using them.

๐Ÿ’– Sponsors

If you're enjoying Voyager, you can sponsor it:

We would also appreciate sponsoring other contributors to Voyager. If someone helps you solve an issue or implement a feature you wanted, supporting them would help make this project and OS more sustainable.

๐Ÿง‘โ€๐Ÿ’ป Contributing

Please check out CONTRIBUTING.md for details on contributing to Voyager. Thank you! ๐Ÿ’™

๐Ÿ›œ Add a lemmy instance to the curated list

Voyager curates Lemmy servers for sign up (see the data). If you would like to add an instance, please read the curated servers policy.

๐Ÿ“ฒ PWA

Voyager works best added to the homescreen. There are certain features that only work there, like badging and smooth page transitions.

๐Ÿฆ„ Stack

๐Ÿ‘จโ€๐Ÿ’ป Contributors

Shoutout to @fer0n for the great logo and splashscreen! And thank you ๐Ÿ’™ all of our contributors to the codebase:

๐Ÿ“„ License

Artwork

Code

AGPL-3.0 © Voyager contributors