Jan-Lukas Else

Thoughts of an IT expert

How I Built An App For Telegra.ph

Published on in 👨‍💻 Dev
Updated on
Short link: https://b.jlel.se/s/ed
⚠️ This entry is already over one year old. It may no longer be up to date. Opinions may have changed. When I wrote this post, I was only 17 years old!
AI generated summary: The author built an app called Teleposter for Telegra.ph, a platform similar to Medium, to improve text formatting and make it more user-friendly, and although the app is no longer maintained or available on Google Play, the author created their own viewer and editor using HTML and JavaScript.

Update: I haven’t updated the app in years and don’t plan to do so. The app is unmaintained and not available on Google Play anymore.

Telegra.ph is Telegram’s new Medium alternative made for easy and also anonymous publishing. It’s quite similar to Medium, except the need to log in. Of course you CAN log in, but it isn’t necessary.

I build an app for this new platform, because visiting Telegra.ph in the mobile browser on my phone worked, but text formatting didn’t.

A month ago I started this project and it was just a simple wrapper, which uses the build in WebView on Android, so formatting still didn’t work. The only use was, that I didn’t need to type t-e-l-e-g-r-a-.-p-h in the browser anymore. I wasn’t able to code something better, because the API wasn’t open yet.

But now it is.

Telegram’s blog about Telegra.ph

Telegra.ph API documentation

So when I heard about this last Friday, I immediately stopped my work on another (more or less failed) project and resumed my work on my app Teleposter. Catchy name right?

Now after spending one and a half day learning the API specs and making everything to work (I had to debug around 500 times), it finally has more use and feels more native, although the most things still run in a WebView.

But in this new version, the app isn’t just showing the Telegra.ph page itself in a WebView. No, I build an own Viewer and Editor with my great HTML and JavaScript skills. And formatting FINALLY WORKS! The app is coded completely in Kotlin.

Download Teleposter on Google Play


When I started developing things, I didn’t want to share my code with others. I thought it is too much work, to set up a Git and create an repository on GitHub. But since I changed my mind, I publish almost every project on GitHub. Same goes with Teleposter:

Teleposter on Github

Tags: , ,

Jan-Lukas Else
Interactions & Comments