{"id":22589077,"url":"https://github.com/jwhittle933/elixirbot","last_synced_at":"2025-03-28T17:45:03.248Z","repository":{"id":97531411,"uuid":"209879710","full_name":"jwhittle933/Elixirbot","owner":"jwhittle933","description":"Elixirbot: a Slack bot for Elixir execution. ","archived":false,"fork":false,"pushed_at":"2019-10-09T19:28:12.000Z","size":13674,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T18:33:09.214Z","etag":null,"topics":["elixir","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/jwhittle933.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-09-20T20:56:19.000Z","updated_at":"2020-05-26T14:18:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"59a348f9-a16b-46f2-8cad-7991ded865fa","html_url":"https://github.com/jwhittle933/Elixirbot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwhittle933%2FElixirbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwhittle933%2FElixirbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwhittle933%2FElixirbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwhittle933%2FElixirbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwhittle933","download_url":"https://codeload.github.com/jwhittle933/Elixirbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246073876,"owners_count":20719563,"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":["elixir","slack-bot"],"created_at":"2024-12-08T08:12:08.927Z","updated_at":"2025-03-28T17:45:03.219Z","avatar_url":"https://github.com/jwhittle933.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixirbot\n\n_For testing basic Elixir execution and sharing code samples with team members._\n\n### Description\nElixir integration for Slack. This bot is privately deployed (and will stay that way for the foreseeable future, unless someone wants to host this publically :) ). To integrate into your slack channel, clone the repo (or fork it and make it better), build the docker image, and deploy to your favorite cloud. The Makefile at the root can be configured to meet your needs and do some heavy lifting. \n\n### Configuration and Deployment\nTo configure this bot (or any bot) you need to register it with your Slack channel. One registered, you need to associate a 'slash' command (`/helix` was my choice) and configure permissions. For this bot, you need to ensure the it has `chat:write:bot`, `chat:write:user`, and `channels:read`. The bot as is doesn't use webhooks to respond (not directly), but just responds to the `post` request as it would any other request, seemingly agnostic to where the request came from. In other words, Elixir bot is an API, nothing more. My choice of deployment is AWS EC2, but GCP and Heroku are also good options (although they need to be configured differently). \n\n### Example Uses\n`/helix 10 + 10`\n```\nElixirbot\u003e 20\n```\n\n`/helix Enum.map([1, 2, 3], fn x -\u003e x * 2 end)`\n```\nElixirbot\u003e [2, 4, 6]\n```\n\n`/helix x = fn x -\u003e x / 2 end \\n x.(6)`\n\u003e the newline here is for reference. In Slack, hold SHFT + ENTER to create newline\n```\nElixirbot\u003e 3\n```\n\n### Unsupported\nNo `def*` methods are supported, as this bot is not inteded to be `iex` in Slack. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwhittle933%2Felixirbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwhittle933%2Felixirbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwhittle933%2Felixirbot/lists"}