{"id":21611285,"url":"https://github.com/runnerty/executor-confirmation","last_synced_at":"2025-03-18T16:04:43.543Z","repository":{"id":42238688,"uuid":"92287215","full_name":"runnerty/executor-confirmation","owner":"runnerty","description":"Runnerty module: Confirm executor","archived":false,"fork":false,"pushed_at":"2022-12-12T02:55:45.000Z","size":207,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T12:12:42.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/runnerty.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-05-24T11:57:15.000Z","updated_at":"2021-04-30T01:26:47.000Z","dependencies_parsed_at":"2023-01-27T12:00:44.105Z","dependency_job_id":null,"html_url":"https://github.com/runnerty/executor-confirmation","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-confirmation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-confirmation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-confirmation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-confirmation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runnerty","download_url":"https://codeload.github.com/runnerty/executor-confirmation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166707,"owners_count":20409178,"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":[],"created_at":"2024-11-24T21:11:51.012Z","updated_at":"2025-03-18T16:04:43.507Z","avatar_url":"https://github.com/runnerty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://runnerty.io\"\u003e\n    \u003cimg height=\"257\" src=\"https://runnerty.io/assets/header/logo-stroked.png\"\u003e\n  \u003c/a\u003e\n  \u003cp align=\"center\"\u003eSmart Processes Management\u003c/p\u003e\n\u003c/p\u003e\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]\n\u003ca href=\"#badge\"\u003e\n\u003cimg alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\"\u003e\n\u003c/a\u003e\n\n# Confirm executor for [Runnerty]:\n\nExecutor for Runnerty integrated with Telegram. It sends a message to your Telegram chat and waits for an answer to continue or stop the chain.\n\n### Installation:\n\nThrough NPM\n\n```bash\nnpm i @runnerty/executor-confirmation\n```\n\nYou can also add modules to your project with [runnerty-cli]\n\n```bash\nnpx runnerty-cli add @runnerty/executor-confirmation\n```\n\nThis command installs the module in your project, adds example configuration in your `config.json` and creates an example plan of use.\n\nIf you have installed [runnerty-cli] globally you can include the module with this command:\n\n```bash\nrty add @runnerty/executor-confirmation\n```\n\n### Configuration sample:\n\nAdd in [config.json]:\n\n```json\n{\n  \"id\": \"confirmation_default\",\n  \"type\": \"@runnerty-executor-confirmation\",\n  \"token\": \"ABC123\",\n  \"chatId\": \"ABC123\"\n}\n```\n\n### Plan sample:\n\nAdd in [plan.json]:\n\n```json\n{\n  \"id\": \"confirmation_default\",\n  \"message\": \"Message\",\n  \"confirm_button_message\": \"ok button message\",\n  \"cancel_button_message\": \"cancel button message\",\n  \"confirm_message\": \"confirmation message\",\n  \"cancel_message\": \"cancel message\"\n}\n```\n\nIf you set a timeout to your proccess, by default, this will end with cancel. There is an optional field to configure that. If \"ok\" is indicated in this option, the process will end with ok.\n\n```json\n{\n  \"action_on_timeout\": \"ok\"\n}\n```\n\nThere is also an option to include authorized users. Telegram's user name or Id can be indicated in this field. If it is included, only these users are allowed to interactuate.\n\n```json\n{\n  \"authorized_users\": [\"user_name_1\", \"user_id_2\"]\n}\n```\n\n[runnerty]: http://www.runnerty.io\n[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-confirmation.svg\n[npm-url]: https://www.npmjs.com/package/@runnerty/executor-confirmation\n[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-confirmation.svg\n[david-badge]: https://david-dm.org/runnerty/executor-confirmation.svg\n[david-badge-url]: https://david-dm.org/runnerty/executor-confirmation\n[config.json]: http://docs.runnerty.io/config/\n[plan.json]: http://docs.runnerty.io/plan/\n[runnerty-cli]: https://www.npmjs.com/package/runnerty-cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnerty%2Fexecutor-confirmation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunnerty%2Fexecutor-confirmation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnerty%2Fexecutor-confirmation/lists"}