WEECHAT-HEADLESS(1)
β¨ WEECHAT-HEADLESS β the weechat-headless manual page, bestie edition β¨
Okay so like, this is the manual page for weechat-headless from the WeeChat Manual, and I'm gonna walk you through every single bit of it because you deserve to know π
πΈ NAME πΈ
weechat-headless β the extensible chat client, but make it the headless version π
π¦ SYNOPSIS π¦
Like, here's the vibe of how you actually call it:
weechat-headless [-a|--no-connect] [--daemon] [--stdout] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
weechat-headless [-c|--colors]
weechat-headless [-h|--help]
weechat-headless [-l|--license]
weechat-headless [-v|--version]
π DESCRIPTION π
WeeChat β which stands for Wee Enhanced Environment for Chat, iconic name, no notes β is a free chat client, fast and light, designed for many operating systems. It's highly customizable and extensible with scripts. It's giving main character energy, fr fr β¨
The command weechat-headless runs WeeChat in a headless mode β meaning no interface at all, literally just vibes and background processes π It can be used for tests, or to daemonize WeeChat with the option --daemon.
π OPTIONS π
Here's the whole roster, bestie, every last one:
-a,--no-connectβ turns off auto-connect to servers when WeeChat is starting. Like, it just doesn't reach out first, you know? π-c,--colorsβ displays the default colors in your terminal. Aesthetic check π--daemonβ runs WeeChat in the background, as a daemon. Heads up: this only works with the commandweechat-headless.--stdoutβ displays log messages on standard output instead of writing them into the log file. Also only works withweechat-headless, and not compatible with the option--daemon. Pick a lane, honestly π-d,--dir <path>β forces a single directory for all WeeChat files (the directory gets created if it's not found). You can give four directories separated by colons β in this exact order: config, data, cache, runtime. If you don't pass this option, the environment variableWEECHAT_HOMEis used (as long as it's not empty).-t,--temp-dirβ creates a temporary WeeChat home directory and deletes it on exit. This one's incompatible with option-d, sorry babe. The directory name is automatically built by WeeChat using this template:weechat_temp_XXXXXX(whereXXXXXXis random). It's created in the first available directory from this list: environment variableTMPDIR,/tmp(may be different depending on your operating system), environment variableHOME, then the current directory. Oh and the temporary home directory has permissions0700β only the owner can read, write and execute. Privacy queen π-h,--helpβ displays help. The classic.-i,--build-infoβ displays build information and exits. One and done βοΈ-l,--licenseβ displays the WeeChat license.-p,--no-pluginβ disables plugins auto-load. Let them sleep in π΄-P,--plugins <plugins>β loads only these plugins at startup (see/help weechat.plugin.autoload). If you pass this option, the optionweechat.plugin.autoloadis not used. It's this or that, no cap.-r,--run-command <command>β runs command(s) after startup; many commands can be separated by semicolons, and this option can be given multiple times. Stack 'em up π«Ά-s,--no-scriptβ disables scripts auto-load.--upgradeβ upgrades WeeChat using session files generated with the command/upgrade -quit.-v,--versionβ displays the WeeChat version. Basic but necessary πplugin:optionβ an option for a plugin. That's it, that's the description.
π DEBUG OPTIONS π
WARNING: these options are for debug purposes only. DO NOT USE IN PRODUCTION! Like seriously bestie, I'm begging you π
--no-dlcloseβ does not call the functiondlcloseafter plugins are unloaded. This is useful with tools like Valgrind to display the stack for unloaded plugins.--no-gnutlsβ does not call the init and deinit functions of the GnuTLS library. This is useful with tools like Valgrind and electric-fence, to prevent GnuTLS memory errors.--no-gcryptβ does not call the init and deinit functions of the Gcrypt library. This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
π§ PLUGIN OPTIONS π§
Okay for the complete doc on plugin options, please go look at the plugins documentation in the WeeChat user's guide at https://weechat.org/doc/. It's all there, iykyk.
With the irc plugin, you can connect to a server with an URL like this:
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
To join the WeeChat IRC channel support with the nick mynick:
irc://mynick@irc.libera.chat/#weechat
And an IPv6 address can be enclosed in brackets so you can add a port after the address, for example:
irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
Look at that bracket action. Iconic π₯
π FILES π
Every single one of these lives in your config life, bestie:
$HOME/.config/weechat/weechat.confβ main WeeChat configuration file$HOME/.config/weechat/plugins.confβ plugins configuration file$HOME/.config/weechat/sec.confβ configuration file with secured data π$HOME/.config/weechat/alias.confβ configuration file foraliasplugin$HOME/.config/weechat/buflist.confβ configuration file forbuflistplugin$HOME/.config/weechat/charset.confβ configuration file forcharsetplugin$HOME/.config/weechat/exec.confβ configuration file forexecplugin$HOME/.config/weechat/fifo.confβ configuration file forfifoplugin$HOME/.config/weechat/fset.confβ configuration file forfsetplugin$HOME/.config/weechat/guile.confβ configuration file forguileplugin$HOME/.config/weechat/irc.confβ configuration file forircplugin$HOME/.config/weechat/javascript.confβ configuration file forjavascriptplugin$HOME/.config/weechat/logger.confβ configuration file forloggerplugin$HOME/.config/weechat/lua.confβ configuration file forluaplugin$HOME/.config/weechat/perl.confβ configuration file forperlplugin$HOME/.config/weechat/php.confβ configuration file forphpplugin$HOME/.config/weechat/python.confβ configuration file forpythonplugin$HOME/.config/weechat/relay.confβ configuration file forrelayplugin$HOME/.config/weechat/ruby.confβ configuration file forrubyplugin$HOME/.config/weechat/script.confβ configuration file forscriptplugin$HOME/.config/weechat/spell.confβ configuration file forspellplugin$HOME/.config/weechat/tcl.confβ configuration file fortclplugin$HOME/.config/weechat/trigger.confβ configuration file fortriggerplugin$HOME/.config/weechat/typing.confβ configuration file fortypingplugin$HOME/.config/weechat/xfer.confβ configuration file forxferplugin$HOME/.local/share/weechat/weechat.logβ WeeChat log file
That's a lot of conf files and honestly? Slay π
π SEE ALSO π
weechat(1) β yes, the non-headless one, go check it out too π«Ά
π AUTHORS π
This manpage was written by SΓ©bastien Helleu.
β COPYRIGHT β
WeeChat is written by SΓ©bastien Helleu and contributors (the complete list is in the AUTHORS.md file).
Copyright Β© 2003-2026 SΓ©bastien Helleu
WeeChat is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Please read the COPYING file for more information.
Web: https://weechat.org/
π¦ SUPPORT / REPORTING BUGS π¦
For help or a bug report: https://weechat.org/about/support/ β they got you, bestie π
πΈ AUTHOR πΈ
SΓ©bastien Helleu
And that's the whole page, periodt π Signed off from WeeChat 4.10.2 β this manual page was WEECHAT-HEADLESS(1) in the original footer, and now it's yours, fully understood, no cap πβ¨
π¦ where this page comes from
- arch rolling: weechat 4.10.2-1 Β· GPL-3.0-only
- nixpkgs unstable: weechat 4.10.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms