Recently Written · git

ii-lchat-metapackage

Get suckless irc working for YOU

git clone https://github.com/equwal/ii-lchat-metapackage

Log | Files | Refs


commit 631b4f545b28980aa593fa2d42e538283d7139e0
Spenser Truex <truex@equwal.com>
2025-08-30 18:09:34 -0400

Simplify readme

 README.md | 73 ++-------------------------------------------------------------
 1 file changed, 2 insertions(+), 71 deletions(-)
diff --git a/README.md b/README.md
index a865874..4790465 100644
--- a/README.md
+++ b/README.md
@@ -15,83 +15,14 @@ please contribute.
 Copy irc-connect and lchat-connect to your path. Modify as needed.
 
 Make aliases for lchat-connect.
+
 ```
 # example
 alias lispirc='/home/jose/src/sh/lchat-connect "$HOME/irc" "irc.libera.chat" "#lisp"'
 ```
 
-# irc-connect
-```
-#!/bin/sh
-
-TIMEOUT=10
-CHANNELSWAIT=1
-
-# IRC client connector script
-# Usage: irc-connect <server> <nick> <pass> <dir> [channel1] [channel2] ...
-
-SERVER="$1"
-NICK="$2"
-PASS="$3"
-DIR="$4"
-shift 4
-
-ii -s "$SERVER" -n "$NICK" -i "$DIR" -e &
-II_PID=$!
-sleep "$TIMEOUT"
-echo "IDENTIFY $NICK $PASS" >"$DIR"/"$SERVER"/nickerv/in
-
-# Join all provided channels
-for channel in "$@"; do
-    echo "/j $channel" >"$DIR"/"$SERVER"/in
-    sleep "$CHANNELSWAIT"
-done
-
-wait $II_PID
-```
-# lchat-connect
-```
-
-#!/bin/sh
-
-# lchat connector script
-# Usage: lchat-connect <dir> <server> <channel>
-
-DIR="$1"
-SERVER="$2"
-CHANNEL="$3"
-
-lchat -a "$DIR"/"$SERVER"/"$CHANNEL"
-```
-
-# openRC service for liberachat
-```
-#!/sbin/openrc-run
-
-name="lispirc"
-description="IRC client for #lisp on irc.libera.chat"
-
-command="/home/jose/src/sh/irc-connect"
-command_args="(irc.libera.chat) <YOUR NICKSERV IDENT> <YOUR NICKSERV PASSWORD> <IRC FILES PATH> CHANNELS CHANNELS CHANNELS (eg. \#lisp)"
-command_user="<USER>"
-pidfile="/run/${RC_SVCNAME}.pid"
-command_background="yes"
-
-depend() {
-    need net
-    after logger
-}
-
-stop() {
-    local pid=$(cat "$pidfile")
-    ebegin "Stopping $name"
-    kill "$pid" 2>/dev/null
-    rm -f "$pidfile"
-    eend $?
-}
-```
-
 ## TODO
 - SSL using socat or some other external program
 - ii on your VPS for bouncing
 - other init systems
+- Better installation (make)