ivk1800 / telegram-flutter

(WIP) Telegram client written in Dart and uses Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(WIP) Telegram client written in Dart and uses Flutter.


Work in progress! Some code needs refactoring as it was written in haste. Somewhere left TODO and somewhere as it is. Some screens have partial functionality, because in order not to block the work, what is there is enough. For example, the authorization screen does not support password authorization. The architecture in the application is multi-modular, there are a lot of modules, this architecture has features and disadvantages. We won’t know about the disadvantages until we try it in practice!

Preferred flutter version: stable, 3.16.3

TdLib version: 1.8.11 1543c41

Supported platform

Platform Status
Android
iOS
MacOS
Windows
Linux
Web TBD

Getting started

  1. Download prebuild TbLib for your platform from page
  2. Place binaries to tdlib to the repo folder:

For Android:

└── tdlib 
    └── android 
        └── arm64-v8a
        │   └── libtdjsonandroid.so
        └── armeabi-v7a
        │   └── libtdjsonandroid.so
        └── x86
        │   └── libtdjsonandroid.so
        └── x86_64
            └── libtdjsonandroid.so

For iOS:

└── tdlib 
    └── ios 
        └── libtdjson.dylib

For MacOS:

└── tdlib 
    └── macos 
        └── libtdjson.dylib

For Windows:

└── tdlib 
    └── windows 
        └── libcrypto-1_1.dll
        └── libssl-1_1.dll
        └── tdjson.dll
        └── zlib1.dll
  1. Obtain api_id and api_hash at https://my.telegram.org
  2. Create file config.txt with content in assets:
└── app 
    └── assets 
        └── tdlib
            └── config.txt

Content:

apiId:<api_id>
apiHash:<api_hash>
useTestDc:<true/false>
  1. cd <repo folder>
  2. cd tools/tools-project/ && dart pub get && cd ../..
  3. ./tools/packages_get.sh
  4. ./tools/gen.sh
  5. cd launch/ && flutter run

About

(WIP) Telegram client written in Dart and uses Flutter.

License:GNU General Public License v3.0


Languages

Language:Dart 96.7%Language:C++ 1.4%Language:CMake 1.2%Language:Shell 0.2%Language:Ruby 0.2%Language:Swift 0.1%Language:HTML 0.1%Language:C 0.1%Language:Batchfile 0.1%Language:Java 0.0%Language:Objective-C 0.0%