slingamn / titlebot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

titlebot

titlebot is a simple IRC bot that:

  1. Automatically extracts and sends the titles of webpages posted in your channel
  2. Automatically downloads and reads tweets linked in your channel
  3. Demonstrates some of the IRCv3 support provided by ergochat/irc-go

It is configured using environment variables:

# required:
export TITLEBOT_NICK=titlebot
export TITLEBOT_SERVER="testnet.oragono.io:6697"
export TITLEBOT_CHANNELS="#chat"

# optional:
# this is the account of the bot's owner, to be checked against account-tag:
export TITLEBOT_OWNER_ACCOUNT="shivaram"
# SASL credentials:
#export TITLEBOT_SASL_LOGIN=titlebot
#export TITLEBOT_SASL_PASSWORD=lLRpGzfro1sIFwZZ4kNdpA
# Twitter API bearer token, v2-capable:
export TITLEBOT_TWITTER_BEARER_TOKEN=AAAAAAAAAAAAAAAAAAAAA1AqIi4cLk9SEH6YadRSwwhul6X_a_C6i63ZM3mKFVwoJXxJji1KN0VXCN_rajcX8k4rX4Q-GIbVJ1NVfCA7208
# quit message:
export TITLEBOT_VERSION="titlebot-v0.0.1-alpha-dont-deploy"

About

License:MIT License


Languages

Language:Go 99.2%Language:Makefile 0.8%