• Stars
    star
    157
  • Rank 238,399 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’ฃ girc is a flexible IRC library for Go ๐Ÿ‘Œ

girc -- ๐Ÿ’ฃ girc is a flexible IRC library for Go ๐Ÿ‘Œ

๐Ÿ”— Table of Contents

Features

  • Focuses on simplicity, yet tries to still be flexible.
  • Only requires standard library packages
  • Event based triggering/responses (example, and CTCP too!)
  • Documentation is mostly complete.
  • Support for a good portion of the IRCv3 spec.
    • SASL Auth (currently only PLAIN and EXTERNAL is support by default, however you can simply implement SASLMech yourself to support additional mechanisms.)
    • Message tags (things like account-tag on by default)
    • account-notify, away-notify, chghost, extended-join, etc -- all handled seemlessly (cap.go for more info).
  • Channel and user tracking. Easily find what users are in a channel, if a user is away, or if they are authenticated (if the server supports it!)
  • Client state/capability tracking. Easy methods to access capability data (LookupChannel, LookupUser, GetServerOption (ISUPPORT), etc.)
  • Built-in support for things you would commonly have to implement yourself.

Installing

$ go get -u github.com/lrstanley/girc

Examples

See the examples within the documentation for real-world usecases. Here are a few real-world usecases/examples/projects which utilize girc:

Project Description
nagios-check-ircd Nagios utility for monitoring the health of an ircd
nagios-notify-irc Nagios utility for sending alerts to one or many channels/networks
matterbridge bridge between mattermost, IRC, slack, discord (and many others) with REST API

Working on a project and want to add it to the list? Submit a pull request!

References

๐Ÿ™‹โ€โ™‚๏ธ Support & Assistance

  • โค๏ธ Please review the Code of Conduct for guidelines on ensuring everyone has the best experience interacting with the community.
  • ๐Ÿ™‹โ€โ™‚๏ธ Take a look at the support document on guidelines for tips on how to ask the right questions.
  • ๐Ÿž For all features/bugs/issues/questions/etc, head over here.

๐Ÿค Contributing

  • โค๏ธ Please review the Code of Conduct for guidelines on ensuring everyone has the best experience interacting with the community.
  • ๐Ÿ“‹ Please review the contributing doc for submitting issues/a guide on submitting pull requests and helping out.
  • ๐Ÿ—๏ธ For anything security related, please review this repositories security policy.

โš–๏ธ License

MIT License

Copyright (c) 2016 Liam Stanley <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Also located here

girc artwork licensed under CC 3.0 based on Renee French under Creative Commons 3.0 Attributions.

More Repositories

1

bubblezone

helper utility for BubbleTea, allowing easy mouse event tracking
Go
377
star
2

vault-unseal

auto-unseal utility for Hashicorp Vault
Go
181
star
3

geoip

๐ŸŒ Geolocation API service -- Run it yourself! | alternative to freegeoip.net
Go
100
star
4

bubbletint

Terminal tints for everyone
Go
57
star
5

links

Simple, fast link shortener
Go
49
star
6

Code

Code - Python IRC Bot
Python
31
star
7

chix

helper middleware and functionality for go-chi/chi
Go
22
star
8

arlo-dl

๐ŸŽฅ ๐Ÿ“ท cli tool for downloading arlo recordings and saving them to a file (add to a cron!)
Go
8
star
9

liam.sh

my personal website/blog
Go
8
star
10

go-queryparser

"q" http GET variable parser that supports filters/tags for advanced searches ๐Ÿ‘
Go
8
star
11

marill

๐Ÿ”ง Marill -- Automated site testing utility ๐Ÿ’ป
Go
7
star
12

go-bogon

Go package to check if an IP address is a bogon (internal) IP address
Go
7
star
13

recoverer

Simple Go http middleware to catch (and optionally display) panics gracefully
Go
6
star
14

irccloud-uptime

[DEPRECATED] Want to keep your IRCcloud up, and have a place where you can run a Python script 24/7?
Python
6
star
15

go-sempool

go-sempool is a super simple semaphore go-routine worker pool
Go
4
star
16

php-status

Legacy PHP Status checker with slick graphics
PHP
3
star
17

clix

go-flags wrapper with useful helpers
Go
2
star
18

hangar-ui

WIP: Concourse CI Terminal UI
Go
2
star
19

autodelete-docker

container image for AutoDelete Discord bot
Dockerfile
2
star
20

arpme

๐Ÿ” Simple arp scanning library for Go.
Go
2
star
21

byteirc.org

ByteIRC website
HTML
1
star
22

nagios-notify-irc

๐Ÿ”‰ Nagios utility for reporting to an IRC channel when an event occurs. โš ๏ธ
Go
1
star
23

mdhttp

mdhttp lets you easily render markdown files via a Go http middleware
Go
1
star
24

helm-charts

misc helm charts for my projects, or projects I use
TypeScript
1
star
25

httpstat

httpstat is a net/http handler for Go, which reports various useful metrics
Go
1
star
26

pt

pt is a helper package for using pongo2 & in-memory tmpl loaders together.
Go
1
star
27

basic-irc-bot

Super basic Python IRC bot. Build upon it!
Python
1
star
28

php-mc-status

PHP Minecraft Status Checker (Online/Offline)
PHP
1
star
29

ircdef

ircdef, IRC constants and definitions, in Go!
Go
1
star
30

spectrograph

Spectrograph -- Discord bot that manages creating/removing voice channels depending on occupancy
Go
1
star
31

lrstanley

1
star
32

ponger

Server monitoring and reporting bot for Slack
Go
1
star
33

flask-example

A basic Python website built with the Flask micro-framework and Jinja2 templating engine
CSS
1
star