Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
This is the IRC adapter for hubot. For discussion about this adapter, join #hubot-irc
on irc.freenode.net
.
This is just the irc adapter for the hubot, not the full runnable hubot package. You shouldn't have to hack on this code directly or clone it unless you want to add features or fix bugs.
If you want a packaged hubot ready to run try hubot-irc-runnable
This bot is now upgraded to Hubot 2.3. You should specify 0.0.8 as your hubot-irc dependency for older versions of Hubot (<2.3.0).
npm install hubot-irc --save
in the extracted Hubot 2
directory to add the hubot-irc
adapter to your dependencies.npm install
set
for export
)
bin/hubot -a irc
You will need to set some environment variables to use this adapter.
% heroku config:add HUBOT_IRC_NICK="hubot"
% heroku config:add HUBOT_IRC_ROOMS="#hubot,#hubot-irc"
% heroku config:add HUBOT_IRC_SERVER="irc.freenode.net"
% export HUBOT_IRC_NICK="hubot"
% export HUBOT_IRC_ROOMS="#hubot,#hubot-irc"
% export HUBOT_IRC_SERVER="irc.freenode.net"
The hubot-irc
adapter has a number of configurable options based on different community contributions.
# Don't join other rooms or respond to PM's
HUBOT_IRC_PRIVATE = true
# Send messages via notice instead of say
HUBOT_IRC_SEND_NOTICE_MODE = true
# Issue an irc command once connected to the server.
HUBOT_IRC_CONNECT_COMMAND = NICKSERV blah thing1
gem install foreman
git clone https://github.com/github/hubot.git
cd hubot
# this next line makes a deployable version of the bot for heroku or local deployments
make package
mv hubot/ ../testbot
cd ../testbot
- modify package.json to include the version of hubot-irc to test with either an official release or from your local repo
for an example see this https://gist.github.com/3148311
- modify Procfile, change adapter (-a option) to "irc" and change the name (-n option) of the bot
- make sure you followed the usage section from above to set the environment variables (Non-Heroku section)
foreman start
...and that is it
Here's the most direct way to get your work merged into the project.
Copyright © Fernando Ortiz. MIT License; see LICENSE for further details.
FAQs
IRC adapter for Hubot 3.0
The npm package hubot-irc2 receives a total of 0 weekly downloads. As such, hubot-irc2 popularity was classified as not popular.
We found that hubot-irc2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.