Fernschreiber

Rating: 
4.939025
Your rating: None Average: 4.9 (82 votes)

Fernschreiber is a Telegram client for Salifish OS

Fernschreiber (German for teleprinter, teletypewriter, teletype or TTY) connects you with the Telegram network. It's still in an early development phase, but it already supports many of the most popular features such as:

  • Chat list in order of last received message
  • Two-step authentication
  • Read standard text messages, pictures, videos. animated GIFs, animated and non-animated stickers, voice notes, locations, venues, polls and documents
  • Displays web page previews
  • Send text messages, stickers, reply to messages, attachments: images, videos, documents, polls, voice notes, locations (yes, more to come ;))
  • Edit messages
  • Delete messages
  • Search chats and messages
  • Display sent/read state of messages
  • Notifications
  • Contact support and device contacts synchronization
  • Secret chats
  • Mute/unmute chats
  • Join/leave chats
  • Pinned messages
  • Forward messages
  • Chat information page
  • @-mentioning support, use @<username> in the message field to search!
  • Easy emoji selection, use :<keyword> in the new message field to search for them!
  • Open chat from external link (integration in Sailfish OS open-with menu)
  • A lot of eye candy (yes, you get the complete set of emojis for example) ;)

Have fun with Fernschreiber!

Older SFOS Releases

Devices like the Jolla Phone don't support the latest SFOS version. Users who can't install the latest version from this page, please try: https://openrepos.net/content/werkwolfoldschool/fernschreiber-jolla-phon...

Issues and Feature Requests

Known bugs/issues and feature requests are available at https://github.com/Wunderfitz/harbour-fernschreiber/issues. In case you would like to report a bug or post a feature request, please do it there. Be sure to explain the bug or feature request in detail, that makes it easier to sort and prioritize.

Open Source and Contribution

Feedback about Fernschreiber is always appreciated (good, bad, improvement/feature ideas etc.). 

You can contribute with a translation, a new feature or even a bugfix. The sources are on GitHub at https://github.com/Wunderfitz/harbour-fernschreiber. Please acknowledge the GNU GPLv3 before contributing/forking. Thanks to all new and especially to the existing contributors!

Screenshots: 

Keywords:

Application versions: 
AttachmentSizeDate
File harbour-fernschreiber-0.1-6.armv7hl.rpm11.8 MB20/09/2020 - 22:09
File harbour-fernschreiber-0.2-1.armv7hl.rpm6.12 MB30/09/2020 - 22:53
File harbour-fernschreiber-0.2-1.i486.rpm6.29 MB30/09/2020 - 22:53
File harbour-fernschreiber-0.3-2.armv7hl.rpm5.9 MB19/10/2020 - 00:09
File harbour-fernschreiber-0.3-2.i486.rpm6.08 MB19/10/2020 - 00:09
File harbour-fernschreiber-0.4-2.armv7hl.rpm5.93 MB11/11/2020 - 20:19
File harbour-fernschreiber-0.4-2.i486.rpm6.15 MB11/11/2020 - 20:19
File harbour-fernschreiber-0.4.1-1.i486.rpm6.14 MB12/11/2020 - 23:58
File harbour-fernschreiber-0.4.1-1.armv7hl.rpm5.93 MB12/11/2020 - 23:58
File harbour-fernschreiber-0.5-2.armv7hl.rpm5.98 MB01/12/2020 - 01:18
File harbour-fernschreiber-0.5-2.i486.rpm6.19 MB01/12/2020 - 01:18
File harbour-fernschreiber-0.5.1-2.i486.rpm6.2 MB05/12/2020 - 01:00
File harbour-fernschreiber-0.5.1-2.armv7hl.rpm5.99 MB05/12/2020 - 01:00
File harbour-fernschreiber-0.6-66.armv7hl.rpm6.48 MB05/01/2021 - 23:42
File harbour-fernschreiber-0.6-66.i486.rpm6.62 MB05/01/2021 - 23:42
File harbour-fernschreiber-0.6.1-3.i486.rpm6.63 MB06/01/2021 - 23:44
File harbour-fernschreiber-0.6.1-3.armv7hl.rpm6.48 MB06/01/2021 - 23:44
File harbour-fernschreiber-0.7-4.armv7hl.rpm5.74 MB06/02/2021 - 01:33
File harbour-fernschreiber-0.7-4.i486.rpm6.03 MB06/02/2021 - 01:33
File harbour-fernschreiber-0.8-1.i486.rpm6.04 MB23/02/2021 - 00:20
File harbour-fernschreiber-0.8-1.armv7hl.rpm5.75 MB23/02/2021 - 00:20
File harbour-fernschreiber-0.8.1-2.armv7hl.rpm5.75 MB02/03/2021 - 00:20
File harbour-fernschreiber-0.8.1-2.i486.rpm6.03 MB02/03/2021 - 00:20
File harbour-fernschreiber-0.8.2-1.i486.rpm6.04 MB03/03/2021 - 01:19
File harbour-fernschreiber-0.8.2-1.aarch64.rpm5.72 MB03/03/2021 - 01:19
File harbour-fernschreiber-0.8.2-1.armv7hl.rpm5.75 MB03/03/2021 - 01:19
File harbour-fernschreiber-0.9-3.aarch64.rpm5.73 MB30/05/2021 - 20:28
File harbour-fernschreiber-0.9-3.armv7hl.rpm5.75 MB30/05/2021 - 20:28
File harbour-fernschreiber-0.9-3.i486.rpm6.04 MB30/05/2021 - 20:28
File harbour-fernschreiber-0.10-3.aarch64.rpm5.74 MB07/11/2021 - 23:14
File harbour-fernschreiber-0.10-3.armv7hl.rpm6.58 MB07/11/2021 - 23:14
File harbour-fernschreiber-0.10-3.i486.rpm6.05 MB07/11/2021 - 23:14
File harbour-fernschreiber-0.10.1-1.aarch64.rpm5.74 MB10/11/2021 - 01:41
File harbour-fernschreiber-0.10.1-1.armv7hl.rpm6.57 MB10/11/2021 - 01:41
File harbour-fernschreiber-0.10.1-1.i486.rpm6.05 MB10/11/2021 - 01:41
File harbour-fernschreiber-0.11-1.aarch64.rpm6.36 MB06/12/2021 - 01:00
File harbour-fernschreiber-0.11-1.armv7hl.rpm6.38 MB06/12/2021 - 01:00
File harbour-fernschreiber-0.11-1.i486.rpm6.72 MB06/12/2021 - 01:00
File harbour-fernschreiber-0.12-2.aarch64.rpm6.37 MB20/12/2021 - 01:02
File harbour-fernschreiber-0.12-2.armv7hl.rpm6.39 MB20/12/2021 - 01:02
File harbour-fernschreiber-0.12-2.i486.rpm6.73 MB20/12/2021 - 01:02
File harbour-fernschreiber-0.13-2.aarch64.rpm6.42 MB14/01/2022 - 00:24
File harbour-fernschreiber-0.13-2.armv7hl.rpm6.44 MB14/01/2022 - 00:24
File harbour-fernschreiber-0.13-2.i486.rpm6.79 MB14/01/2022 - 00:24
File harbour-fernschreiber-0.14-2.aarch64.rpm6.51 MB24/04/2022 - 17:32
File harbour-fernschreiber-0.14-2.armv7hl.rpm6.53 MB24/04/2022 - 17:32
File harbour-fernschreiber-0.14-2.i486.rpm6.89 MB24/04/2022 - 17:32
File harbour-fernschreiber-0.15-1.aarch64.rpm6.51 MB28/04/2022 - 00:14
File harbour-fernschreiber-0.15-1.armv7hl.rpm6.53 MB28/04/2022 - 00:14
File harbour-fernschreiber-0.15-1.i486.rpm6.89 MB28/04/2022 - 00:14
File harbour-fernschreiber-0.16-4.aarch64.rpm6.7 MB12/06/2022 - 20:17
File harbour-fernschreiber-0.16-4.armv7hl.rpm6.7 MB12/06/2022 - 20:17
File harbour-fernschreiber-0.16-4.i486.rpm7.08 MB12/06/2022 - 20:17
File harbour-fernschreiber-0.17-12.aarch64.rpm8.7 MB03/12/2023 - 16:09
File harbour-fernschreiber-0.17-12.armv7hl.rpm7.71 MB03/12/2023 - 16:09
File harbour-fernschreiber-0.17-12.i486.rpm8.78 MB03/12/2023 - 16:09
Changelog: 

0.17

  • Update to TDLib 1.8.21, expect some hiccups ;)
  • Added contacts sync (OpenRepos builds only)
  • Tweaks to reaction handling (opens now on double click or click + star)
  • Option to jump to quoted message
  • Option to highlight unread conversations
  • Option to suppress notification previews
  • Option to append last message content to notifications
  • Added "unread mention" indicator to chat list
  • Improve message when search yields no results
  • New unread info for chats with high amount of unread messages
  • Setting for session inactivity timeout
  • UI improvements in landscape mode
  • Fix: Restore video functionality on SFOS 4.5
  • Fix: Chat list timestamp now updated more reliably
  • Fix: Faster reconnect after network changes
  • Fix: Some URLs couldn't be opened
  • Updated translations for several languages
  • Thanks to monich, nephros, arustg, jgibbon, carlosgonz0, okruhliak, dscheinah, pherjung and mbarashkov for your contributions

0.16

  • Support message reactions
  • Support t.me/+... links
  • Update to TDLib 1.8.3 - let's see if everything still works ;)
  • Fix: Much stricter chat list handling, should avoid ghost chats
  • Fix: Add RemovableMedia permission to allow uploads from SD card again
  • Fix: Context menu in settings/sessions should now always stay in screen area, thanks to monich

0.15

  • Use geo: URL handler to open locations (direct call to Pure Maps is no longer working on SFOS 4.4)
  • Use generic file handler to open downloaded files (xdg-open is no longer working on SFOS 4.4)
  • Fix: Race condition on initial login caused malfunction of chats and settings page
  • Fix: Bring notifications back to lock screen of SFOS 4.4

0.14

  • Adjustments to SFOS 4.4: Setup application profile, migrate configuration, fix notification sound (bug #486)
  • Support for Emoji 14.0
  • Support striked-through text - thanks to monich
  • Fix: Clean up correctly after creating voice notes (bug #481)
  • Fix: Mark sponsored messages as read correctly - thanks to monich
  • Updated translations for French, Slovak, Spanish - thanks to pherjung, okruhliak, carlosgonz0

0.13

  • Update to TDLib 1.8 - let's see if everything still works ;)
  • Fix: Forward message to channels - thanks to monich
  • Fix: Message reference issues in repplies - thanks to monich
  • Fix: Don't load message with zero IDs - thanks to monich
  • Fix: Avoid repeated sticker set loading
  • Updated translations for French, Polish, Russian, Swedish - thanks to all contributors

0.12

  • Add option to delete private chat
  • Improve chat search performance - thanks to monich
  • Improve message forwarding - thanks to monich
  • Handle external links better for individual messages
  • Full support for sponsored messages (yes, that's required before January 1, 2022)
  • Move session and logout options from about to settings page - thanks to nephros
  • Remove short texts for stickers and animated emojis - thanks to monich
  • Fix: Display chat members correctly again after TDLib update
  • Fix: Long tap on reply-to headers finally opens context menu - thanks to monich
  • Fix: Apply "show stickers as images" setting to animated emojis - thanks to monich
  • Fix: Don't save draft for chats with deleted users
  • Fix: Hide appearance settings that are not applicable - thanks to monich
  • Fix: Less memory consumption for stickers after TDLib upgrade - thanks to monich
  • Updated translations for Polish, Spanish, Swedish - thanks to atlochowski, carlosgonz0, eson57

0.11

  • Update to TDLib 1.7.9 - bring Fernschreiber back to life
  • Support for animated emoji
  • Preliminary support for sponsored messages - mandatory after January 1, 2022
  • Use larger font for settings section headers - thanks to monich
  • Hide "Extra options..." context menu item if it's not needed - thanks to monich
  • Updated translation for Spanish - thanks to carlosgonz0

0.10.1

  • Fix: Startup wasn't possible on fresh SFOS installation (thanks to Jolla Harbour QA!)
  • Fix: New open-with handling created duplicate browser shortcuts
  • Open-with support on SFOS 4.2 is (again) a workaround. SFOS 4.3 seems to behave much better...
  • Updated translations for Polish - thanks to atlochowski

0.10

  • Support for SFOS 4.3 on armv7hl and i486
  • New settings accordion - thanks to jgibbon and monich
  • Fix open-with issues with browser and Fernschreiber on SFOS 4.2 and later
  • Fix: No 'Recently used' section if there are no stickers
  • Use generic app booster, fixes some crashes related to animated stickers - thanks to monich
  • New translation to French - thanks to pherjung and nbourdais
  • Updated translations for Polish, Russian, Slovak, Swedish - thanks to all contributors

0.9

0.8.2

  • Prepare aarch64 build
  • Updated Polish translation - thanks to atlochowski

0.8.1

  • Fix: Show active sessions button only when authenticated - thanks to monich
  • Fix: Show newly registered contact as simple message
  • Updated translations for Finnish, Polish, Russian, Spanish - thanks to all contributors

0.8

  • Tap on a sticker to show overlay with the corresponding sticker set
  • Sticker set overlay allows to uninstall it
  • Redesign sticker picker, improve loading time
  • Additional context menu to prevent the normal one from becoming too big, see https://github.com/Wunderfitz/harbour-fernschreiber/issues/216
  • Manage all Telegram sessions for current user (see About -> Active Sessions)
  • Forward message now directly available in (additional) context menu
  • Use different background colors for muted chats - thanks to monich
  • Enable storage optimizer per default
  • [SFOS 4] Disable contacts sync as no longer possible, see https://forum.sailfishos.org/t/4-0-1-45-non-jailed-contacts-sqlite-datab...
  • Fix: Found private chats no longer appear automatically in the chat list
  • Fix: Stickers can now be sent as replies
  • Fix: Message sticker highlight and click behavior now aligned with other message types - thanks to monich
  • Fix: Don't auto-scroll if context menu is opened, see https://github.com/Wunderfitz/harbour-fernschreiber/issues/139
  • Fix: Deleted in-reply-to messages are now shown with a placeholder, see https://github.com/Wunderfitz/harbour-fernschreiber/issues/374
  • Fix: Sort text replacements better to avoid overlaps in case of special characters, see https://github.com/Wunderfitz/harbour-fernschreiber/issues/334
  • Fix: Trigger mark-as-read (almost) immediately after opening chat (plus configurable delay)
  • Fix: [SFOS 4] Documents app can no longer access all directories, always download before calling it
  • Fix: [SFOS 4] Forwarding a message no longer causes the page stack to become invalid (navigating back was no longer working)
  • Several translations updated - thanks to all contributors

0.7

  • Massively extended bot support - thanks to jgibbon
  • Option to change first name, last name, username
  • Add and delete profile pictures
  • Set personal privacy options
  • Pin/unpin chat
  • Option for online-only mode
  • Option to logout - thanks to santoshmanikandan
  • Option to override notification sound settings - thanks to monich
  • Option to disable delay for marking messages as read
  • Show channel members if authorized - thanks to monich
  • New UX for audios, voice notes and documents - thanks to jgibbon
  • Updated Fernschreiber logo - thanks to monich
  • Better loading/preview image - thanks to jgibbon
  • New pinned chat icon - thanks to jgibbon
  • Add explanations to quiz - thanks to jgibbon
  • Real estate optimizations for chat list - thanks to jgibbon
  • Nice landscape layout for settings page - thanks to monich
  • Full width for channel messages - thanks to jgibbon
  • Architecture changes and improvements to message type handling - thanks to jgibbon
  • Update channel message count in real time - thanks to monich
  • Fix: Get sound back for notifications
  • Fix: Chat muted icon always visible in list
  • Fix: Mark older messages as read once a reply has been sent
  • Fix: No longer display own messages as unread
  • Fix: Initial scroll position now normally on the first unread message
  • Fix: Improve sent/read indicator handling
  • Fix: Don't let context menu be wider than its combo box - thanks to monich
  • Fix: Images couldn't be clicked at the complete width - thanks to jgibbon
  • Fix: Don't retry downloading files too often - thanks to monich
  • A lot more fixes - thanks to monich and jgibbon
  • New Slovak translation - thanks to okruhliak
  • Several translations updated - thanks to all contributors

0.6.1

  • Show indicator for pinned chats
  • Use highlightBackgroundColor and align size for all chat attributes (unread messages, secret chat, pinned chat)
  • Fix: Chat list order of sequence was wrong in some circumstances
  • Fix: Make video (fullscreen) page work again
  • Fix: Add build requirements for Qt Multimedia and Qt Positioning
  • Updated translations for Finnish and Swedish - thanks to jorm1s and eson57

0.6

  • Filter chat list (tap on title bar to open search field) - thanks to the entire dev team for the great discussion and contributions to the layout :)
  • Search for public chats (see pulley menu on overview page)
  • Search for chat messages (see pulley menu on chat page)
  • Support sending voice notes
  • Support sending locations
  • Add message draft support - thanks to jgibbon
  • Basic bot messages support (reply markup) - thanks to jgibbon
  • Add 'Mark chat as read/unread' option
  • Add download option to audio messages (voice notes, music...)
  • Introduce proper text if other people added/removed a person from a chat
  • Tweaks to poll layout - thanks to monich
  • New option to keep message input focused after message was sent - thanks to jgibbon
  • Send message button now removed if Send-message-by-enter option is enabled (and no attachment is set) - thanks to santhoshmanikandan
  • Performance and code optimizations (architecture, startup, JS components) - thanks to monich and jgibbon
  • Improve readability in light ambiences
  • Upgrade to TDLib 1.7
  • Fix: Only show reply to option for messages that can be replied to - thanks to monich
  • Fix: Emoji positioning in multi-line texts - thanks to monich
  • Fix: Left-over @-mention notifications when all messages in chat are read
  • Fix: Occasional crashes on opening poll context menu - thanks to monich
  • Fix: Don't display in-reply-to section if message wasn't found
  • Several translations updated - thanks to all contributors

0.5.1

  • Add verification badge to verified chats - thanks to monich
  • Improve preview of wide images - thanks to monich
  • Fix: Editing functionality (was broken with newlines and didn't update correctly)
  • Fix: Show single message in a chat if on receiving side
  • Allow any screen orientation for picker dialogs - thanks to monich
  • Fix: Long tap on image preview items - thanks to monich and jgibbon
  • Press effect for image preview items - thanks to monich
  • Fix: Chat Page flickable misplaced under some circumstances
  • Fix: Short text for 'myself' short messages of channels in chat list
  • Several translations updated - thanks to all contributors

0.5

  • Support secret chats
  • Support Telegram contacts & synchronization with local contacts DB on request
  • Initiate private & secret chats from contact
  • Support pinned messages
  • Always position chat at last read state, even if unread message count is >50
  • Support message forwarding - thanks to jgibbon
  • Support multiple message selection - thanks to jgibbon
  • Support @-mentioning in message input field - simply type '@' followed by the name to properly mention somebody
  • Support video notes
  • Better notification handling - thanks to monich
  • Better chat permission handling - thanks to jgibbon
  • Chat information attached to chat page - thanks to jgibbon
  • Display message sent/received indicator in chat list
  • Display pinned/in-reply-to message on tap as overlay
  • Support for TDLib storage optimizer - thanks to monich
  • Switch from elide truncation mode to fade out
  • Switch to generic file picker for documents
  • Localization improvements (e.g. plural handling) - thanks to jgibbon
  • Logging/debugging improvements - thanks to monich and jgibbon
  • Several performance improvements - thanks to monich and jgibbon
  • Make emojis a little bigger and change alignment to address display issues (only a workaround as it seems to be a QML bug, but we need to use what we have...)
  • Fix: Wrong space allocation for some web page previews
  • Fix: Display correct chat photo - thanks to monich
  • Fix: Message pending indicator though message was sent successfully
  • Fix: Mute chats that have never been muted before
  • Fix: Truncate username correctly if it's very long
  • Several translations updated - thanks to all contributors

0.4.1

  • Several translations updated - thanks to all contributors

0.4

  • Support for animated stickers - thanks to monich
  • Chat information page (members, picture(s), settings...) - thanks to jgibbon
  • Support for polls - thanks to jgibbon
  • Code & performance optimizations - thanks to monich and jgibbon
  • Improve chat scroll position on open - thanks to jgibbon
  • Start chats from @-mention or name
  • Integration in Sailfish OS open with menu
  • Join and leave chats
  • Fixes and improvements to notifications - thanks to monich
  • Differentiate between simple and normal messages in chats - thanks to jgibbon
  • Switch to SVG icons - thanks to jgibbon
  • Mark all messages as read - thanks to jgibbon
  • Copy message to clipboard - thanks to chstem
  • New sticker icon - thanks to jgibbon
  • Fixes to link and HTML entity handling
  • Switch message sent date display on tap (... ago <-> Monday, ...)
  • Many translations updated - thanks to all contributors
  • Swedish translation - thanks to eson57

0.3

  • Support for sending stickers
  • Search for emojis from message input field, use :<keyword> to start searching
  • New icon/logo - thanks to iamnomeutente
  • Option to customize non-graphical notification feedback - thanks to monich
  • Add user registration - thanks to jgibbon
  • Don't show irrelevant groups - thanks to monich
  • Display information about forwarded messages
  • Option to avoid displaying stickers like images - thanks to monich
  • Fix: Don't reset edit/in-reply-to mode after focus change
  • Fix: Display caption for documents
  • Fix: Reserve some space for lazy loaded elements
  • Fix: Don't display error message in case of repeated download of the same file
  • New translations (Finnish, Italian, Russian), thanks to jorm1s, iamnomeutente, arustg and monich
  • That was quite a lot - I hope I didn't forget anything. If I did, big sorry and please let me know!

0.2

  • Support sending images, videos and documents
  • Support receiving locations and venues - thanks to jgibbon
  • Performance improvements for chat list, new sorting algorithm and much more - thanks to monich
  • Performance improvements for chat, lazy loading for most UI elements
  • Cover page improvements - thanks to jgibbon
  • Fix handling of "<>" in messages
  • Differentiate text between other people and current user ("You have..." vs. "Somebody has...")
  • Support for the Jolla Tablet
  • New translations (Chinese, Hungarian, Polish, Spanish) - thanks to dashinfantry, edp17, atlochowski, GNUuser

0.1

  • Initial Release

Comments

WerkWolf's picture

Ich mag das Geduze von Apps und meinem Handy nicht so wirklich, ich toleriere es aber. Meine eigenen Apps dürfen aber gerne ein wenig Respekt vor mir haben - ich habe auch genug Respekt davor, die zu schreiben. ;)

inta's picture

Man kann viel mögen oder auch nicht, da das Betriebsystem du sagt, würde ich es vorziehen, wenn sich die Anwendungen daran orientieren und sich möglichst gut integrieren.

Cryx's picture

Nachdem es jetzt läuft der Ersteindruck: sehr schön. Wie wäre es bei Deutsch mit "Du" statt "Sie"? Und in einem Gruppenchat steht in der Chatliste "Sie hat ein Bild geschickt" für ein von mir geschicktes Foto. Das sollte natürlich "Sie haben..." (oder schöner halt "Du hast") heißen...
Neuen Chat starten oder Kontakte sehen geht noch nicht, vermute ich (zumindest finde ich das nicht)...? Aber was noch fehlt kommt sicher noch...

yusssufff's picture

hello and thank you for your hard work!

I wonder why, on XA2 (Rokua), after sending a message or when cheching some new chat, the app shows a 'random' area of the chat, slightly above the last message sent and not the last message sent istelf... i recall a similar behaviour with Telegra'me that leads, just after sending a message, the need to immediatly scroll down the chat to be able to see/read it...

WerkWolf's picture

Please see https://github.com/Wunderfitz/harbour-fernschreiber/issues/1 for some additional details about this issue. 0.2 will see some improvements there and if somebody want to contribute improvements themselves: PRs are welcome. :)

yusssufff's picture

true! my bad,i didt see that!

And one question also: will you publish soon the app on the jolla store? that would be fantastic...

WerkWolf's picture

Jolla Store is currently quite unlikely. The app uses some features that are not released for the Store...

slava's picture

Which features, by the way? I'm pretty good at getting around jolla store restrictions :)

WerkWolf's picture

At the moment, it's definitely ngfutils for non-visual feedback of notifications. In addition, the Harbour Validator is complaining about path strings in the TDLib binary. I suppose ngfutils can directly be compiled into the project itself to remove that dependency. No idea about the path strings in the binary though. Any idea is appreciated. :)

slava's picture

I'm curious, what's the point in not checking in tdlibsecrets.h? That just makes it slightly harder to build your app, and yet your TDLIB_API_ID and TDLIB_API_HASH values are easy enough to figure out by setting a breakpoint in td_json_client_send, so they are not really secret. I would say the more developers can build your app, the more meaningful contributions you can expect. Or is it some sort of legal requirement, to force people to make this extra step?

WerkWolf's picture

As far as I know it's not a requirement for Telegram, at least I haven't found anything in the docs. I simply don't check in any API keys for any of my apps. Of course, if you want to retrieve it, you can get it from the binary, but you can also easily get your own one as documented in the README.

slava's picture

I'm building your app, not mine - why would I need a different app id? Anyway, like I said it's not much of a problem to fetch those. A much bigger problem is that your git repo is not self-sufficient and the build requires certain manual manipulations, which is inconvenient, to say the least, when you try to build the app from scratch in an unattended build environment, such as OBS.

WerkWolf's picture

Because the ID and the corresponding hash value are tied to my personal account at Telegram. If anybody does strange things with this data, all instances of Fernschreiber might be blocked, or even worse: my account could be locked or even banned completely. It would be great if you didn't disclose ID and hash to anybody else. Yes, I know it's in the binary, and yes I know that everybody who is able to use a debugger or hex editor can possible obtain them, but it should at least not be as easy as reading public configuration files on a build server ot in a public code repository on GitHub. Compared to my efforts in writing the app, it's really not a big deal to get your own credentials and to set up your own build environment if you really need it especially as everything is documented. Thanks for your understanding.

slava's picture

Oh, Telegram requires you to distribute your credentials in plaintext? That's silly. I didn't expect that from a company involved in an encryption/privacy/security business. I'm starting to doubt that everything else in Telegram is as secure as they claim :|

Sure, I won't post your "credentials" to github or any other place where they can be indexed by search engines.

WerkWolf's picture

Maybe they should integrate your Foil functionality into TDLib - or I should do it to protect these "credentials". ;)

slava's picture

Hmm, why are these static libraries being installed?

[root@Sailfish ~]# ls -la `rpm -ql harbour-fernschreiber | grep 'a$'`
-rw-r--r--    1 root     root        198354 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdactor.a
-rw-r--r--    1 root     root        130292 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdclient.a
-rw-r--r--    1 root     root      36924996 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdcore.a
-rw-r--r--    1 root     root        463938 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtddb.a
-rw-r--r--    1 root     root       2049692 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdjson_private.a
-rw-r--r--    1 root     root          5596 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdjson_static.a
-rw-r--r--    1 root     root        886524 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdnet.a
-rw-r--r--    1 root     root       1044752 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdsqlite.a
-rw-r--r--    1 root     root       1277968 Sep 20 19:34 /usr/share/harbour-fernschreiber/lib/libtdutils.a
[root@Sailfish ~]#
WerkWolf's picture

They all belong to TDLib. I simply integrated the result of a standard TDLib build to the lib directory. If you have any tips if some of them can be omitted, I'm always open to feedback.

slava's picture

Another option would be to link tdlib statically and not bundle any libs at all. That's what I would try first, actually. The purpose of shared libraries is.... egh... to share them, right? If you're not sharing it, then there's no point in making it shared. Linking it statically gives the linker a much better chance to drop unused and duplicate code.

slava's picture

How about only including what's needed into the package? Like

%{_datadir}/%{name}/images
%{_datadir}/%{name}/lib/libtdjson.so*
%{_datadir}/%{name}/qml
%{_datadir}/%{name}/translations

and ignoring everything else

WerkWolf's picture

Let's give it a try - seems to work here, so it might work for everybody...

nephros's picture

The installed footprint is quite big. Is there a reason the libraries are so large? (32mb libtdcore for example)

WerkWolf's picture

I simply took the sources from https://github.com/tdlib/td and built it according to the instructions without Link Time Optimization (LTO) to be sure that the build runs through smoothly and there are less side-effects. As also mentioned in their documentation LTO can significantly reduce binary size and improve performance, so this is something I consider enabling for the future. Probably that will reduce the footprint.

explit's picture

Bitte i486 version, Sebastian!

WerkWolf's picture

Need to reactivate my tablet - hopefully soon(tm).

Cryx's picture

XA2 - kann mich nicht einloggen. Hört nach Passworteingabe nicht auf zu laden. Neustart landet immer wieder direkt beim TFA-Passwort. Dass passiert srlvst dann, wenn ich die App lösche und neu installiere!

WerkWolf's picture

Bitte mal über das Terminal starten (falls Dev-Tools installiert) -> /usr/bin/harbour-fernschreiber, und die Ausgabe dann als GitHub-Issue eintüten. Wie das im Detail geht: https://together.jolla.com/question/103763/how-to-start-an-app-from-term...

Vor dem nächsten Versuch bitte noch /home/nemo/.local/share/harbour-fernschreiber löschen.

Cryx's picture

Komischerweise hat der erneute Programmstart nun mit der Registrierung neu begonnen und es hat geklappt. Unterschied zum Versuch davor: Mobilfunknetz statt WLAN...

edp17's picture

Congrats for the app! Is there a way to contribute with some translation?

WerkWolf's picture

Yes, please fork the project, create a translation file for your language and create a pull request for that. Example for Spanish: https://github.com/Wunderfitz/harbour-fernschreiber/pull/22

giskard's picture

It's very promising and already looking polished

Pages