Skip to content

Adobe Air Native Extension for building bittorrent enabled applications

License

Notifications You must be signed in to change notification settings

tuarua/BitTorrentANE

Repository files navigation

BitTorrentANE

Adobe Air Native Extension written in ActionScript 3 and C++ for working with .torrent files and magnet uris. Sample client included

alt tag

Features

  • Supports Magnet uris
  • Supports .torrent files
  • Supports "fast resume"
  • Supports DHT, PeX and LSD
  • Supports I2P
  • Sequential downloading
  • Supports PeerGuardian .p2p filter lists
  • Filetype prioritization
  • Supports torrent queue ordering
  • Allow port forwarding UPnP
  • Ability to create .torrent files

Tech

BitTorrentANE uses the following libraries:
C++

Android

Prerequisites

You will need

  • Flash Builder 4.7 / Intelli J
  • AIR 25 SDK
  • Homebrew if you wish to modify the ANE code on OSX
  • XCode if you wish to modify the ANE code on OSX
  • MS Visual Studio 2015 if you wish to modify the ANE code on Windows
  • Android Studio if you wish to modify the ANE code for Android

OSX Preconfiguration to modify the ANE code:

  • Install Homebrew
  • from the Terminal run:
    brew update
    brew install boost
    brew install openssl
    brew install libtorrent-rasterbar --with-geoip

Win Preconfiguration to modify the ANE code:

  • Install Visual Studio 2015
  • Install YASM for Visual Studio [http://yasm.tortall.net/Download.html]
  • Install 7Zip [http://7-zip.org]
  • Run native_library/win/dependencies/RUNME.bat from cmd as Administrator. This will download and build the remaining dependencies needed (boost, geoip, libtorrent, openssl)

Android Preconfiguration to modify the ANE code:

to follow...

Known Issues

  • The Visual Studio project only builds in Release mode. The Debug build throws errors.

Todos

  • improve error reporting