Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

gabrielrussell/rbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RBot, a bot for reposting articles from an atom feed in to a reddit subreddit

To compile, I just:
  
  go build rbot.go

Edit the config.json file and add the values from feedurl, reddituser, redditsubreddit, and redditpassword. Then run:

  mongoimport --db <db-name> -c config --drop config.json

Then you can run the rbot with:

  rbot <mongo-server> <db-name>

Every config["frequency"] seconds it will grab all of the new articles from the atom feed, store them in the mongodb store, and post at most one unposted article.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages