{"id":24835726,"url":"https://github.com/john-data-chen/slack_slash_commands_template","last_synced_at":"2025-03-26T03:26:51.245Z","repository":{"id":89332887,"uuid":"572330309","full_name":"john-data-chen/slack_slash_commands_template","owner":"john-data-chen","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-30T03:18:21.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T04:51:37.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/john-data-chen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-30T03:11:21.000Z","updated_at":"2022-11-30T03:18:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"897d24fc-a9c7-4710-a29b-935d7f7f89cd","html_url":"https://github.com/john-data-chen/slack_slash_commands_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-data-chen%2Fslack_slash_commands_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-data-chen%2Fslack_slash_commands_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-data-chen%2Fslack_slash_commands_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-data-chen%2Fslack_slash_commands_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/john-data-chen","download_url":"https://codeload.github.com/john-data-chen/slack_slash_commands_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245582097,"owners_count":20639094,"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":"2025-01-31T04:51:33.985Z","updated_at":"2025-03-26T03:26:51.239Z","avatar_url":"https://github.com/john-data-chen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack Slash Commands\nthis is a template of Slack Slash Commands bulit on Cloud Functions of Google Cloud Platform \u003cbr /\u003e\n\n## how to use it?\nin slack, enter command such as: /command xxxx \u003cbr /\u003e\n\n\n## how to setup GCP cloud functions?\nEnvironment: 2nd gen \u003cbr /\u003e\nRegion: asia-east1 (because my office is in Taiwan, so choose this region, you can pick another region where your office is) \u003cbr /\u003e\nTrigger: HTTP, Allow unauthenticated invocations and require HTTPS \u003cbr /\u003e\nRuntime environment variables: add a variable to save SLACK_SIGNING_SECRET \u003cbr /\u003e\nChoose Code Runtime: Python 3.10 \u003cbr /\u003e\nEntry point: example, modify by yourself \u003cbr /\u003e\nreference: \u003chttps://cloud.google.com/functions/docs/tutorials/slack\u003e \u003cbr /\u003e\n\n## how to fix timeout issue?\nthis issue can't be fixed, we only can set the max waiting time 3600 seconds in RUNTIME - Timeout settings. \u003cbr /\u003e\nAfter 1 hour of no activity, send a command to bot, it still returns a timeout error. \u003cbr /\u003e\nAfter bot's timeout error, it will work again in one hour \u003cbr /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-data-chen%2Fslack_slash_commands_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohn-data-chen%2Fslack_slash_commands_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-data-chen%2Fslack_slash_commands_template/lists"}