{"id":30467402,"url":"https://github.com/shimotai5/emilia-bot","last_synced_at":"2025-08-24T06:04:23.525Z","repository":{"id":57224610,"uuid":"81704598","full_name":"shimotai5/emilia-bot","owner":"shimotai5","description":"Emilia-bot facilitate meeting on slack.","archived":false,"fork":false,"pushed_at":"2017-02-13T12:13:38.000Z","size":13,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T05:32:34.409Z","etag":null,"topics":["bot","meeting","slack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shimotai5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-12T05:13:28.000Z","updated_at":"2025-02-20T17:18:43.000Z","dependencies_parsed_at":"2022-09-04T07:40:21.533Z","dependency_job_id":null,"html_url":"https://github.com/shimotai5/emilia-bot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/shimotai5/emilia-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotai5%2Femilia-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotai5%2Femilia-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotai5%2Femilia-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotai5%2Femilia-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimotai5","download_url":"https://codeload.github.com/shimotai5/emilia-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotai5%2Femilia-bot/sbom","scorecard":{"id":818765,"data":{"date":"2025-08-11","repo":{"name":"github.com/shimotai5/emilia-bot","commit":"9f1b7f88a3f4e1bd26742ba1ec98bfbdcb50efd0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T14:50:56.444Z","repository_id":57224610,"created_at":"2025-08-23T14:50:56.444Z","updated_at":"2025-08-23T14:50:56.444Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271773778,"owners_count":24818336,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","meeting","slack"],"created_at":"2025-08-24T06:01:40.520Z","updated_at":"2025-08-24T06:04:23.508Z","avatar_url":"https://github.com/shimotai5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emilia-bot\n\nEmilia-bot facilitate meeting on slack.\n\n![demo](https://raw.githubusercontent.com/wiki/shimotai5/emilia-bot/images/demo.gif)\n\n## Installation\n\n`npm install emilia-bot`\n\n## Usage\n\n1. Get Client ID and Client Secret from slack api and setting.\n2. Install emilia-bot.\n3. Setup emilia-bot and serve.\n4. Authenticate slack api.\n5. Invite the bot to your team.\n\nMinimum use: \n\n```\n'use strict'\n\nconst Emilia = require('emilia-bot')\n\nlet modules = [\n  {\n    agenda: 'hello',\n    execute: function (success, failed) {\n      success({\n        text: 'hello world.'\n      })\n    }\n  }\n]\n\nnew Emilia(modules).start().catch((err) =\u003e {\n  console.error(err)\n})\n```\n\nSee example...\n\n### Control\n\nWith default settings.\n\nMessages        | Description\n----------------|----------------\n`@emilia take`  | Take attendance.\n`@emilia start` | Start meeting.\n`@emilia next`  | Execute next module.\n`@emilia prev`  | Execute prev module.\n`@emilia goto 1`| Execute specified module.\n`@emilia end`   | End meeting.\n\n\n### Module\n\nEmilia-bot manages an agenda in a unit of module.\n\nModule example: \n\n```\n{\n  agenda: 'hello',\n  execute: function (success, failed) {\n    success({\n      text: 'hello world.'\n    })\n  }\n}\n```\n\n`Execute` function is converted to promise, where the parameters `success` and `failed` are compatible with resolve and reject. The parameter for `success` function is an contents object of [attachment](https://api.slack.com/docs/message-attachments), and `failed` function parameter is a string.\n\n## Options\n\nVariables               | Type    | Description                                                                   | Required  | Default                                     \n------------------------|---------|-------------------------------------------------------------------------------|:---------:|:--------------------------------------------\nslackApiClientId        | string  |                                                                               |           | `process.env.EMILIA_SLACK_API_CLIENT_ID`\nslackApiClientSecret    | string  |                                                                               |           | `process.env.EMILIA_SLACK_API_CLIENT_ID`     \nport                    | int     | Authentication server port for the slack api.                                 |           | `process.env.EMILIA_PORT`     \nstorage                 | object  | Storage setting for [botkit](https://github.com/howdyai/botkit).      |           | `{ json_file_store: './simple_storage/' }`  \nreactionRateToNextAgenda| int     | 0.0 ~ 1.0. Reaction rate of atendees to execute next agenda.                  |           | `0.8`\n\n### Hears\n\nThe settings for the message emilia-bot responds. See [botkit](https://github.com/howdyai/botkit) Hears Event for more details.\n\nVariables       | Type            | Description | Required  | Default\n----------------|-----------------|-------------|-----------|---------------------\ntakeAttendance  | string or array |             |           | `['take']`\nstartMeeting    | string or array |             |           | `['start']`\nnextAgenda      | string or array |             |           | `['next']`\nprevAgenda      | string or array |             |           | `['prev']`\ngotoAgenda      | string or array |             |           | `['goto ([0-9]+)']`\nendMeeting      | string or array |             |           | `['end']`\n\n\n### Messages\n\nThe settings for the message posted by emilia-bot.\n\nVariables                   | Type    | Description | Required  | Default\n----------------------------|---------|-------------|-----------|--------------------------\ntakeAttendanceMsg           | string  |             |           | `@here Take attendance.`\ntakeAttendanceAttendBtnText | string  |             |           | `attend`\ntakeAttendanceAbsentBtnText | string  |             |           | `absent`\nstartMtgMsg                 | string  |             |           | `@here Start meeting`\nstartMtgAgendasTitle        | string  |             |           | `agendas`\nstartMtgAttendeesTitle      | string  |             |           | `attendees`\nendMtgMsg                   | string  |             |           | `@here End meeting.`\n\n### Setting example\n\n```\n'use strict'\n\nconst Emilia = require('emilia-bot')\n\nlet modules = [\n  {\n    agenda: 'hello',\n    execute: function (success, failed) {\n      success({\n        text: 'hello world.'\n      })\n    }\n  }\n]\n\n\nlet options = {\n  reactionRateToNextAgenda: 0.5,\n  hears: {\n    takeAttendance: ['take'],\n    startMeeting: ['start'],\n    nextAgenda: ['next'],\n    prevAgenda: ['prev'],\n    gotoAgenda: ['goto ([0-9]+)'],\n    endMeeting: ['end']\n  },\n  messages: {\n    takeAttendanceMsg: '@here Take attendance.',\n    takeAttendanceAttendBtnText: 'attend',\n    takeAttendanceAbsentBtnText: 'absent',\n    startMtgMsg: '@here Start meeting',\n    startMtgAgendasTitle: 'agendas',\n    startMtgAttendeesTitle: 'attendees',\n    endMtgMsg: '@here End meeting.'\n  }\n}\n\nnew Emilia(modules, options).start().catch((err) =\u003e {\n  console.error(err)\n})\n```\n\n## Contributing\n\nFeel free to create. If the PR is an big changes let's discuss about it on github issue first.\n\n## ToDo\n\n- [ ] Test! Test! Test!!!\n- [ ] Write docs and comments on code.\n- [ ] Implement meeting start by cron.\n\n## Reference\n\n- [slack api](https://api.slack.com/)\n- [botkit](https://github.com/howdyai/botkit)\n\n## License\n\nUnless otherwise noted, the source files are distributed under the MIT License found in the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimotai5%2Femilia-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimotai5%2Femilia-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimotai5%2Femilia-bot/lists"}