Skip to content

danylokos/SwiftyTorrent

Repository files navigation

SwiftyTorrent

Basic torrent client for iOS based on libtorrent, built using SwiftUI and Combine.

List of public domain torrents can be found here (by WebTorrent)

1

Requirements

  • Xcode 13.0
  • iOS 15.0

Build

# Install Carthage dependencies
$ ./carthage.sh bootstrap --platform ios,tvos --use-xcframeworks

# Install libtorrent
$ ./bootstrap.sh

$ open SwiftyTorrent.xcodeproj

Downloads can be found at:

Files.app -> Locations -> On My iPhone -> SwiftyTorrent -> Downloads

Features

  • opens *.torrent files and magnet links
  • integrates with Files app
  • restores session between launches

TODO

  • file details screen
  • per file prioritization
  • pieces prioritization logic for video streaming
  • option to remove downloaded files when removing torrent
  • proper event/error handling
  • quick look
  • integrate VLC player for video playback
  • session status header
  • app icon

@danylo_kos