# irccat

**Category:** Standalone_Bot
**Original Author:** Unknown

## Description
irccat is a standalone bot for sending events to IRC channels from scripts or other applications via TCP or HTTP. It can also execute commands in response to IRC messages.

## Key Features
- Sends messages to IRC channels using TCP or HTTP.
- Executes commands based on user input, with command authorization checks.
- Supports TLS connections to IRC servers.
- Provides an IRC listener for handling private messages and commands.
- Offers a configurable maximum number of lines for command responses.

## File Analysis
- **command_runner.py** — Python script that handles command execution from IRC.
- **LICENSE** — GNU General Public License v3.0.
- **README.md** — Documentation on installation, usage, and features.
- **.travis.yml** — Configuration file for Travis CI continuous integration.
- **auth.go** — Handles user authorization for commands.
- **command.go** — Manages command handling logic.
- **main.go** — Main entry point of the application, initializes IRC connection and listeners.
- **irccat.json** — Configuration file defining server settings, channels, and command handlers.
- **generic.go** — Generic HTTP handler for sending messages to IRC.
- **grafana.go** — Specific HTTP handler for Grafana alerts.
- **httplistener.go** — Handles HTTP listener setup and routing.
- **colours.go** — Maps IRC color codes to ANSI escape sequences.
- **tcplistener.go** — Manages TCP listener for sending messages to IRC.