GithubHelp home page GithubHelp logo

aymenjd / telegram-flutter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ivk1800/telegram-flutter

0.0 0.0 0.0 3.46 MB

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

License: GNU General Public License v3.0

Shell 0.16% Ruby 0.18% C++ 1.40% C 0.09% Objective-C 0.01% Java 0.01% Dart 96.70% Swift 0.11% HTML 0.10% CMake 1.17% Batchfile 0.07%

telegram-flutter's Introduction

(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.7.6

TdLib version: 1.8.4 d489014

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

telegram-flutter's People

Contributors

ivk1800 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.