{"id":16971583,"url":"https://github.com/thomastjdev/nim_slack","last_synced_at":"2026-04-19T06:38:29.588Z","repository":{"id":87657518,"uuid":"99253081","full_name":"ThomasTJdev/nim_slack","owner":"ThomasTJdev","description":"Nim-lang bot for Slack - receiving commands, responding and sending messages ","archived":false,"fork":false,"pushed_at":"2017-08-03T16:38:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T20:16:11.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nim","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/ThomasTJdev.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-08-03T16:24:38.000Z","updated_at":"2017-08-03T16:40:09.000Z","dependencies_parsed_at":"2023-03-11T13:45:31.878Z","dependency_job_id":null,"html_url":"https://github.com/ThomasTJdev/nim_slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThomasTJdev/nim_slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasTJdev","download_url":"https://codeload.github.com/ThomasTJdev/nim_slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016089,"owners_count":26085802,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-14T00:52:47.211Z","updated_at":"2025-10-13T16:32:19.818Z","avatar_url":"https://github.com/ThomasTJdev.png","language":"Nim","readme":"# nim_slack\nNim-lang newAsyncHttpServer for receiving commands, responding and sending messages \n\n# General\n\nThis nim file was created with the purpose to control a Raspberry Pi 3.\n\nWhen running the main.nim a newAsyncHttpServer will spawn and listen for incoming connections. I has two ways to act:\n1) Responding with a challenge to verify the connection with slack\n2) Parsing a command and responding\n\n# Prerequisites\n\n## Slack account\nGet a slack account (https://slack.com)\n\n## Slack app\nYou need to build a slack app to communicate with.\n\n1) Create a new slack app (https://api.slack.com/apps/new)\n2) Permissions: Incoming webhooks, Slash commands, Permissions\n3) Install the app to your team\n4) Scopes: commands, incoming webhooks\n\n## Adjust the main.nim\n\nAdjust the parameters:\n1) const incomingWebhookUrl \u003c-- the incoming webhook URL from you slack app\n2) const slackPort \u003c-- the port opened in your router\n\n## Router\n\nYou need to open the port in your router according to the specificed port in main.nim\n\n# Run\n\nRun it with:\n\n`nim c -d:ssl main.nim`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomastjdev%2Fnim_slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomastjdev%2Fnim_slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomastjdev%2Fnim_slack/lists"}