senpai(1)

🌸 NAME 🌸

senpai β€” your everyday IRC student, bestie edition πŸ’–

Yes, that's the whole vibe. Your everyday IRC student. We love a humble icon.


✨ SYNOPSIS ✨

senpai [options...] [link]

πŸŽ€ OPTIONS πŸŽ€

  • -config <path> β€” point senpai at a different path for the config file. The format? Documented over in senpai(5), go check it.
  • -nickname <nickname> β€” advanced mode, bestie. The nick name you connect as. This overrides the config item of the same name, no cap.
  • -debug β€” advanced. Shows all the IRC messages received from / sent to the server. Every single one. It's giving raw unfiltered timeline.
  • -version β€” display version info 🫢

Also, real talk: senpai can be opened with an irc:// link to a server or target. In that case, the link gets opened in an existing instance if there is one available. Efficient queen behavior.


🌈 DESCRIPTION 🌈

senpai is an IRC client made for bouncers. And it supports the newest IRC extensions, such as:

  • CHATHISTORY β€” senpai fetches history from the server instead of keeping logs. No local hoarding, we love a clean space.
  • @+typing β€” senpai shows when others are typing a message. You get to watch them type. Iconic.
  • BOUNCER β€” senpai connects to all your networks at once, automatically. Main character multitasking.
  • SEARCH β€” senpai can search messages quickly, server-side. Fast fast fast.
  • FILEHOST β€” senpai can upload files to the bouncer. Files, slayed.
  • and more to come! πŸ”₯

πŸ¦‹ CONFIGURATION πŸ¦‹

senpai searches for the config in this location:

$XDG_CONFIG_HOME/senpai/senpai.scfg

If $XDG_CONFIG_HOME is unset, it defaults to ~/.config or whatever the platform's equivalent is. Ngl, it's pretty predictable.

For information about the configuration format, see senpai(5).

And okay, this part is cute: if the configuration file does not exist, a setup assistant will create one for you. It literally does your homework. 🧚


πŸ’… USER INTERFACE πŸ’…

The user interface of senpai consists of several parts. Let's do a little tour, bestie.

On the left, the buffer list, which shows joined channels. The special buffer home is where server notices are shown. The list can be put on the bottom of the screen with a configuration option. Buffers can be closed with the mouse middle click, or the part command.

On the right, the member list, which shows members joined to the current channel.

On the bottom, the input field β€” that's where you type in messages or commands (see COMMANDS). By default, when you type a message, senpai will inform others in the channel that you are typing. Yes, it's telling on you, and honestly? Good.

On the row above, the status line (or… just a line if nothing is happening…) is where typing indicators are shown (e.g. "dan- is typing...").

Finally, the message timeline is displayed on the rest of the screen.

senpai supports the mouse almost everywhere β€” clicking on nicks, buffers, members, links; resizing panels; and features "buttons". On supported terminals, the cursor will turn into a hand when it's over a clickable element. So fancy. πŸ–±οΈ


🌸 SELECTING TEXT 🌸

Okay so in order to select text with a mouse, hold SHIFT while clicking and dragging the mouse. Full stop.

Clicking and dragging without holding SHIFT will not work, because senpai eats these events for, eg, selecting channels. It's not being rude, it's just hungry.


In order to open links, refer to your terminal manual. On most terminals, opening links is done by holding CTRL, or SHIFT, while clicking the link. On the foot terminal, links can be opened by pressing Ctrl+Shift+O.

A simple left click with no modifiers will make senpai try to preview the link, or open it. In order to skip the preview, open the link with a modifier, as specified above, instead of an unmodified left click. Choose your fighter. ✨


πŸ’– KEYBOARD SHORTCUTS πŸ’–

These shortcuts can be customized in the configuration, see senpai(5). Obsessed with a customizable queen.

  • Ctrl+A β€” move the cursor to the beginning of the input field.
  • Ctrl+E β€” move the cursor to the end of the input field.
  • Ctrl+C β€” clear input line, or prepare for exit by adding /quit to input line.
  • Ctrl+F β€” prepare for search: add /search to input line.
  • Ctrl+K β€” prepare for jumping to a buffer: add /buffer to input line.
  • Ctrl+Alt+V β€” prepare for uploading the clipboard: add /upload to input line.
  • Ctrl+U, PgUp β€” go up in the timeline.
  • Ctrl+D, PgDown β€” go down in the timeline.
  • Ctrl+N, Alt+Right β€” go to the next buffer.
  • Ctrl+P, Alt+Left β€” go to the previous buffer.
  • Shift+Right β€” go to the next unread buffer.
  • Shift+Left β€” go to the previous unread buffer.
  • Alt+Home β€” go to the first buffer.
  • Alt+End β€” go to the last buffer.
  • Alt+P β€” go to the previous highlight
  • Alt+N β€” go to the next highlight, or to the (most recent) end of the timeline if there is none.
  • Alt+{1..9} β€” go to buffer by index.
  • Up, Down, Left, Right, Home, End, Backspace, Delete β€” edit the text in the input field.
  • Enter β€” sends the contents of the input field.
  • Tab β€” open the auto-completion dialog. Choose auto-completion item with Up and Down, then press Tab again to confirm.
  • Ctrl+L β€” refresh the window.
  • F7 β€” show/hide the vertical channel list.
  • F8 β€” show/hide the vertical member list.

πŸ‘‘ COMMANDS πŸ‘‘

So if you type and send a message that starts with a slash (/), it will instead be interpreted as a command:

/name argument1 argument2...

name is matched case-insensitively. It can be one of the following:

  • HELP [search] β€” show the list of command (or a commands that match the given search terms).
  • JOIN <channel> β€” join the given channel.
  • PART [channel] [reason] β€” part the given channel, defaults to the current one if omitted.
  • QUIT [reason] β€” quits senpai. 😭
  • MOTD β€” show the message of the day (MOTD).
  • NAMES β€” show the member list of the current channel. Powerlevels (such as @ for "operator", or + for "voice") are shown in green.
  • TOPIC [topic] β€” if topic is omitted, show the topic of the current channel and, if available, the person who set it and the time when it has been set. Otherwise, change the topic of the current channel to topic.
  • MUTE β€” mute the current channel. This prevents being distracted from new messages on unimportant channels. This moves the channel to the end of the server, and greys its name out so that new messages do not change its color in the list. Highlights will still send a notification. (Peace and quiet, but not too quiet.)
  • UNMUTE β€” unmute the current channel. See MUTE.
  • PIN β€” pin the current channel. This moves the channel to the start of the buffer list. Front of the line, as it deserves.
  • UNPIN β€” unpin the current channel. See PIN.
  • MSG <target> <content> β€” send content to target.
  • REPLY <content> β€” reply to the last person who sent a private message.
  • ME <content> β€” send a message prefixed with your nick (a user action). If sent from home, reply to the last person who sent a private message.
  • NP β€” send the current song that is being played on the system. Uses DBus/MPRIS internally. Now playing: your taste. 🎡
  • UPLOAD [file path] β€” upload a local file to the bouncer. If no path is given, upload the current clipboard content instead (requires wl-paste on Wayland or xclip on X11; Linux only).
  • SCREENSHOT β€” take and upload a screenshot to the bouncer. Requires support for D-Bus and xdg-desktop-portal (e.g. Gnome, or xdg-desktop-portal-wlr on sway).
  • QUOTE <raw message> β€” send raw message verbatim.
  • LIST [pattern] β€” list public channels, optionally matching the specified pattern.
  • BUFFER <index|name> β€” switch to the buffer at the index position, or containing name. The buffer list will be filtered according to the passed name; entering the command will select the first buffer in the list.
  • WHOIS <nickname> β€” get information about someone who is connected.
  • WHOWAS <nickname> β€” get information about someone who is disconnected.
  • NICK <nickname> β€” change your nickname.
  • OPER <username> <password> β€” log in to an operator account.
  • MODE <nick/channel> <flags> [args] β€” change channel or user modes.
  • INVITE <nick> [channel] β€” invite nick to channel (the current channel if not given).
  • KICK <nick> [channel] [message] β€” eject nick from channel (the current channel if not given) with an optional kick message/reason. Bye bestie πŸ‘‹
  • BAN <nick> [channel] β€” ban nick from entering channel (the current channel if not given).
  • UNBAN <nick> [channel] β€” allow nick to enter channel again (the current channel if not given).
  • SEARCH <text> β€” search messages matching the given text, in the current channel or server. This opens a temporary list, which can be closed with the escape key.
  • AWAY [message] β€” mark yourself as away, with an optional away message. Use BACK to cancel.
  • BACK β€” mark yourself as back from being away (see AWAY).
  • VERSION [target] β€” query the server software version.
  • ADMIN [target] β€” query the server administrative information.
  • LUSERS β€” query the server user information.
  • TIME [target] β€” query the server local time.
  • INFO β€” query server information.
  • LINKS β€” query the servers of the network.
  • SHRUG β€” send a shrug emoji to the current channel. Β―\_(ツ)_/Β―
  • TABLEFLIP β€” send a table flip emoji to the current channel. (β•―Β°β–‘Β°)β•―οΈ΅ ┻━┻
  • STATS <query> [target] β€” query server statistics (advanced).
  • CONNECT <target server> [<port> [remote server]] β€” connect a server to the network (advanced).
  • SQUIT <server> [comment] β€” disconnects a server from the network (advanced).
  • KILL <nick> [message] β€” eject someone from the server (advanced).
  • REHASH β€” make the server reload its configuration (advanced).
  • RESTART β€” make the server restart (advanced).
  • WALLOPS [text] β€” broadcast a message to all users (advanced).

πŸ“ ENVIRONMENT VARIABLES πŸ“

The following standard environment variables are supported. Standard, but make it fashion.

  • ALL_PROXY β€” URL of a SOCKS proxy to use when connecting to the server.
  • SSL_CERT_DIR β€” colon-separated list of directories containing TLS certificates to trust, in OpenSSL c_rehash format.
  • SSL_CERT_FILE β€” path to a file, PEM-encoded, containing a list of TLS certificates to trust.

⭐ SEE ALSO ⭐

senpai(5)

Like, obviously. Go read the config page, bestie. iykyk.


πŸ’œ AUTHORS πŸ’œ

  • Creator/Sensei: Hubert Hirtz <hubert@hirtzfr.eu>!
  • Current maintainer: delthas <delthas@dille.cc>.
  • Sources are available at <https://git.sr.ht/~delthas/senpai>.
  • Patches are welcome by email at <~delthas/senpai-dev@lists.sr.ht>.

And that's the whole page, bestie πŸ’…βœ¨ This edition of the senpai(1) manual is dated 2026-10-14 β€” go forth, connect to all your networks at once, and slay πŸ¦‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from