Skip to content

eclipseglory/torrent_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Dart library for parsing torrent file to generate a torrent file model or saving torrent file model to a file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages