tools:irc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tools:irc [2025/11/11 06:42] – Not worth the trouble to manage this. If anyone wants to talk to you, we'll come to you. General MacOwlthur | tools:irc [2025/12/02 05:27] (current) – old revision restored (2025/10/11 10:47) Humphrey Boa-Gart | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Internet Relay Chat (IRC) ====== | ||
| + | **Internet Relay Chat** (or **IRC**) is one of the oldest chat platforms. However, it is not a service, nor an application, | ||
| + | |||
| + | Its simple no-frills interface has led to IRC being affectionately nicknamed // | ||
| + | |||
| + | |||
| + | ===== IRC Clients ===== | ||
| + | |||
| + | Below are just a handful of popular IRC clients. Each of them does things in its own way. It will be up to you to play around to see what works best for you and your particular machine. | ||
| + | |||
| + | For a full list of clients that are compatible with modern IRC servers, visit [[https:// | ||
| + | |||
| + | |||
| + | ==== Browser ==== | ||
| + | |||
| + | If you're just getting started and are feeling apprehensive about installing software right away, perhaps consider a **browser-based client** to get a feel for the IRC ecosystem first. | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ==== Desktop ==== | ||
| + | |||
| + | If you find yourself using IRC regularly, you will want to graduate from a browser-based app to something a bit more robust. Full-fledged **desktop apps** are the next step up. | ||
| + | |||
| + | * [[https:// | ||
| + | * [[github> | ||
| + | * [[github> | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ==== Terminal ==== | ||
| + | |||
| + | For powerusers who aren't afraid of [[tools: | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ==== Mobile ==== | ||
| + | |||
| + | **Mobile apps** are their own animal entirely. Here are a few options. | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ===== Guide For New Users ===== | ||
| + | |||
| + | IRC is primarily controlled with **text-based commands**. Some clients have fancy buttons and menus that replicate some of these commands for novices. However, if you plan on sticking around on IRC, you should learn some of the basic commands. | ||
| + | |||
| + | ==== Connecting to Chat Rooms ==== | ||
| + | |||
| + | Chat rooms on IRC are called **channels**, | ||
| + | |||
| + | There are many servers, none of who want demo traffic from this article, so for the sake of this article we will be joining the nonexistent **#test** channel on **irc.server.org**. In most clients, you can do this with the ''/ | ||
| + | |||
| + | /server irc.server.org | ||
| + | | ||
| + | Once you are connected, you can type ''/ | ||
| + | |||
| + | All channels are prefixed with the pound (#) sign //(like a hashtag)//. You can type ''/ | ||
| + | |||
| + | To find more servers, check out this [[https:// | ||
| + | |||
| + | ==== Managing Your " | ||
| + | |||
| + | IRC does not require registration, | ||
| + | |||
| + | Some servers have nickname registration services, allowing you to keep other people from stealing your nick. On many networks this service is called **NickServ**. | ||
| + | |||
| + | You can get a list of available NickServ options with the '' | ||
| + | |||
| + | /msg nickserv help | ||
| + | |||
| + | To register your nick, use the '' | ||
| + | |||
| + | /msg nickserv register password youremail@domain.com | ||
| + | |||
| + | To "log in" to your registered nick, use the '' | ||
| + | |||
| + | /msg nickserv identify password | ||
| + | |||
| + | Many IRC clients have an option to " | ||
| + | |||
| + | If someone is using your nickname, you can boot them off with the '' | ||
| + | |||
| + | /msg nickserv ghost yournick yourpassword | ||
| + | /msg nickserv recover yournick yourpassword | ||
| + | |||
| + | You can also link additional nicks to your account. Simply change to the new nickname you want to squat, and use the '' | ||
| + | |||
| + | /msg nickserv group yourprimarynick yourpassword | ||
| + | |||
| + | |||
| + | ==== People on IRC ==== | ||
| + | |||
| + | You will notice that people on IRC will oftentimes have symbols next to their names. This is to display their role in the server. Underlying these roles is a obtuse system of **modes** denoted by letters. From most-powerful to least-powerful, | ||
| + | |||
| + | * **Channel founders** have a '' | ||
| + | | ||
| + | * **Super-ops** or **sops** have a ''&'' | ||
| + | |||
| + | * **Ops** have a '' | ||
| + | |||
| + | * **Half-ops** or **hops** have a '' | ||
| + | |||
| + | * **Voiced users** have a '' | ||
| + | |||
| + | A user without any of these symbols/ | ||
| + | |||
| + | |||
| + | ==== Talking To Other Users ==== | ||
| + | |||
| + | To send a private message, use the ''/ | ||
| + | |||
| + | /msg nick message here blah blah dongs | ||
| + | |||
| + | In most clients, private messages appear in a little new window. | ||
| + | |||
| + | ==== Chat Etiquette ==== | ||
| + | |||
| + | Note about Lurking: SAY SOMETHING EVERY ONCE IN A WHILE. Many channels get sick of people just joining and watching, at least let them know who you are so someone doesn' | ||
| + | |||
| + | |||
| + | ===== Advanced IRC Magick ===== | ||
| + | |||
| + | IRC's simple text-based interface hides a lot of functionality. Some things which you may find useful: | ||
| + | |||
| + | |||
| + | ==== Secure IRC ==== | ||
| + | |||
| + | IRC is not the most secure platform in the world, but a few simple tricks can dramatically increase your privacy: | ||
| + | |||
| + | === IRC over VPN's === | ||
| + | |||
| + | Depending on how you are using IRC, you may not always need a [[security: | ||
| + | |||
| + | In many cases you will want to use a VPN. This is mainly because on IRC //everyone can see your hostname and IP address//. So if you do not want people tracing back to your location, connect to IRC from a VPN, or from a //via media// remote server in the cloud. | ||
| + | |||
| + | You will also want a VPN if you are working sensitive [[: | ||
| + | |||
| + | === IRC over TLS/SSL === | ||
| + | |||
| + | Most modern IRC clients support encrypted connections between client-server with TLS //(the modern successor to SSL)//. You should enable this, as it will keep people on your local network from being able to read your communications, | ||
| + | |||
| + | TLS/SSL connections are made over different ports than non-encrypted connections. For IRC, this is usually be on **Port 6697**, but it can vary from server to server. | ||
| + | |||
| + | ==== Channel Management ==== | ||
| + | |||
| + | Many servers have a service called **ChanServ** for managing channels. Use the '' | ||
| + | |||
| + | /msg chanserv help | ||
| + | |||
| + | === Registering Channels === | ||
| + | |||
| + | If you are running a channel on a server with ChanServ, it is recommended you take advantage of it and register your channel. Many services provided by ChanServ are not available unless you register your channel with it first. To do so, you will need an unregistered channel in which you are an op, and you will need a registered and identified nick: | ||
| + | |||
| + | /msg chanserv register # | ||
| + | |||
| + | |||
| + | === Managing Channel Access === | ||
| + | |||
| + | ChanServ runs on autopilot, and can be set to dole out the various op & voice modes to users. //(Note that when using ChanServ to give automatic privileges out like this, that user must be registered with NickServ first.)// | ||
| + | |||
| + | /msg ChanServ xop # | ||
| + | |||
| + | Where " | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | You can also change '' | ||
| + | |||
| + | |||
| + | === Kicking People Out === | ||
| + | |||
| + | Too much of a pussy to kick or ban someone yourself? ChanServ can do it for you! | ||
| + | |||
| + | /msg chanserv (kick|ban) # | ||
| + | |||
| + | **Note:** If the channel has signkick enabled (default), your nick will be displayed in the kick message. | ||
| + | |||
| + | ==== Secure Noticing ==== | ||
| + | |||
| + | To send a message to everyone on a channel with a certain level or higher, type this: | ||
| + | |||
| + | /notice (~|& | ||
| + | |||
| + | where the symbol represents the minimum level to send the message to (see " | ||
| + | |||
| + | Use this to share sensitive information without spais finding out. | ||
| + | |||
| + | |||
| + | ==== Custom Hostnames ==== | ||
| + | |||
| + | Normally when you join a channel, people see a long ugly hostname - a sort of long-form address that corresponds to your IP address. However, with a registered nick, you can replace your plain old hostname with a vHost, which is basically just a fake hostname that looks a lot prettier. | ||
| + | |||
| + | To request a vHost, you will typically have to message **HostServ**: | ||
| + | |||
| + | /msg hostserv request vhost@goes.here | ||
| + | |||
| + | You will then have to wait for your vHost to be approved. Some networks do it automatically after about a few hours, while other nets have it to where it must be manually approved. This command can vary from server to server, and sometimes you will have to contact a server operator directly to make it happen. | ||
| + | |||
| + | Some networks let you use real domain names as a vhost... provided you can prove you own it. This is useful if you are connecting from a cloud machine that is providing other services. (See next section) | ||
| + | |||
| + | |||
| + | ==== IRC in the Cloud ==== | ||
| + | |||
| + | IRC was developed in a time before the prevalence of mobile phones & wireless internet connections. Because of this, it is a little frustrating to use on unstable connections. Furthermore, | ||
| + | |||
| + | To get around this, you will want to set up an IRC client on a remote machine. For under $10/m, you can get a [[https:// | ||
| + | |||
| + | By running an IRC client in this type of software stack, it will stay alive 24/7 even if you disconnect or close the window. When combined with a remote machine, you can use [[tools: | ||
| + | |||
| + | |||
| + | ===== Application Specific Instructions ===== | ||
| + | |||
| + | |||
| + | ==== Configuring WeeChat ==== | ||
| + | |||
| + | Eventually you may need more functionality out of your IRC client, and when that time comes you will need a [[tools: | ||
| + | |||
| + | You can install WeeChat in Debian with the '' | ||
| + | |||
| + | $ sudo apt install weechat | ||
| + | $ weechat | ||
| + | |||
| + | WeeChat requires a little bit of configuration to get going. First off, you will need to tell WeeChat to use Dynamic Rejoining. With this set, WeeChat will remember which channels you were in last, and automatically rejoin them when you connect: | ||
| + | |||
| + | /set irc.server_default.autojoin_dynamic on | ||
| + | |||
| + | Next, you need to connect WeeChat to a server. To do this, you first need to define some details about the server: | ||
| + | |||
| + | /server add SERVERNAME irc.server.org/ | ||
| + | | ||
| + | Then, use the ''/ | ||
| + | |||
| + | /connect SERVERNAME | ||
| + | | ||
| + | Once you are connected, you can type ''/ | ||
| + | |||
| + | To keep WeeChat alive on a remote machine, simply run it inside [[tools: | ||
| + | |||
| + | |||
| + | == Autosorting Channels == | ||
| + | |||
| + | Make the following tweaks to enable sane autosorting in the channel list: | ||
| + | |||
| + | /set script.scripts.download_enabled on | ||
| + | /script install autosort.py | ||
| + | /set irc.look.server_buffer independent | ||
| + | |||
| + | | ||
| + | == Aliases == | ||
| + | |||
| + | Make your life easier by setting aliases for talking to Nickserv/ | ||
| + | |||
| + | /alias add ns /msg nickserv | ||
| + | /alias add cs /msg chanserv | ||
| + | /alias add hs /msg hostserv | ||
| + | |||
| + | |||
| + | == Custom Quit/Part Messages == | ||
| + | |||
| + | You do not need custom quit/part messages, but it's generally not a good idea to broadcast your software version to the internet //(which is Weechat' | ||
| + | |||
| + | /set irc.server_default.msg_part "" | ||
| + | /set irc.server_default.msg_quit "" | ||
| + | |||
| + | To use these same commands to set custom quit/part messages, simply place your message in the quotes. | ||
| + | |||
| + | {{tag> | ||
tools/irc.1762843352.txt.gz · Last modified: by General MacOwlthur
Find this page online at: https://bestpoint.institute/tools/irc
Find this page online at: https://bestpoint.institute/tools/irc