{"id":16696907,"url":"https://github.com/seratch/bolt-on-cloud-functions-for-firebase","last_synced_at":"2025-03-21T19:31:31.563Z","repository":{"id":38805526,"uuid":"196926968","full_name":"seratch/bolt-on-cloud-functions-for-firebase","owner":"seratch","description":"Read this issue first - https://github.com/slackapi/bolt/issues/361","archived":false,"fork":false,"pushed_at":"2023-01-09T19:28:35.000Z","size":224,"stargazers_count":24,"open_issues_count":7,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-13T17:45:38.014Z","etag":null,"topics":["bolt","cloud-functions-for-firebase","slack","slack-api","slack-bot"],"latest_commit_sha":null,"homepage":"https://github.com/slackapi/bolt/issues/361","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/seratch.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":"2019-07-15T05:00:54.000Z","updated_at":"2024-04-19T09:45:18.000Z","dependencies_parsed_at":"2023-02-08T13:46:42.576Z","dependency_job_id":null,"html_url":"https://github.com/seratch/bolt-on-cloud-functions-for-firebase","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/seratch%2Fbolt-on-cloud-functions-for-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fbolt-on-cloud-functions-for-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fbolt-on-cloud-functions-for-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fbolt-on-cloud-functions-for-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seratch","download_url":"https://codeload.github.com/seratch/bolt-on-cloud-functions-for-firebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221817810,"owners_count":16885633,"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":["bolt","cloud-functions-for-firebase","slack","slack-api","slack-bot"],"created_at":"2024-10-12T17:45:13.483Z","updated_at":"2024-10-28T10:39:06.111Z","avatar_url":"https://github.com/seratch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bolt app running on Cloud Functions for Firebase\n\nThis is a simple Bolt app which runs on Cloud Functions for Firebase.\n\n* https://slack.dev/bolt-js/\n* https://firebase.google.com/docs/functions\n\n## Setup\n\nUse node 12.x and its corresponding npm.\n\n```bash\ncp _firebaserc .firebaserc\nvi .firebaserc # set your own project\n\nnpm install -g firebase-tools\nfirebase login\nfirebase functions:config:set slack.signing_secret=xxx\nfirebase functions:config:set slack.bot_token=xoxb-111-111-xxx\n```\n\n## How to run the app on your laptop\n\n```bash\ncd functions\nnpm i\ncd -\nfirebase functions:config:get \u003e .runtimeconfig.json\nfirebase serve\n```\n\n## How to deploy\n\n```bash\nfirebase deploy\n```\n\n## How to configure Slack apps/Firebase\n\n### Slack App\n\nhttps://api.slack.com/apps\n\n* Set `https://{your domain}.cloudfunctions.net/slack/events` as the Request URL for `/echo-from-firebase` slash command.\n* Add `commands`, `chat:write` scopes\n* Install the app to your development workspace\n\n### Cloud Functions for Firebase\n\nYou have nothing to configure. Don't forget enabling the billing info if it's your first time to use it.\n\n## How to make sure if it works\n\n* Go the development Slack workspace\n* Invite the bot user to a channel\n* Run `/echo-from-firebase` in the channel\n* Verify the bot replies to you - You said \"xxx\"\n\n## LICENSE  \n\nThe MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fbolt-on-cloud-functions-for-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseratch%2Fbolt-on-cloud-functions-for-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fbolt-on-cloud-functions-for-firebase/lists"}