Skip to main content

libtorrent_dart 0.4.1 copy "libtorrent_dart: ^0.4.1" to clipboard
libtorrent_dart: ^0.4.1 copied to clipboard

Cross-platform Dart FFI wrapper over libtorrent (libtorrent-rasterbar). Provides full ABI-compatible bindings for sessions, magnet downloads, progress polling, pause/resume/cancel, and settings.

libtorrent_dart #

Dart bindings for libtorrent-rasterbar.

This package exposes two entry points:

  • High-level wrapper API: package:libtorrent_dart/libtorrent_dart.dart
  • Low-level FFI API: package:libtorrent_dart/libtorrent_dart_ffi.dart

Installation #

Add this to your pubspec.yaml:

dependencies:
  libtorrent_dart: ^0.4.1

Then run:

dart pub get

The build hook downloads the required native binary for the current package version, platform, and architecture. Native assets are bundled into the consuming application by Dart's build system.

Usage #

Check out the example for a quick start.

Libtorrent API parity #

Libtorrent API parity is tracked in:

Platforms #

  • Linux: ARM64 and x64.
  • macOS: Apple silicon and Intel.
  • Windows: ARM64 and x64.
  • Android: ARM64 and x64.
  • iOS: ARM64.
  • HTTPS torrents are currently not supported on iOS.

Build #

Build instructions for all supported platforms (macOS, Linux, Windows, Android, iOS) are in:

0
likes
0
points
756
downloads

Publisher

verified publisherphidel.dev

Weekly Downloads

Cross-platform Dart FFI wrapper over libtorrent (libtorrent-rasterbar). Provides full ABI-compatible bindings for sessions, magnet downloads, progress polling, pause/resume/cancel, and settings.

Repository (GitHub)
View/report issues

Topics

#bittorrent #ffi #native-assets #torrent

License

unknown (license)

Dependencies

code_assets, ffi, hooks, yaml

More

Packages that depend on libtorrent_dart