{"id":16283132,"url":"https://github.com/bang9/slack-script-runner-bot-template","last_synced_at":"2026-04-13T18:02:39.034Z","repository":{"id":42435132,"uuid":"478001980","full_name":"bang9/slack-script-runner-bot-template","owner":"bang9","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-06T11:02:30.000Z","size":883,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T03:47:09.926Z","etag":null,"topics":["bot","js","runner","script","slack","slack-bot","slack-js-run","slack-script","slack-script-bot","vm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bang9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-05T06:27:25.000Z","updated_at":"2022-04-05T09:12:47.000Z","dependencies_parsed_at":"2022-09-10T09:02:39.675Z","dependency_job_id":null,"html_url":"https://github.com/bang9/slack-script-runner-bot-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/bang9/slack-script-runner-bot-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fslack-script-runner-bot-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fslack-script-runner-bot-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fslack-script-runner-bot-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fslack-script-runner-bot-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bang9","download_url":"https://codeload.github.com/bang9/slack-script-runner-bot-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fslack-script-runner-bot-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","js","runner","script","slack","slack-bot","slack-js-run","slack-script","slack-script-bot","vm"],"created_at":"2024-10-10T19:12:40.332Z","updated_at":"2026-04-13T18:02:39.018Z","avatar_url":"https://github.com/bang9.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-script-runner\n\n슬랙에서 JS 코드를 실행하기 위한 봇의 템플릿입니다.\n\n# 봇에 필요한 기능\n\n- Features/Interactivity \u0026 Shortcuts/Shortcuts 에서 아래의 작업 수행\n  - Shortcuts 를 `On message` 타입으로 생성\n  - Interactivity/Request url 에 `https://your-server-url.com/run` 경로 추가\n- Features/OAuth \u0026 Permissions/Scopes 에서 아래의 권한 추가\n  - channels:join\n  - chat:write\n  - commands\n\n# 환경변수\n\n- SLACK_TOKEN: `xoxb`로 시작하는 봇의 토큰, Features/OAuth 에서 확인가능\n- PORT: 봇 앱이 실행될 포트번호\n\n# 슬랙에서 실행 방법\n\n- 메세지에 ` ```markdown``` ` 형태로 코드를 작성합니다.\n- 코드의 마지막줄에 `return` 으로 반환해야 하고, 넘버/스트링/불리언 등의 값만 표현 가능합니다. (객체를 반환하고 싶다면 JSON.stringify 를 사용하세요)\n- 코드는 여러 구문 입력이 가능합니다.\n- 작성된 메세지의 추가작업을 Shortcuts 를 이용해서 메세지에 작성된 코드를 실행합니다.\n- 실행된 코드의 반환값이 메세지의 쓰레드로 달립니다.\n\n---\n\n\u003cimg src='./img/1.png' alt=\"1\"/\u003e\n\u003cimg src='./img/2.png' alt=\"2\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbang9%2Fslack-script-runner-bot-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbang9%2Fslack-script-runner-bot-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbang9%2Fslack-script-runner-bot-template/lists"}