---
title: Install ircminer on Linux | Snap Store
description: Get the latest version of ircminer for Linux - A script to mine IRC logs
  for fun and profit, well really just fun.
url: https://snapcraft.io/ircminer
---

# ircminer

[Joe McManus (joesecurity)](https://snapcraft.io/publisher/joesecurity "View all snaps from Joe McManus (joesecurity)")

* [Joe McManus (joesecurity)](https://snapcraft.io/publisher/joesecurity "View all snaps from Joe McManus (joesecurity)")
* [Security](https://snapcraft.io/search?categories=security)

latest/stable 1a

Install latest/stable of ircminer

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install ircminer
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* ircminer

---

### License

* GPL-1.0

---

### Last updated

* 29 March 2019 - latest/stable

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/joemcmanus/ircMiner](https://github.com/joemcmanus/ircMiner "https://github.com/joemcmanus/ircMiner")

---

### Contact

* [joe.mcmanus@canonical.com](mailto:joe.mcmanus@canonical.com "mailto:joe.mcmanus@canonical.com")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/ircminer#report-snap-modal)

---

* [Description](https://snapcraft.io/ircminer#tab-description)
* [Security](https://snapcraft.io/ircminer#tab-security)

#### A script to mine IRC logs for fun and profit, well really just fun.

A python program to mine data from ZNC logs of IRC. For now it creates bar graphs and word clouds.

Usage:

```
 daneel:logs joe$ ircminer --help
 usage: ircminer [-h] [--single SINGLE] [--multi MULTI] [--outfile OUTFILE]
                    [--bgimage BGIMAGE] [--limit LIMIT] [--width WIDTH]
                    [--height HEIGHT] [--graph] [--cloud] [--title TITLE]
                    [--exclude EXCLUDE] [--filenames]

 ZNC Log Miner Image Generation

 optional arguments:
   -h, --help         show this help message and exit
   --single SINGLE    Single Source file
   --multi MULTI      keyword for multip[le Source files in the current
                      directory
   --outfile OUTFILE  Destination image file if not specified will be the name
                      of the input file.png
   --bgimage BGIMAGE  Optional image file to shape around
   --limit LIMIT      # of words to display, default 100
   --width WIDTH      Width of image, default 1600
   --height HEIGHT    Height of image, default 1200
   --graph            Create a graph
   --cloud            Create a word cloud
   --title TITLE      Title of Graph
   --exclude EXCLUDE  List of words to exclude, enclose in quotes
   --filenames        Print name of matching files when using multi
```

To look at one log and create a single wordcloud:

```
  daneel:logs joe$ ircminer --cloud --single example.log
  Source file: example.log
  Output file  : examople.log.png
  Result Limit : 100
  IMG Width    : 1600
  IMG Height   : 1200
```

To create a word cloud from all ZNC logs with the word "example" in the name use the multi switch.

```
 daneel:logs joe$ ircminer --multi example --cloud
 Processing files matching pattern *example*.log
 Output file  : example.png
 Result Limit : 100
 IMG Width    : 1600
 IMG Height   : 1200
 Found 118 matching files.
 Processing file : 118 of 118
```

To create a bar graph from all ZNC logs with the word "example" in the name use --graph with --multi. `

```
 daneel:logs joe$ ircminer --multi example  --graph  --limit 50 --title "Example Most Common Words"
 Processing files matching pattern *example*.log
 Result Limit : 50
 Found 118 matching files.
 Processing file : 118 of 118
```

---

## Install ircminer on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/ircminer/arch)

[### CentOS](https://snapcraft.io/install/ircminer/centos)

[### Debian](https://snapcraft.io/install/ircminer/debian)

[### elementary OS](https://snapcraft.io/install/ircminer/elementary)

[### Fedora](https://snapcraft.io/install/ircminer/fedora)

[### KDE Neon](https://snapcraft.io/install/ircminer/kde-neon)

[### Kubuntu](https://snapcraft.io/install/ircminer/kubuntu)

[### Manjaro](https://snapcraft.io/install/ircminer/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/ircminer/pop)

[### openSUSE](https://snapcraft.io/install/ircminer/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/ircminer/rhel)

[### Ubuntu](https://snapcraft.io/install/ircminer/ubuntu)
