Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
hubot-meme
Advanced tools
Readme
Zero-configuration memes for your hubot via memecaptain.com
See src/meme.coffee
for full documentation.
Why hubot-meme
?
Unlike many other meme scripts, memecaptain.com requires no API key and has a painless setup. :smile:
In hubot project repo, run:
npm install hubot-meme --save
Then add hubot-meme to your external-scripts.json
:
[
"hubot-meme"
]
Can't get enough?
In your environment variables set:
HUBOT_EXTRA_MEMES=True
This switches the robot.respond
function to robot.hear
so that your Hubot will match all text in the chatroom.
user1>> hubot help meme
hubot>> [Displays all possible memes]
user1>> @hubot Generate all the memes
hubot>> http://i.memecaptain.com/gend_images/PESlaQ.jpg
See meme.coffee
Feel free to submit a pull-request if you want a meme added!
By default, I'm keeping this set of memes and commands fairly clean and appropriate for a workplace. You can extend the memes in your own bot's code by require
ing the memecaptain.coffee
file, which handles all the API interactions.
Sample:
memeGenerator = require "hubot-meme/src/lib/memecaptain.coffee"
module.exports = (robot) ->
robot.respond /(.+) (ALL the .+)/i, id: 'meme.all-the-things', (msg) ->
memeGenerator msg, 'Dv99KQ', msg.match[1], msg.match[2]
New meme images can be added at http://memecaptain.com by pasting the URL into the Load URL
then hitting enter. The src
param of the URL is your image ID.
FAQs
Zero-configuration memes for your hubot via memecaptain.com
The npm package hubot-meme receives a total of 17 weekly downloads. As such, hubot-meme popularity was classified as not popular.
We found that hubot-meme 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.