Previously SailDiscord
An unofficial SailfishOS Discord client
Very very WIP
By using this, you are breaking Discord Terms of Services! This app might even get you banned! It stores your token in plain text and it is really easy to hack you with it!
- Login using Discord
- Connect Python
- Servers
- Text channels
- Text
- Other types (photos, gifs, etc.)
- DMs
- Settings
- About page
- Caching
- Avatars
- Automate translating, maybe with something like weblate
- More features?
- Server list does not follow same sorting as in the real discord. probably not possible yet because this is not implemented in discord.py-self
- App lags in a text channel sometimes
- App is very slow at loading almost everything. This is not fully fixable because app uses Python as the backend, which is slow
Screenshots are for version 0.3.2
Get Sailfish IDE, open the project, open Other Files -> rpm -> SailDiscord.spec
, then replace no
in the first line with yes
if you want to make a production package. Now just run or build.
If you didn't replace, you'll get faster build but aditional steps needed for phone. This is needed only once. Once the installation is completed, open Terminal from the developer options on your phone and type this command:
python3 -m pip install --user --upgrade "discord.py-self>=2.0" "requests" "Pillow"
Then open the app. If you ever want to switch back to the production version, type this command to undo:
python3 -m pip uninstall discord.py-self
SailJail will NOT work in this case
You might need to remove the build_folder/deps/google/_upb folderShould not be needed now.There's an issue that theBuildRequires: python3-pip;
line in the spec file throws an error. A workaround for now is to build these two awesome projects for the same target as for this project - harbour-moremahjong and sailfish-rpn-calculator.A fix could be to usepython3 -m ensurepip --default-pip
instead ofBuildRequires: python3-pip;
in the spec, but it might break the build vm/container so I am not recommending it. You can still do so by uncommenting a line in the spec file.- The fix has been found, and it turns out very simple. Open the project in Sailfish IDE, right click on it in the file structure and click Run QMake.
- You might need to
cd
into the build folder, runsfdk config target=<a target>
and thensfdk build-shell --maintain
, finally inside that shell runpython3 -m pip install --upgrade pip
.
The code is based on:
-
a lot:
- SailfishOS telegram client Fernschreiber - most of the UI
-
a little:
- sailfish-rpn-calculator, and its @poetaster's fork - early packaging issues
- Rapptz/discord.py#9690 (comment) - going offline/closing connection
- hhttps://github.com/ichthyosaurus/harbour-file-browser - zoom pictures
Core functionality:
Developers:
- @roundedrectangle (me)
Contributors (translations):
- @legacychimera247 - Italian