The purpose of this project is to provide a lighwith compiled daemon scanning torrent feeds or likewise for new torrents and adding them
Obviously you need go installed on your system. To build the binary run
go get github.com/HoffmannP/magnetHoover
If no errors occur you should find the executable as $GOPATH/bin/magnetHoover
Unfortunately there are no comments in json-files here are the comments for config.json
(you find an example in config.json.example
)
- Intervall(String): Waiting time between to polls, valid time units (required) are h(hours), m(inutes), s(econds) (TODO: larger untits like w(eek) and d(ay))
- Database(FilenameString): Sqlite3 database storing already added torrents (will be created if not existent)
- Transmission:
- Host(String): IP or Hostname where your Transmission daemon is running
- Port(Integer): Portnumber of your Transmission daemon is running
- SSL(Bool): Whether SSL (https) should be used as transport communication with your Transmission daemon
- URIs(Array of Strings): A number of URLs or Identifiers possibliy prefixed with and seperated using the paragraph sign (
§
) by the name of a parser plugin
Parser plugins have to satisfy the ParserRawFunc
and UrlFunc
type of the parser
package and need to be registered using the parser.register
function
- Larger time units
- Test HTTPS Support
- Transmission Authentication
- Write Tests
- Think about organizing the source code
- Implement external parser plugins
- Stabelize HTML Parsing
- …?