Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PornServ posts porn from Reddit (and maybe other sites one day!) to IRC.

License

Notifications You must be signed in to change notification settings

MAGICCC/PornServ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

69 Commits

Repository files navigation

PornServ

PornServ posts porn from Reddit (and maybe other sites one day!) to IRC. No need to explain why this is great.

Installation

Before you can use PornServ, you must first register an application on Reddit and then you need the four pieces of information to add into your praw.ini file:

client_id: The client ID is at least a 14-character string listed just under "personal use script" for the desired developed application
client_secret: The client secret is at least a 27-character string listed adjacent to secret for the application.
password: The password for the Reddit account used to register the application.
username: The username of the Reddit account used to register the application.

Then you have to edit the config.json file to reflect the IRC options. This is pretty self-explanatory:

{
 "server": "irc.example.net",
 "port": 6697,
 "ssl": "True",
 "ssl_verify": "CERT_NONE",
 "channels": ["#channel1", "#channel2", "#channel3"],
 "nick": "mybot",
 "username": "mybot",
 "realname": "my bot",
 "sasl_username": "username",
 "sasl_password": "password",
 "subreddits": ["pics", "gifs", "nsfw"]
}

Finally start the bot - an example docker-compose.yml file below:

version: "3"
services:
 ircporn:
 image: magic848/pornserv:latest
 volumes:
 - .:/data
 working_dir: /data
 command: python ircporn.py
 --config /data/config.json
 restart: always

About

PornServ posts porn from Reddit (and maybe other sites one day!) to IRC.

Resources

License

Stars

Watchers

Forks

Packages

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /