Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telepilotco/tdlib-binaries-prebuilt

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telepilotco/tdlib-binaries-prebuilt

Prebuilt TDLib libraries, distributed with node-pre-gyp

  • 1.8.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build TDLib binaries

tdlib-binaries-prebuilt

Intention of this plugin is to produce binary builds of tdlib/td in a way so that they can be used in node-pre-gyp npm package. This can be handy when using tdlib/td in node.js environments, where compilation is not desired or not possible due to unavailability of tools that are required.

TD can be compiled from source using specific targets from our Makefile.

Prebuilt binaries are available for following architectures:

  • linux-x64-glibc
  • linux-x64-musl (x86-64/x86_64 -> x64)
  • linux-arm64-glibc (aarch64 -> arm64)
  • linux-arm64-musl (aarch64 -> arm64)
  • macos-arm64 - local build
  • macos-x64 - local build (x86_64 -> x64)

Github Action Builds

Build process is automated with Github Actions for following environments:

  • linux-x64-glibc
  • linux-x64-musl
  • linux-arm64-glibc (cross-build)
  • linux-arm64-musl (cross-build)

MacOs / Windows builds are currently not configured, but adding them would be also possible so please submit Issue request if you are willing to have those added, or send a PR.

MacOs binary can be built locally using build-lib-native Makefile task.

Building o local machine

If you would like to perform fully local build, few targets are defined in Makefile that enable Dockerized as well as native tdlib builds.

To start dockerized build, use one of the following make targets:

build-lib-docker-linux-arm64-glibc
build-lib-docker-linux-arm64-musl
build-lib-docker-linux-x64-glibc
build-lib-docker-linux-x64-musl

If you want to perform native build, use make build-lib-native. In this case you need to make sure you have required tooling installed on your system. make init should be able to help you with that.

If something still does not work, please refer to prebuilt-tdlib-docker.sh script which is used in dockerized build.

Keywords

FAQs

Package last updated on 01 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc