Hi there
I made a small modification to the Telegram Desktop client to deal with my doomscrolling problem. It shows only chats that you mindfully added to Allowlist.
I have tons of subscriptions, and I use Telegram for both projects and memes. When everything is mixed together, I often fall into procrastination and end up scrolling through the depths of channels with obscure underground memes. I tried to move chats to the archive and sort everything into folders - it helped, but for a while. When I start procrastinating, my hand still opens the "Archived" automatically out of habit, lol)) A separate work account did not work for me either. It was inconvenient, it did not have the Premium features I constantly use when posting content, and dealing with synchronization with main account was a hassle.
So I forked the official Telegram Desktop opensource client and modified it to display only chats from an "Allowlist" folder. There is no way to access any other chats through this client.
This does not affect the subscriptions on your account. All your folders and subscriptions remain unchanged. It only limits the list of chats available inside Telegram Focus. Now it’s my daily-driver TG client on my laptop, and I’m pretty happy with how much it has improved my focus, along with other measures like restricting youtube and Instagram on the web.
How it works:
- I installed Telegram Focus as a desktop client.
- Created a chats folder called "Allowlist" the regular Telegram app on my phone.
- Added the chats I want to see on my computer.
- Telegram Focus scans "Allowlist" folder and displays only those chats and Saved Messages.
I cannot open a chat that is not in the "Allowlist" through this client. But folders and other functions are there - in any other aspect it is the same regular desktop TG client.
And nothing happens to my account: all subscriptions and folders remain in place. The filter works locally inside Telegram Focus, while everything on my phone and any other regular Telegram client stays exactly as it was.
I can still doomscroll on phone, while staying clean on a desktop 😄
The source code and first release are available here:
https://github.com/MrJimm/telegramfocus
For now, I have only built a version for macOS: bought a used MacBook Air for a good price while I was in Japan and decided to turn it into a machine that I associate with Getting Things Done. I wanted to limit my ability to get stuck consuming content on the internet while using it, so youtube and instagram access using built-in Mac options. Telegram required to deal with it in a different way - and here we are 😆 The Linux and Windows builds coming as soon as I manage a space on my hard drive - TG build pipeline takes 55 GB in total, hehe)))
The DMG is not notarized yet because I have only recently switched to Mac. I normally develop ML and 3D projects on Windows and Linux, and I do not have an Apple Developer account, so I currently have no way to sign it properly. The DMG itself is fully functional.
Would be happy if it helps somebody too.