lemmur-app-android/README.md

73 lines
4.1 KiB
Markdown
Raw Permalink Normal View History

2023-02-04 15:57:01 +01:00
# ⚠️ THIS PROJECT IS NOT MAINTAINED ANYMORE ⚠️
2023-02-03 15:44:28 +01:00
2023-02-04 15:57:01 +01:00
This project has been officially dropped due to lack of interest and political differences. If anyone is interested in continuing developement, feel free to fork it. For any questions you can message [krawieck](https://matrix.to/#/@krawieck:matrix.org) (who was responsible for the flutter app) or [shilangyu](https://matrix.to/#/@shilangyu:matrix.org) (who was responsible for lemmy_api_client).
2023-02-03 15:44:28 +01:00
---
2020-12-04 14:07:24 +01:00
<div align="center">
2022-01-06 15:28:42 +01:00
[![](https://github.com/LemmurOrg/lemmur/workflows/ci/badge.svg)](https://github.com/LemmurOrg/lemmur/actions)
2022-01-14 21:28:23 +01:00
[![Translation status](http://weblate.yerbamate.ml/widgets/lemmur/-/lemmur/svg-badge.svg)](http://weblate.yerbamate.ml/engage/lemmur/)
2020-08-02 19:28:42 +02:00
2022-01-06 15:28:42 +01:00
<img width=200px height=200px src="https://raw.githubusercontent.com/LemmurOrg/lemmur/master/assets/readme_icon.svg"/>
2020-12-04 14:22:42 +01:00
# lemmur
2022-01-06 15:28:42 +01:00
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/packages/com.LemmurOrg.lemmur)
[<img src="https://cdn.rawgit.com/steverichey/google-play-badge-svg/master/img/en_get.svg" height="80">](https://play.google.com/store/apps/details?id=com.LemmurOrg.lemmur)
[<img src="https://raw.githubusercontent.com/andOTP/andOTP/master/assets/badges/get-it-on-github.png" height="80">](https://github.com/LemmurOrg/lemmur/releases/latest)
2021-04-06 14:22:19 +02:00
A mobile client for [Lemmy](https://github.com/LemmyNet/lemmy) - a federated reddit alternative
2020-12-04 14:22:42 +01:00
<a href="https://www.buymeacoffee.com/lemmur" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
2020-10-20 20:09:58 +02:00
2020-12-04 14:07:24 +01:00
</div>
2020-10-25 13:31:19 +01:00
- [lemmur](#lemmur)
- [Build from source](#build-from-source)
- [Prerequisites](#prerequisites)
- [Android](#android)
- [Linux](#linux)
2020-10-28 00:00:27 +01:00
- [Windows](#windows)
2021-04-06 14:22:19 +02:00
- [FAQ](#faq)
- [Version x.x.x was released, why is it not yet on F-droid?](#version-xxx-was-released-why-is-it-not-yet-on-f-droid)
- ["App not installed" - what to do?](#app-not-installed---what-to-do)
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
## Build from source
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
### Prerequisites
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
- Install [flutter](https://flutter.dev/docs/get-started/install): To check if this step was successful run `flutter doctor` (Installing android studio is not required if you setup the android SDK yourself)
2022-01-06 15:28:42 +01:00
- Clone this repo: `git clone https://github.com/LemmurOrg/lemmur`
2020-10-25 13:31:19 +01:00
- Enter the repo: `cd lemmur`
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
### Android
1. Build: `flutter build apk --flavor prod --target lib/main_prod.dart --release`
2020-10-25 13:31:19 +01:00
The apk will be in `build/app/outputs/flutter-apk/app-prod-release.apk`
2020-10-25 13:31:19 +01:00
### Linux
2020-10-28 00:00:27 +01:00
1. Make sure you have the additional [linux requirements](https://flutter.dev/desktop#additional-linux-requirements) (verify with `flutter doctor`)
2022-05-11 22:11:07 +02:00
2. Build: `flutter build linux --target lib/main_prod.dart --release`
2020-10-25 13:31:19 +01:00
The executable will be in `build/linux/x64/release/bundle/lemmur` (be aware, however, that this executable is not standalone)
2020-10-28 00:00:27 +01:00
### Windows
1. Make sure you have the additional [windows requirements](https://flutter.dev/desktop#additional-windows-requirements) (verify with `flutter doctor`)
2022-04-30 15:44:03 +02:00
2. Build: `flutter build windows --target lib/main_prod.dart --release`
2020-10-28 00:00:27 +01:00
The executable will be in `build\windows\runner\Release\lemmur.exe` (be aware, however, that this executable is not standalone)
2021-04-06 14:22:19 +02:00
## FAQ
### Version x.x.x was released, why is it not yet on F-droid?
We have no control over F-droid's build process. This process is automatic and not always predictable in terms of time it takes. If a new version does not appear in F-droid a week after its release, then feel free to open an issue about it and we will look into it.
### "App not installed" - what to do?
When installing the APK directly you might get this message. This happens when you are trying to update lemmur from a different source than where you originally got it from. To fix it simply uninstall the previous version (you will lose all local data) and then install the new one. Always make sure to install lemmur APKs only from verified sources.