{"id":20570229,"url":"https://github.com/gasolin/webbybot","last_synced_at":"2025-04-14T16:52:34.888Z","repository":{"id":67239518,"uuid":"51367748","full_name":"gasolin/webbybot","owner":"gasolin","description":"chatterbot written in es6 (es2015), fork from hubot","archived":false,"fork":false,"pushed_at":"2020-12-28T07:33:10.000Z","size":179,"stargazers_count":68,"open_issues_count":19,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T11:03:14.928Z","etag":null,"topics":["bot","chat","chatbot","hubot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gasolin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-09T13:17:49.000Z","updated_at":"2023-10-07T13:04:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b577d171-eb0b-43ac-9c29-5e1838aac883","html_url":"https://github.com/gasolin/webbybot","commit_stats":{"total_commits":179,"total_committers":5,"mean_commits":35.8,"dds":0.04469273743016755,"last_synced_commit":"319faf3f51184a616e0aa3fa762e1317b5336f35"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasolin%2Fwebbybot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasolin%2Fwebbybot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasolin%2Fwebbybot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasolin%2Fwebbybot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gasolin","download_url":"https://codeload.github.com/gasolin/webbybot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732483,"owners_count":21152852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","chat","chatbot","hubot"],"created_at":"2024-11-16T05:11:43.725Z","updated_at":"2025-04-14T16:52:34.881Z","avatar_url":"https://github.com/gasolin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webbybot\n\n**THIS PROJECT IS NOT MAINTAINED, please consider [Hubot](https://github.com/hubotio/hubot) or my client-side attempt [Saihubot](https://github.com/gasolin/saihubot) **\n\n[![Build Status](https://travis-ci.org/gasolin/webby.png)](https://travis-ci.org/gasolin/webbybot) [![codecov.io](https://codecov.io/github/gasolin/webbybot/coverage.svg?branch=master)](https://codecov.io/github/gasolin/webbybot?branch=master) [![Dependency Status](https://david-dm.org/gasolin/webbybot.svg)](https://david-dm.org/gasolin/webbybot) [![npm](https://img.shields.io/npm/v/webbybot.svg)](https://www.npmjs.com/package/webbybot)\n[![Join the chat at https://gitter.im/gasolin/webbybot](https://badges.gitter.im/gasolin/webbybot.svg)](https://gitter.im/gasolin/webbybot?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[Webbybot](https://github.com/gasolin/webbybot/) is the next generation framework to build message/chat bots, written in ES6 and plain javascript.\nFully compatible with [Hubot](https://github.com/github/hubot)'s middleware and plugins.\n\nThe Differences:\n\n* Port hubot from CoffeeScript to ES6 (plain JS) with babel.\n* Auto test coverage report with Codecov.\n* Auto linting with eslint.\n* Support .env file to setup system parameters\n* robot.router upgraded to Express 4.x\n\nThe Same:\n\n* Still support hubot plugins written in coffeescript.\n* Can reuse hubot adapters*\n* Auto continue integration with Travis CI.\n* [How it works](https://github.com/github/hubot/blob/master/docs/implementation.md)(for now)\n* Support write plugin with plain Javascript\n\n## How to try Webbybot\n\nYou can start from [webby-template](https://github.com/gasolin/webby-template) , a template for make a working webby bot\n\n```shell\n$ git clone https://github.com/gasolin/webby-template.git demo\n$ cd demo\n$ npm install\n$ ./bin/webby\n```\n\nYou can find and install extra skills from [npm](https://www.npmjs.com/search?q=hubot)\n\nEnable a skill in `external-scripts.json`.\n\nAdd the environment variables in [.env](https://www.npmjs.com/package/dotenv) file.\n\n\n## How to replace Hubot to Webbybot\n\nRefer to [Getting Started With Hubot](https://hubot.github.com/docs/),\nInstall hubot generator first\n\n```shell\nnpm install -g yo generator-hubot\n```\n\nThen generate your robot with\n```shell\nyo hubot\n```\n\n1. Enter the folder, edit `bin/hubot` and replace `hubot` to `webby`.\n\n2. install webbybot package\n\n```shell\nnpm install --save webbybot\n```\n\n3. modify adapter's dependency\n\nLet's take telegram adapter for example. Edit `node_modules/hubot-telegram/src/telegram.coffee` and replace first line `require 'hubot'` to `require 'webbybot'`.\n\nstart your bot as normal\n\n```shell\n./bin/hubot\n```\n\nTested with `hubot-telegram` and `hubot-messenger`.\n\n## Development\n\n```shell\n$ npm install -g mocha\n```\n\n### Build\n\nrun command\n\n```shell\n$ npm run build\n```\n\n### Add plugins\n\n```shell\n$ npm install hubot-calculator hubot-diagnostics\n```\n\nAdd external-scripts.json file which contain:\n\n```javascript\n[\n  \"hubot-diagnostics\",\n  \"hubot-calculator\"\n]\n```\n\n### Run\n\nrun command\n\n```shell\n$ node ./bin/webby\nwebby \u003e ping\nwebby \u003e PONG\nwebby \u003e echo hello\nwebby \u003e hello\nwebby \u003e webby calc 1 + 1\nwebby \u003e 2\n```\n\n### Test\n\n```shell\n$ npm test\n```\n\n### Lint\n```shell\n$ npm run lint\n```\n\n### Write your own plugin\n\nYou can clone [webby-plugin](https://github.com/gasolin/webby-plugin) template to get start.\n\n[webby-template](https://github.com/gasolin/webby-template) already bundled with webby-plugin. You can check how it work for reference.\n\n## License\n\n[MIT license](https://en.wikipedia.org/wiki/MIT_License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgasolin%2Fwebbybot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgasolin%2Fwebbybot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgasolin%2Fwebbybot/lists"}