Skip to content

zeisss/godirlist2rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godirlist2rss

Generates an RSS or ATOM feed with links to files. In case you ever want to be updated on new files in a folder that is also accessable by HTTP.

Usage

My usage currently looks like this:

#!/bin/bash
godirlist2rss \
  --input-dir=/data/videos \
  --output-format=atom --output-file=listing.atom \
  --feed-title="$HOSTNAME Videos" --feed-author-name=Youtube-DL \
  --feed-public-url=https://$HOSTNAME/videos/feed.atom \
  --feed-filesbaseurl=https://$HOSTNAME/videos/

This is executed by a crontab entry regularly. This way the feel contains an entry for every file. If new files appear, new entries are generated. My RSS reader notifies me then. Each entry will link to the file (based on --feed-filesbaseurl).

Building

# for your own platform
go build -o godirliss2rss ./cmd

# or cross compile
GOOS=linux go build -o godirlist2rss ./cmd

About

Puts a list of your files into an rss file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages