Skip to content

justingruenberg/feed2exec_discord_output

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

feed2exec_discord_output

Just a feed2exec plugin hacked together to send Reddit RSS to a discord, using the webhooks.

Install Steps

  • Create and activate venv

    python3 -m venv <venv name>
    source <venv name>/bin/activate
  • Install packages

    pip install -r requirements.txt
  • Install plugin Copy the plugin to somewhere on the venv python path. The python path can be found with:

    python3 -c "import sys; print(sys.path)"
  • Add and configure feed

    feed2exec add <feed name> <feed url>

    Modify the feed2exec config at ~/.config/feed2exec.ini and add keys under the <feed name> header:

    • output=discord_output
    • webhook=<webhook url from discord>
    • user=<display username> (optional, omiting this will use whatever is configured in the webhook).
    • timezone=<tz str> (optional) timezone string that pytz.timezone will accept.
  • Setup Crontab

    Create a crontab to execute the following command periodically:

    /path/to/venv/bin/python3 -m feed2exec fetch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages