Skip to content

futurejohn/HandyGram

 
 

Repository files navigation

HandyGram poster

A light Wear OS Telegram client written entirely in Dart (still using the TDLib :p)

Feature map

  • Authorization
    • By QR
    • 2FA (cloud password)
    • By phone number (won't be done due to Telegram restrictions for third-party clients)
  • Chat list
    • Main folder
    • Pinned chats
    • Archive
    • Folders
  • Message rendering
    • Text (text formatting isn't supported yet)
    • Photo (with photo viewer! :p)
    • Video (thumbnail + video player)
    • Stickers
    • GIFs
    • Voice notes
    • Video notes (working on it)
  • Message sending
    • Text (text formatting isn't supported)
    • Stickers
    • GIFs
    • Voice notes
    • Photos
  • Calls
    • Call menu
    • Call base logic
  • Menus
    • Home
    • Chat
    • Video player
    • Photo viewer
    • User info
    • Chat info
    • Voice, text, sticker, GIF message send pages
    • Settings
  • Misc
    • Data saving between app restarts
    • In-app clock!!1!1!
    • Notifications

Compatibility

  • Samsung Galaxy Watch 4/5 (Wear OS 3)
  • Oppo Watch (Wear OS 2)
    • Runs very good, but sometimes can stutter
  • TicWatch Pro 3 Ultra (Wear OS 2)
    • Some instabilities in visualization of videos
  • Pixel Watch
    • Occasional stuttering
    • Some instabilities in visualization of videos (crashes, stuttering)
    • Scrolling with crown is buggy

Feel free to test on other devices and post an issue if something wrong happens :p

Download

You can download the latest built version from releases page

Building

  • Install Git
  • Install Android Studio
    • Install Android SDK
  • Install Flutter SDK
  • Download HandyGram
    git clone https://github.com/HandyGram/HandyGram.git
  • Go into HandyGram directory
    cd HandyGram
  • Copy/paste and rename lib/src/telegram/api_config.dart.sample to api_config.dart (this is ignored in .gitignore so it's ok to make commits with personal keys)
    cp lib/src/telegram/api_config.dart.sample lib/src/telegram/api_config.dart
  • To obtain API keys, go to My Telegram and log in
  • In My Telegram, copy value of App api_id and paste for value of apiId in api_config.dart
  • In My Telegram, copy value of App api_hash and paste for value of apiHash in api_config.dart
  • Build HandyGram as apk
    flutter build apk
  • You can see build apk in build/app/outputs/flutter-apk/app-release.apk!

Installation

  • Install ADB
  • Enable Wi-Fi debugging on your watch
  • Connect to watch
    adb connect WATCH_IP:5555
  • Install apk
    adb install build/app/outputs/flutter-apk/app-release.apk

Contribution

Feel free to leave pull requests and comments on commits. This is my second big Flutter project, so I may use wrong architecture, wrong tools and etc. This is the biggest help for me.

Credits

About

HandyGram source code :p

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 99.8%
  • Kotlin 0.2%