npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

n8n-nodes-irc

v0.1.2

Published

Send messages to IRC with n8n

Downloads

5

Readme

n8n-nodes-irc

This is an n8n community node. It lets you send messages to IRC in your n8n workflows.

IRC (Internet Relay Chat) is a chat platform, over 20 years old.

n8n is a fair-code licensed workflow automation platform.



Installation

Follow the installation guide in the n8n community nodes documentation.

Usage

Create a channel on an IRC network, for example Libera.chat or OFTC. You could also setup your own IRC server.

You may also want to register an account for the n8n integration. You should check the account registration documentation for the network you're using with the /ns help register command.

If you're new to n8n, check out the documentation to get started.

Credentials

The IRC credential controls the IRC network, nickname, and account being used.

Here are the basics:

  1. Enter the hostname of the IRC server in the Host field.
  2. If the network either uses self-signed TLS certificates, does not support TLS, or uses a custom port (not 6697), check out the Using Custom Connection Details section below.
  3. Enter your desired nickname in the Nickname field.
  4. If you want the bot to login to an account, check out the Logging into an Account section below.
  5. Click on the Save button to save your credentials.

Using Custom Connection Details

The default port/TLS credentials should configure a safe, secure network setup. These settings will be correct for the majority of publicly-available networks out there.

However, if you're running your own network or one that doesn't conform to standard IRC configurations, you may need to change these settings.


Most servers use port 6697 for TLS IRC and 6667 for plaintext IRC. Here's how to change these for your network:

  1. Confirm the Use TLS field is correctly set.
  2. Enter the port number to use in the Port field.

Disabling TLS

If you want to disable TLS (use plaintext) then disable the Use TLS field near the bottom of the node.

Allowing Self-Signed TLS Certificates

Some servers support TLS, but don't provide signed certificates. If you want to connect to these servers, you'll need to disable the Force TLS Certificate Validation field.

Using a Random Nickname

When you have a lot of IRC nodes running at once, their nicknames can conflict. By default the node will add underscores to try and find an unused nickname. This isn't perfect, but should work fine in most cases.

You can use this expression in the Nickname field to automatically select a random nickname each time the node runs (you can click on Add Expression and paste this):

n8n-{{Math.floor(Math.random()*1000).toString().padStart(4,'0')}}

Logging into an Account

Most IRC networks let you use SASL to login to your account. For example, the Libera.Chat SASL configuration page is here.

To configure SASL, you can do the following.

  1. Change the Account Login field to SASL PLAIN.
  2. Enter your account name in the Account Name field.
  3. Enter your account password in the Account Password field.
  4. Confirm the Only connect if SASL is successful field is correctly set. When set, the IRC node will fail if it can't login to your account.

Compatibility

...

Resources

Version history

...