Fernschreiber is a Telegram client for Sailfish OS
Find a file
Sebastian Wolf fa4fc782f9
Merge pull request #35 from monich/dbus
Build requires Qt5DBus
2020-09-27 15:17:24 +02:00
icons Initialize Fernschreiber repository 2020-08-10 14:17:29 +02:00
images Backend can really send notifications 2020-09-03 23:20:46 +02:00
qml Enable image attachments :) 2020-09-27 13:49:06 +02:00
rpm Build requires Qt5DBus 2020-09-27 13:20:18 +03:00
src Enable image attachments :) 2020-09-27 13:49:06 +02:00
tdlib/include/td Some clean-up and preparation for multi-target builds 2020-09-26 15:53:47 +02:00
translations Update harbour-fernschreiber-es.ts 2020-09-24 16:31:22 -04:00
.gitignore Initialize Fernschreiber repository 2020-08-10 14:17:29 +02:00
harbour-fernschreiber.desktop Initialize Fernschreiber repository 2020-08-10 14:17:29 +02:00
harbour-fernschreiber.pro Merge pull request #35 from monich/dbus 2020-09-27 15:17:24 +02:00
LICENSE Initial commit 2020-08-10 13:50:11 +02:00
README.md Some clean-up and preparation for multi-target builds 2020-09-26 15:53:47 +02:00

Fernschreiber

A Telegram client for Sailfish OS

Author

Sebastian J. Wolf sebastian@ygriega.de

License

Licensed under GNU GPLv3

Build

Simply clone this repository and use the project file harbour-fernschreiber.pro to import the sources in your SailfishOS IDE. To build and run Fernschreiber or an application which is based on Fernschreiber, you need to create the file harbour-fernschreiber/src/tdlibsecrets.h and enter the required constants in the following format:

#ifndef TDLIBSECRETS_H
#define TDLIBSECRETS_H
const char TDLIB_API_ID[] = "42424242";
const char TDLIB_API_HASH[] = "1234567890abcdef1234567890abcdef";
#endif // TDLIBSECRETS_H

You get the Telegram API ID and hash as soon as you've registered your own application on https://my.telegram.org.

Moreover, you need to have a compiled version of TDLib in the sub-directory tdlib. This sub-directory must contain another sub-directory that fits to the target device architecture (e.g. armv7hl, i486). Within this directory, there needs to be a folder called lib that contains at least libtdjson.so. For armv7hl the relative path would consequently be tdlib/armv7hl/lib. Before compiling the project, be sure to set the target architecture in the project file harbour-fernschreiber.pro correctly using the variable TARGET_ARCHITECTURE. This can most certainly be automated. Pull requests welcome! ;)

Credits

This project uses

  • The Telegram Database Library (TDLib) - available on GitHub.com. Thanks for making it available under the conditions of the Boost Software License 1.0! Details about the license of TDLib in its license file.
  • Emoji parsing and artwork by Twitter Emoji (Twemoji), copyright 2018 Twitter, Inc and other contributors, Code licensed under the MIT License, Graphics licensed under CC-BY 4.0

Fernschreiber was translated to several languages. Thanks to all contributors!