gogitterirc

command module
v0.0.0-...-7d0839d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gogitterirc

This is a simple Gitter/IRC/Telegram syncronization bot witten in Go for a low memory footprint.

NOTICE: It is currently in development, but actively used and maintained!

Why?

The gitter-irc-bot project works great, but the overhead of Node.js is an annoyance so I decided to write a clone in Go (which compiles to native code). Also the Gitter stream API is very unstable so this bot uses the Gitter IRC bridge.

Installation

  1. Install Go (developed on go1.6)
  2. Run go get github.com/mrexodia/gogitterirc
  3. Copy config_sample.json to config.json and configure like this:
{
    "IRC": {
        "Nick": "nickname",
        "Channel": "#channel"
    },
    "Gitter": {
        "Pass": "0123456789abcdef0123456789abcdef01234567",
        "Nick": "nickname",
        "Channel": "#team/room"
    },
    "Telegram": {
        "Token": "012345678:abcdefghijklmn024728734hskjdnchfdb4",
        "Admins": "admin1 admin2 admin3"
    }
}
  1. Build/Run gogitterirc and have fun!

To make the Telegram bot sync run the /startsync command as admin in the group you want to sync to/from.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址