{"id":22242374,"url":"https://github.com/manzanit0/zagakubot","last_synced_at":"2026-04-10T21:06:18.351Z","repository":{"id":127186629,"uuid":"187652430","full_name":"manzanit0/zagakubot","owner":"manzanit0","description":"Simple bot to learn how to develop bots for Slack","archived":false,"fork":false,"pushed_at":"2019-05-20T14:06:20.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T09:41:51.856Z","etag":null,"topics":["nodejs","slack","slack-bot"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/manzanit0.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":"2019-05-20T14:06:05.000Z","updated_at":"2019-05-20T14:07:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fc78332-256d-4676-adf6-2d0f0052c3de","html_url":"https://github.com/manzanit0/zagakubot","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/manzanit0%2Fzagakubot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2Fzagakubot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2Fzagakubot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2Fzagakubot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manzanit0","download_url":"https://codeload.github.com/manzanit0/zagakubot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245449441,"owners_count":20617185,"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":["nodejs","slack","slack-bot"],"created_at":"2024-12-03T04:16:01.113Z","updated_at":"2026-04-10T21:06:18.321Z","avatar_url":"https://github.com/manzanit0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zagakubot\n\nThis repository is meant to serve as a basic example of a bot application\nin the Slack service.\n\nThe application is very simple: It's a node/express application\nwhich has a single POST endpoint to set up a webhook against the Slack API.\n\nTo further enhance the web app and enable distribution to different Slack teams,\nit also has a `/oauth` endpoint.\n\n## Getting started\n\nSimply clone the repository, and run the standard:\n\n```\nnpm install\nnpm run\n```\n\nYou should see something along the lines of:\n\n```\n\u003e zagakubot@0.1.0 start /Users/you_user/some/directory/zagakubot\n\u003e node src/index.js\n\nExample app listening on port 4390\n```\n\n## Using ngrok\n\nIn order to be able to test the bot locally without deploying it to the cloud, you can use\n[ngrok](https://ngrok.com/). Ngrok is a library for tunneling local applications.\n\nTo install ngrok you can download it from the official web. In this case, I suggest creating\na symlink so you can access the application from anywhere:\n```\n# cd into your local bin directory\ncd /usr/local/bin\n\n# create symlink\nln -s /Applications/ngrok ngrok\n```\n\nIn case you're in OSX, it's available in Homebrew:\n\n```\nbrew cask install ngrok\n```\n\nLasty, as a third option, there is also a package in npm:\n\n```\nnpm install -g ngrok\n```\n\nOnce you have ngrok installed, using it is trivial. Simply run `ngrok http [port number]` to tunnel\nthe application running on the input port. In this specific case, it would be port `4390`.\n\nWhen we run `ngrok http 4390`,it  will give us a couple of URLs similar to  *https://3cffa067.ngrok.io*.\nThose are the ones which we will reference in the Slack API to access our application.\n\n## References\n\nThis example has been developed with: https://api.slack.com/tutorials/tunneling-with-ngrok\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanzanit0%2Fzagakubot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanzanit0%2Fzagakubot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanzanit0%2Fzagakubot/lists"}