Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

tsak/rantimator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rantimator

Let's howl at the moon!

Message @RantimatorBot on Telegram.

Example conversation

Find your howl on rants.tsak.net

Config

Copy .env.sample to .env and set the following environment variables:

TOKEN=<TELEGRAM BOT TOKEN>
ADDRESS=<LISTEN ADDRESS WITH PORT>
DEBUG=1 # Enables debug mode if DEBUG is set to a non-empty value

Build

go build

Run

./rantimator

Run as a systemd service

See rantimator.service systemd service definition.

To install (tested on Ubuntu 16.04):

  1. adduser rantimator
  2. copy rantimator binary as well as .env file to /home/rantimator
  3. place systemd service script in /lib/systemd/system/
  4. sudo systemctl enable rantimator.service
  5. sudo systemctl start rantimator
  6. sudo journalctl -f -u rantimator

The last command will show if the service was started.

About

Let's howl at the moon together

Topics

Resources

Stars

Watchers

Forks

Languages