motirc

motirc is a Motif IRC client written in C with OpenSSL networking. The client now supports persistent server profiles, configurable identity and TLS/SASL behavior, command parsing from the input field, and channel/query tab routing in a Motif UI.

The project targets classic desktop environments where Motif is available and keeps the UI toolkit dependency strictly on Motif widgets.

Table of Contents

Requirements

  • CMake
  • C compiler with C11 support
  • OpenSSL
  • Motif development libraries (Xm, Xt)
  • X11 development libraries

Setup

Build from the repository root:

cmake -S . -B build
cmake --build build -j4

Usage

Run the client:

./build/motirc

In the UI:

  • Open Server -> Settings to edit identity, profiles, TLS, and SASL options.
  • Use Server -> Connect to connect the default profile.
  • Use Server -> Disconnect to quit the active IRC session.
  • Use View -> Next Tab and View -> Previous Tab to change active conversation tab.

Configuration

The config path is:

${HOME}/.config/motirc/motirc.ini

The file is INI-style with these sections:

  • [global]
  • [identity]
  • [profile "<name>"]

Saved profile fields include host, port, TLS enable/verify, identity overrides, SASL mode, password, autojoin text, and client cert/key paths.

If the config file does not exist, motirc starts with defaults and writes the file when settings are applied.

Commands

Supported input commands:

  • /connect <host> <port> [-tls]
  • /whois <nick>
  • /msg <target> <text>
  • /join <channel>
  • /part [channel] [reason]
  • /quit [reason]

Non-command input is sent as PRIVMSG to the active channel/query tab target.

Description
A motif IRC client for that retro feel
Readme ISC 212 KiB
Languages
C 97.3%
CMake 2.7%