• This repository has been archived on 03/May/2024
  • Stars
    star
    161
  • Rank 233,470 (Top 5 %)
  • Language
    Go
  • License
    BSD 3-Clause "New...
  • Created almost 9 years ago
  • Updated over 2 years ago

Reviews

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

Repository Details

Komanda CLI Client

Build Status GoDoc Go Report Card

Komanda CLI

This is the sister app of https://github.com/mephux/komanda. I thought it would be fun so I did it. Komanda-cli is built using the awesome gocui package.

Would love some help to get it 1:1 with irssi. Maybe embed lua,mruby or something else for the script lang.

You Look Purdy

komanda Komanda-Channel

Download

Komanda Downloads

Usage

usage: komanda [<flags>]

The Komanda Command-line IRC Client

Flags:
    --help           Show context-sensitive help (also try --help-long and --help-man).
-s, --ssl            enable ssl
-i, --insecure       insecure ssl - skip verify. (self-signed certs)
-h, --host=HOST      hostname
-p, --port=PORT      port
-n, --nick=NICK      nick
-u, --user=USER      server user
-P, --server-password=SERVER-PASSWORD
                     server password
    --nick-password=NICK-PASSWORD
                     nick password
-a, --auto           auto-connect on startup.
-c, --config=CONFIG  configuration file location
    --version        Show application version.

Keyboard

  • esc, right-arrow-key change to next channel
  • esc, left-arrow-key change to previous channel
  • ctrl+n change to next window
  • ctrl+p change to previous window
  • ctrl+alt+p scroll up
  • ctrl+alt+n scroll down
  • page-up scroll up
  • page-down scroll down
  • tab move to next active window
  • enter scroll to bottom of window (if input is empty)
  • /help for everything else

/help output

* ==================== HELP COMMANDS ====================
* /exit  - exit komanda-cli
* /connect  - connect to irc using passed arguments
* /status  - status command
* /help  - help command
* /join <channel> - join irc channel
* /part [channel] - part irc channel or current if no channel given
* /clear  - clear current view
* /logo  - logo command
* /version  - version command
* /nick <nick> - nick irc channel
* /pass <password> - pass irc channel
* /raw <command> [data] - raw command
* /topic [channel] [topic] - set topic for given channel or current channel if empty
* /window <id,#channel> - change window example: /window #komanda
* /names  - list channel names
* /query <user> [message] - send private message to user
* /who <nick> - send who command to server
* /whois <nick> - send whois command to server
* /me [message] - send action message to channel
* /notice <channel/nick> <message> - send notice message to channel or nick
* /shrug  - Shrugging Emoji
* /tableflip  - TableFlip Emoji
* /kick <channel> <nick> [message] - kick user from channel. /kick #komanda mephux
* /away [message] - set status to away with a message or none to toggle away atatus
* ==================== HELP COMMANDS ====================

Features

  • config file support (change colors, time formats etc.)
  • irc server auth
  • auto nickserv identify
  • auto-join channels
  • activity monitoring (new messages/highlights)
  • color nick
  • znc support
  • 256 colors
  • tab complete
  • new window per channel
  • history
  • cross-platform desktop notifications

Config File Example

[Komanda]
  debug = false
  log_file = "/home/dweb/.komanda/komanda.log"

[Server]
  host = "irc.freenode.net"
  port = "6697" # Common NON-SSL Port 6667
  ssl = true
  insecure = false
  nick = "Komanda"
  user = "Komanda"
  nick_password = ""

  # if you server password and nick password are the same all you need
  # to set is this option.
  server_password = ""
  auto_connect = false

  # if you use a IRC bouncer this wont be needed
  channels = ["#komanda"]
  
  # filter all IRC join/part/quit messages
  filter_joinquit = false

# http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
[Color]
  black = 0
  white = 15
  red = 160
  purple = 92
  logo = 75
  yellow = 11
  green = 119
  menu = 209
  my_nick = 119
  other_nick_default = 14
  timestamp = 247
  my_text = 129
  header = 57
  query_header = 11
  current_input_view = 215
  notice = 219
  action = 118

# https://golang.org/pkg/time/#pkg-constants
[Time]
  message_format = "15:04"
  notice_format = "02 Jan 06 15:04 MST"
  menu_format = "03:04:05 PM"

TODO

Self-Promotion

Like komanda-cli? Follow the repository on GitHub and if you would like to stalk me, follow mephux on Twitter and GitHub.

More Repositories

1

komanda

The IRC Client For Developers
JavaScript
1,783
star
2

envdb

LEGACY use https://github.com/mephux/kolide -- Envdb - Ask your environment questions with osquery.
JavaScript
519
star
3

ruby-nessus

Ruby-Nessus is a ruby interface for the popular Nessus vulnerability scanner.
Ruby
86
star
4

legacy-snorby

!! DO NOT USE THIS - THIS REPO HAS MOVED - https://github.com/Snorby/snorby !!
JavaScript
59
star
5

vim-jsfmt

Vim plugin for jsfmt. Auto format js code on save.
Vim Script
33
star
6

hexdump.js

A javascript utility for pretty hexdump output.
JavaScript
32
star
7

pidly

A super simple daemon library.
Ruby
32
star
8

vimstack

The vim configurations of a mad man.
Vim Script
27
star
9

bro.vim

bro.vim - A simple plugin for working with the bro scripting languages.
Zeek
22
star
10

ports.json

Ports JSON Object
22
star
11

dnas

Domain Name Analytics System
Go
14
star
12

annex

Simple client-side router
JavaScript
11
star
13

CVEasy

CVEasy is a ruby interface CVE database at http://cve.mitre.org.
Ruby
10
star
14

memory

Linux memory read/write lib
Go
8
star
15

ronin-team

Real-Time Security Research
Ruby
7
star
16

common

Commonly Used Functions
Go
6
star
17

ipdb

IpDB is a simple ruby interface to the ipinfodb IP geographical locator api.
Ruby
6
star
18

unified2

A ruby interface to the unified2 output format.
Ruby
6
star
19

clipby

clipboard manipulation and organization
Go
5
star
20

rmslack

Purge a slack channel of all messages.
Go
4
star
21

snoles

A snort rule parsing and construction framework.
Ruby
4
star
22

vendorlint

Make sure all dependents are properly vendored [BETA]
Go
3
star
23

sguil-web

SguilWeb - A web client for the popular Sguil security analysis tool.
JavaScript
2
star
24

ssm

Simple State Machine
Go
2
star
25

IR_Blacker

My mod of the limechat ir_black theme by Jeff Schoolcraft
1
star
26

lookycode

JavaScript
1
star
27

sensehat

raspberry pi sense hat lib - https://www.raspberrypi.org/products/sense-hat/
Go
1
star
28

ronin-webapp

A Web Application for Ronin.
Ruby
1
star
29

90sStyle

A very old school theme for the LimeChat IRC Client.
1
star
30

go-cuckoo

Go
1
star