TopGit tracks hubotio/hubot on GitHub as part of the Automation family. The project has 16.8k stars. A customizable life embetterment robot.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Note: v10.0.4 accidentally contains the removal of CoffeeScript; v10.0.5 puts it back inNote: v11 removes CoffeeScript and converts this codebase to ESM
Hubot is a framework to build chat bots, modeled after GitHub's Campfire bot of the same name, hubot.
He's pretty cool. He's extendable with scripts and can work
on many different chat services.
This repository provides a library that's distributed by npm that you
use for building your own bots. See the documentation
for details on getting up and running with your very own robot friend.
In most cases, you'll probably never have to hack on this repo directly if you
are building your own bot. But if you do, check out CONTRIBUTING.md
Create your own Hubot instance
This will create a directory called myhubot in the current working directory.
Review scripts/example.mjs. Create more scripts in the scripts folder.
Command bus (robot.commands)
Hubot includes a deterministic command subsystem for slash-style commands. It is safe by default and does not interfere with legacy hear and respond listeners.
Commands that declare side effects will require confirmation before execution.
The user is asked to confirm. They do so like so:
@hubot yes
@hubot no
@hubot cancel
Aliases are for discovery and search only. They do not execute commands or create proposals. They are intent utterances.
Built-in Help Command
Hubot automatically registers a help command that provides command discovery and documentation:
@hubot help # List all commands
@hubot help tickets # Filter commands by prefix
@hubot help search "create ticket" # Search by keyword, alias, description, or example
Control who can execute commands using room-based and role-based permissions.
Room-Based Permissions
Restrict command execution to specific chat rooms:
robot.commands.register({
id: 'sensitive.action',
description: 'Admin-only action',
permissions: {
rooms: ['#admin', '#ops'] // Only allowed in these rooms
},
handler: async (ctx) => {
return 'Action executed!'
}
})
Users in other rooms get: Permission denied: command not allowed in this room
Role-Based Permissions
Restrict command execution to users with specific roles:
robot.commands.register({
id: 'deploy.production',
description: 'Deploy to production',
permissions: {
roles: ['admin', 'devops'] // Only users with these roles
},
handler: async (ctx) => {
return 'Deploying...'
}
})
To enable role checking, provide a permissionProvider when creating CommandBus:
const commandBus = new CommandBus(robot, {
permissionProvider: {
hasRole: async (user, requiredRoles, context) => {
// Custom logic to check if user has any of the required roles
const userRoles = await fetchUserRoles(user.id)
return requiredRoles.some(role => userRoles.includes(role))
}
}
})
Without a permission provider, role-based permissions are ignored (allow by default). Room-based permissions are always enforced.
License
See the LICENSE file for license rights and limitations (MIT).
Hubot History
Say hello to Hubot
Cartoon with Hubot
The Most Important Startup's Hardest Worker Isn't a Person
The most recent commit recorded on hubotio/hubot was 16 days ago, based on the GitHub push timestamp. The repository has 3.7k forks — one of the better signals of community interest.
How many stars does hubotio/hubot have?
hubotio/hubot has 16.8k GitHub stars — refresh the page for the live number, or check github.com/hubotio/hubot. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What language is hubotio/hubot written in?
hubotio/hubot is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
What license does hubotio/hubot use?
hubotio/hubot is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
What topics is hubotio/hubot associated with?
GitHub's repository topics for hubotio/hubot: "bot", "chat", "hubot". TopGit's editorial category is Automation.
Where can I see hubotio/hubot in action?
The project maintains a homepage at https://hubotio.github.io/hubot/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about hubotio/hubot?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/hubotio/hubot is the definitive source.
Read full README in the tab above.
Still deciding about hubot?
One click hands the question to an AI along with this page — see what it says about hubot.