{"id":15714464,"url":"https://github.com/hideack/slack-cli-stream","last_synced_at":"2025-05-08T19:36:55.077Z","repository":{"id":20620237,"uuid":"90446985","full_name":"hideack/slack-cli-stream","owner":"hideack","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-05T02:28:19.000Z","size":800,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T08:09:03.960Z","etag":null,"topics":["cli","slack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hideack.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-06T07:56:59.000Z","updated_at":"2025-02-14T13:49:13.000Z","dependencies_parsed_at":"2023-12-29T08:25:03.193Z","dependency_job_id":"cb41af4e-9227-4ab4-8122-75866c7efb71","html_url":"https://github.com/hideack/slack-cli-stream","commit_stats":{"total_commits":298,"total_committers":5,"mean_commits":59.6,"dds":0.4295302013422819,"last_synced_commit":"a001dbaa56b9d8059871088fd4d05dcdf9ccd156"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hideack%2Fslack-cli-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hideack%2Fslack-cli-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hideack%2Fslack-cli-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hideack%2Fslack-cli-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hideack","download_url":"https://codeload.github.com/hideack/slack-cli-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253135539,"owners_count":21859663,"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":["cli","slack"],"created_at":"2024-10-03T21:37:19.200Z","updated_at":"2025-05-08T19:36:54.988Z","avatar_url":"https://github.com/hideack.png","language":"JavaScript","readme":"# slack-cli-stream\n\n[![Node.js CI](https://github.com/hideack/slack-cli-stream/actions/workflows/node.js.yml/badge.svg)](https://github.com/hideack/slack-cli-stream/actions/workflows/node.js.yml)\n\n## Installation\n\n```\n$ npm install -g slack-cli-stream\n```\n\n## Usage\n### default\n\n```\n$ slack-cli-stream --token xoxp-**********\n```\n\n- You can generate a tokens here: \n  - https://api.slack.com/custom-integrations/legacy-tokens\n\n### settings\n\n```\n$ slack-cli-stream --settings setting.yaml\n```\n\n#### setting.yaml\n- token: 【必須】Slackトークン\n- twitter: 【任意】twitter APIのconsumer, accessのそれぞれのkey, secret\n- hooks\n  - user: フックさせる際に対象ユーザーを固定する場合に指定\n  - channel: フックさせる際に対象チャンネルを固定する場合に指定\n  - keyword: 特定のキーワードのみにフックさせる場合に指定\n  - cron: 設定に記載したhookの発動条件をcron表記で指定\n  - hook: フック条件に合致し、発火した場合に実行するコマンドを記述\n- theme\n  - text: メッセージ表示色\n  - date: 日付表示職\n\n```yaml\ntoken: xoxp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ntwitter:\n  consumer_key: ***\n  consumer_secret: ***\n  access_token_key: ***\n  access_token_secret: ***\nhooks:\n  -\n    user: hideack\n    hook: curl -X PUT https://pixe.la/v1/users/hideack/graphs/slack-message/increment -H 'X-USER-TOKEN:xxxx' -H 'Content-Length:0'\n  -\n    user: hideack\n    channel: general\n    keyword: hello\n    hook: say hello\n  -\n    cron: \"*/5 12-23 * * *\"\n    hook: \"curl -X POST -d \"fizz=buzz2\" http://requestbin.fullcontact.com/xxxxxxx\"\ntheme:\n  text: green\n  date: green\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\n\nApache-2.0\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhideack%2Fslack-cli-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhideack%2Fslack-cli-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhideack%2Fslack-cli-stream/lists"}