source: code/trunk/doc/soju.1.scd@ 208

Last change on this file since 208 was 208, checked in by contact, 5 years ago

doc: document "network delete"

File size: 3.6 KB
Line 
1soju(1)
2
3# NAME
4
5soju - IRC bouncer
6
7# SYNOPSIS
8
9*soju* [options...]
10
11# DESCRIPTION
12
13soju is a user-friendly IRC bouncer. It connects to upstream IRC servers on
14behalf of the user to provide extra features.
15
16- Multiple separate users sharing the same bouncer, each with their own
17 upstream servers
18- Clients connecting to multiple upstream servers via a single connection to
19 the bouncer
20- Sending the backlog (messages received while the user was disconnected from
21 the bouncer), with per-client buffers
22
23When joining a channel, the channel will be saved and automatically joined on
24the next connection. When registering or authenticating with NickServ, the
25credentials will be saved and automatically used on the next connection if the
26server supports SASL.
27
28soju supports two connection modes:
29
30- Single upstream mode: one downstream connection maps to one upstream
31 connection. To enable this mode, connect to the bouncer with the username
32 "<username>/<network>". If the bouncer isn't connected to the upstream
33 server, it will get automatically added. Then channels can be joined and
34 parted as if you were directly connected to the upstream server.
35- Multiple upstream mode: one downstream connection maps to multiple upstream
36 connections. Channels and nicks are suffixed with the network name. To join
37 a channel, you need to use the suffix too: _/join #channel/network_. Same
38 applies to messages sent to users.
39
40For per-client history to work, clients need to indicate their name. This can
41be done by adding a "@<client>" suffix to the username.
42
43# OPTIONS
44
45*-h, -help*
46 Show help message and quit.
47
48*-config* <path>
49 Path to the config file.
50
51*-debug*
52 Enable debug logging (this will leak sensitive information such as
53 passwords).
54
55*-listen* <address>
56 Listening address (default: ":6667").
57
58# CONFIG FILE
59
60The config file has one directive per line.
61
62*listen* <address>
63 Listening address (default: ":6667").
64
65*hostname* <name>
66 Server hostname (default: system hostname).
67
68*tls* <cert> <key>
69 Enable TLS support. The certificate and the key files must be PEM-encoded.
70
71*sql* <driver> <source>
72 Set the SQL driver settings. The only supported driver is "sqlite". The
73 source is the path to the SQLite database file.
74
75*log* <path>
76 Path to the bouncer logs root directory, or empty to disable logging.
77
78# IRC SERVICE
79
80soju exposes an IRC service called *BouncerServ* to manage the bouncer.
81Commands can be sent via regular private messages
82(_/msg BouncerServ <command> [args...]_). Commands may be written in full or
83abbreviated form, for instance *network* can be abbreviated as *net* or just
84*n*.
85
86*help* [command]
87 Show a list of commands. If _command_ is specified, show a help message for
88 the command.
89
90*network create* *-addr* <addr> [options...]
91 Connect to a new network at _addr_. _-addr_ is mandatory. Other options are:
92
93 *-name* <name>
94 Short network name. This will be used instead of _addr_ to refer to the
95 network.
96
97 *-username* <username>
98 Connect with the specified username. By default, the nickname is used.
99
100 *-pass* <pass>
101 Connect with the specified server password.
102
103 *-realname* <realname>
104 Connect with the specified real name. By default, the nickname is used.
105
106 *-nick* <nickname>
107 Connect with the specified nickname. By default, the account's username
108 is used.
109
110*network delete* <name>
111 Disconnect and delete a network.
112
113*network status*
114 Show a list of saved networks and their current status.
115
116# AUTHORS
117
118Maintained by Simon Ser <contact@emersion.fr>, who is assisted by other
119open-source contributors. For more information about soju development, see
120https://git.sr.ht/~emersion/soju.
Note: See TracBrowser for help on using the repository browser.