Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umayr/stint
a super tiny worker that runs in background and fetches torrent information from RSS feeds
https://github.com/umayr/stint
cli golang rss-feed torrent
Last synced: 9 days ago
JSON representation
a super tiny worker that runs in background and fetches torrent information from RSS feeds
- Host: GitHub
- URL: https://github.com/umayr/stint
- Owner: umayr
- Created: 2017-10-11T13:32:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T13:40:49.000Z (about 7 years ago)
- Last Synced: 2024-11-07T03:48:22.380Z (about 2 months ago)
- Topics: cli, golang, rss-feed, torrent
- Language: Go
- Homepage:
- Size: 2.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `stint`
> a super tiny worker that runs in background and fetches torrent information from RSS feeds## Install
```
# if you have go setup in your system
λ go get -u github.com/umayr/stint/cmd/stint
# build it with source
λ git clone https://github.com/umayr/stint && cd $_ && make build
```## Usage
```
λ stint --help (stint) 18:39:18
NAME:
stint - a super tiny worker that runs in background and fetches torrent information from RSS feedsUSAGE:
stint [global options] command [command options] [arguments...]VERSION:
0.1.0COMMANDS:
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--log-level value, -l value set logging level, available options are debug, info, warn, error, and fatal
--config-file value, -f value path to configuration file
--help, -h show help
--version, -v print the version```
Create a configuration file `.stintrc` in your home directory like:
```yaml
# RSS Feed URL
url: 'https://eztv.ag/ezrss.xml'
# command that would be executed once there's match
cmd: echo
# arguments that would be provided to the command
args: '{{ .Title }}'
# add filters below, for example:
shows:
-
title: 'Rick and Morty' # title of the show, it should be as clear as possible to avoid conflicts
quality: high # it could be either normal, medium or high
```And that's it, execute `stint` however you like, manually or set up a cron to check the RSS periodically.