torrent_model 1.0.3 copy "torrent_model: ^1.0.3" to clipboard
torrent_model: ^1.0.3 copied to clipboard

A Dart library for parsing .torrent file to Torrent model/saving Torrent model to .torrent file.

A Dart library for parsing .torrent file to Torrent model/saving Torrent model to .torrent file.

Support #

Usage #

A simple usage example:

Parse .torrent file #

import 'package:torrent_model/torrent_model.dart';

main() {
  ....

  var model = Torrent.parse('some.torrent');

  ....
}

Use Torrent class' static method parse to get a torrent model. The important informations of .torrent file can be found in the torrent model , such as announces list , infoHash ,etc..

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
30
pub points
32%
popularity

Publisher

unverified uploader

A Dart library for parsing .torrent file to Torrent model/saving Torrent model to .torrent file.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

bencode_dart, crypto

More

Packages that depend on torrent_model