├── .gitignore ├── 1.2.0 ├── linux64 │ ├── libtdjson.so │ └── tg_cli ├── linux64alpine │ ├── libtdjson.so │ └── tg_cli ├── macos │ ├── libtdjson.dylib │ └── tg_cli └── win64 │ ├── LIBEAY32.dll │ ├── SSLEAY32.dll │ ├── tdjson.dll │ └── zlib1.dll ├── 1.3.0 └── emscripten │ └── td_wasm.zip ├── README.md └── misc └── docker ├── alpine-static └── Dockerfile ├── alpine └── Dockerfile ├── debian └── Dockerfile ├── debian7 └── Dockerfile └── emscripten └── Dockerfile /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build/ 3 | *.bak 4 | -------------------------------------------------------------------------------- /1.2.0/linux64/libtdjson.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/linux64/libtdjson.so -------------------------------------------------------------------------------- /1.2.0/linux64/tg_cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/linux64/tg_cli -------------------------------------------------------------------------------- /1.2.0/linux64alpine/libtdjson.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/linux64alpine/libtdjson.so -------------------------------------------------------------------------------- /1.2.0/linux64alpine/tg_cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/linux64alpine/tg_cli -------------------------------------------------------------------------------- /1.2.0/macos/libtdjson.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/macos/libtdjson.dylib -------------------------------------------------------------------------------- /1.2.0/macos/tg_cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/macos/tg_cli -------------------------------------------------------------------------------- /1.2.0/win64/LIBEAY32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/win64/LIBEAY32.dll -------------------------------------------------------------------------------- /1.2.0/win64/SSLEAY32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/win64/SSLEAY32.dll -------------------------------------------------------------------------------- /1.2.0/win64/tdjson.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/win64/tdjson.dll -------------------------------------------------------------------------------- /1.2.0/win64/zlib1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.2.0/win64/zlib1.dll -------------------------------------------------------------------------------- /1.3.0/emscripten/td_wasm.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eilvelia/tdlib-binaries/528d6066610f429b327308b0eb7588e5b8206f3d/1.3.0/emscripten/td_wasm.zip -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TDLib Binaries 2 | 3 | [![GitHub repo size in bytes](https://img.shields.io/github/repo-size/Bannerets/tdlib-binaries.svg)](https://github.com/Bannerets/tdlib-binaries) 4 | 5 | TDLib repository: https://github.com/tdlib/td 6 | 7 | ## See also 8 | 9 | - https://github.com/ForNeVeR/tdlib.native 10 | 11 | ## TDLib 1.3.0 Release 12 | 13 | ### Emscripten 14 | 15 | - [td_wasm.zip](1.3.0/emscripten/td_wasm.zip) 16 | - - [Dropbox](https://www.dropbox.com/s/orcblhkjodace9f/td_wasm.zip?dl=0) 17 | 18 | Compiled using dockerfile in this repository. 19 | 20 | - OpenSSL 1.1.0f 21 | 22 | ## TDLib 1.2.0 Release 23 | 24 | ### macOS 25 | 26 | - [libtdjson.dylib](1.2.0/macos/libtdjson.dylib) 27 | - - [Dropbox](https://www.dropbox.com/s/u2gw0wz0d69ql6m/libtdjson.dylib?dl=0) 28 | 29 | Compiled on macOS Sierra 10.12.6 30 | 31 | - OpenSSL 1.0.2n 7 Dec 2017 32 | - zlib 1.2.8 33 | 34 | ### Linux (x86_64) 35 | 36 | - [libtdjson.so](1.2.0/linux64/libtdjson.so) 37 | - - [Dropbox](https://www.dropbox.com/s/abyepz5ak48uecw/libtdjson.so?dl=0) 38 | 39 | Compiled on Debian 9 x86_64 40 | 41 | - OpenSSL 1.1.0f 25 May 2017 42 | - zlib 1.2.8 43 | 44 | ### Alpine Linux (musl) (x86_64) 45 | 46 | - [libtdjson.so](1.2.0/linux64alpine/libtdjson.so) 47 | - - [Dropbox](https://www.dropbox.com/s/yow6fqk6p0hpkdv/libtdjson.so?dl=0) 48 | 49 | Compiled on Alpine Linux 3.7 x86_64 50 | 51 | - LibreSSL 2.6.3 52 | - zlib 1.2.11 53 | 54 | ### Windows (x86_64) 55 | 56 | - [tdjson.dll](1.2.0/win64/tdjson.dll) 57 | - - [Dropbox](https://www.dropbox.com/s/7mlgy6cnpqj0e6b/tdjson.dll?dl=0) 58 | - [zlib1.dll](1.2.0/win64/zlib1.dll) 59 | - - [Dropbox](https://www.dropbox.com/s/uta5iv8ujeuo7n5/zlib1.dll?dl=0) 60 | 61 | **Note**: `TD_ENABLE_DOTNET` is **disabled**. 62 | 63 | - OpenSSL 1.0.2o 64 | - zlib 1.2.11 65 | 66 | ## Checksums 67 | 68 | | File | SHA256 | 69 | |------|--------| 70 | | [1.3.0/emscripten/td_wasm.zip](1.3.0/emscripten/td_wasm.zip) | `535167198f4a3fb6a56020436cabc7dde806adeba3e4d88ac60e699cd36fa593` | 71 | | [1.2.0/macos/libtdjson.dylib](1.2.0/macos/libtdjson.dylib) | `4b396b518eb32af815c7cc1adc9227e0bd8856f0bc1be2294e54bf8166d25b1c` | 72 | | [1.2.0/linux64/libtdjson.so](1.2.0/linux64/libtdjson.so) | `7eea887da564e154040a6386addaf3017f9948dff2541d12b098fdf10af28b9d` | 73 | | [1.2.0/linux64alpine/libtdjson.so](1.2.0/linux64alpine/libtdjson.so) | `f827707556170fc1a945b85e9c8c42140fc77d5361ced14a56ea758a929caf62` | 74 | | [1.2.0/win64/tdjson.dll](1.2.0/win64/tdjson.dll) | `6baeaf345b3f5bc6008d602496ca0b2c259485f138447758e139b727338a9057` | 75 | -------------------------------------------------------------------------------- /misc/docker/alpine-static/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | 3 | RUN apk update 4 | RUN apk add -U \ 5 | openssl-dev openssl-libs-static zlib-dev zlib-static readline-dev readline-static \ 6 | linux-headers musl gperf ccache cmake make git g++ 7 | 8 | WORKDIR / 9 | RUN git clone https://github.com/tdlib/td.git /td 10 | 11 | WORKDIR /td 12 | RUN mkdir build 13 | 14 | WORKDIR /td/build 15 | 16 | RUN cmake \ 17 | -DCMAKE_BUILD_TYPE=Release \ 18 | -DOPENSSL_USE_STATIC_LIBS=1 \ 19 | -DZLIB_LIBRARY=/lib/libz.a \ 20 | .. 21 | 22 | RUN cmake --build . 23 | -------------------------------------------------------------------------------- /misc/docker/alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.7 2 | 3 | RUN apk update 4 | RUN apk add -U alpine-sdk g++ ccache openssl openssl-dev cmake gperf make git readline-dev ninja 5 | 6 | RUN openssl version 7 | RUN uname -a 8 | 9 | WORKDIR / 10 | RUN git clone https://github.com/tdlib/td.git /td 11 | 12 | WORKDIR /td 13 | RUN mkdir build 14 | WORKDIR build 15 | RUN cmake -DCMAKE_BUILD_TYPE=Release .. 16 | #RUN cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. 17 | #RUN cmake --build 18 | RUN make -j 2 19 | -------------------------------------------------------------------------------- /misc/docker/debian/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:9 2 | 3 | RUN apt -y update 4 | RUN apt install -y g++ ccache openssl cmake gperf make git libssl-dev libreadline-dev zlib1g zlib1g-dev 5 | 6 | RUN openssl version 7 | RUN uname -a 8 | 9 | WORKDIR / 10 | RUN git clone https://github.com/tdlib/td.git /td 11 | 12 | WORKDIR /td 13 | RUN mkdir build 14 | WORKDIR build 15 | RUN cmake -DCMAKE_BUILD_TYPE=Release .. 16 | #RUN cmake --build . 17 | RUN make -j 2 18 | -------------------------------------------------------------------------------- /misc/docker/debian7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:7 2 | 3 | RUN apt -y update 4 | RUN apt install -y g++ ccache openssl cmake gperf make git libssl-dev libreadline-dev zlib1g zlib1g-dev 5 | 6 | RUN openssl version 7 | RUN uname -a 8 | 9 | WORKDIR / 10 | RUN git clone https://github.com/tdlib/td.git /td 11 | 12 | WORKDIR /td 13 | RUN mkdir build 14 | WORKDIR build 15 | RUN cmake -DCMAKE_BUILD_TYPE=Release .. 16 | #RUN cmake --build . 17 | RUN make -j 2 18 | -------------------------------------------------------------------------------- /misc/docker/emscripten/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM apiaryio/emcc:1.38.11 2 | 3 | RUN apt-get -y update 4 | RUN apt-get install -y g++ ccache openssl cmake gperf make git libssl-dev libreadline-dev zlib1g zlib1g-dev wget 5 | 6 | WORKDIR / 7 | 8 | # Patched tdlib; commit 2f7b563 9 | RUN git clone https://github.com/feelfreelinux/td.git 10 | 11 | SHELL ["/bin/bash", "-c"] 12 | 13 | WORKDIR /td 14 | RUN mkdir build 15 | WORKDIR build 16 | RUN cmake -DCMAKE_BUILD_TYPE=Release .. 17 | RUN make -j 2 18 | # RUN cmake --build . --target prepare_cross_compiling 19 | RUN rm -rf * 20 | 21 | WORKDIR / 22 | 23 | # ENV OPENSSL openssl-1.0.2a 24 | # ENV OPENSSL openssl-1.0.2p 25 | # ENV OPENSSL openssl-1.1.0i 26 | ENV OPENSSL openssl-1.1.0f 27 | ENV EXT tar.gz 28 | RUN wget https://www.openssl.org/source/${OPENSSL}.${EXT} && tar -xvzf ${OPENSSL}.${EXT} 29 | 30 | WORKDIR ${OPENSSL} 31 | RUN echo "Compiling OpenSSL..." \ 32 | && emconfigure ./Configure no-asm no-ssl3 no-comp no-hw no-engine no-shared no-dso --openssldir=built linux-generic32 \ 33 | && sed -i 's/CROSS_COMPILE= \/emscripten\/em/CROSS_COMPILE= /g' Makefile \ 34 | && sed -i "s/-D_REENTRANT -O3 -Wall/-D_REENTRANT -Wall/g" Makefile \ 35 | && sed -i 's/-Wall -O3 -pthread/-Wall -pthread/g' Makefile \ 36 | && emmake make -j 4 37 | 38 | WORKDIR /td/build 39 | 40 | ENV OPENSSL_ROOT_DIR /${OPENSSL} 41 | ENV OPENSSL_INCLUDE_DIR ${OPENSSL_ROOT_DIR}/include 42 | ENV OPENSSL_CRYPTO_LIBRARY ${OPENSSL_ROOT_DIR}/libcrypto.a 43 | ENV OPENSSL_SSL_LIBRARY ${OPENSSL_ROOT_DIR}/libssl.a 44 | 45 | RUN emmake bash \ 46 | && emcmake cmake -DCMAKE_BUILD_TYPE=Release \ 47 | -DOPENSSL_INCLUDE_DIR=${OPENSSL_INCLUDE_DIR} \ 48 | -DOPENSSL_CRYPTO_LIBRARY=${OPENSSL_CRYPTO_LIBRARY} \ 49 | -DOPENSSL_SSL_LIBRARY=${OPENSSL_SSL_LIBRARY} \ 50 | .. \ 51 | && emmake make -j 2 52 | --------------------------------------------------------------------------------