{"id":21957046,"url":"https://github.com/trussworks/affinity-groups-slackbot","last_synced_at":"2025-04-23T15:49:14.576Z","repository":{"id":40495241,"uuid":"193148114","full_name":"trussworks/affinity-groups-slackbot","owner":"trussworks","description":"We made this slackbot to allow folks to opt into private affinity groups (read: private channels) within a Slack workspace without having to out themselves or forcing a public point of contact for the group to out themselves.","archived":false,"fork":false,"pushed_at":"2025-04-08T20:37:41.000Z","size":485,"stargazers_count":1,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T21:31:34.941Z","etag":null,"topics":["affinity-groups","lgbt","lgbtqa","pride","private-channels","python","safe-spaces","slack","slackbot"],"latest_commit_sha":null,"homepage":"https://github.com/trussworks/affinity-groups-slackbot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trussworks.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":"2019-06-21T19:10:41.000Z","updated_at":"2024-12-23T11:28:57.000Z","dependencies_parsed_at":"2024-04-08T11:24:30.521Z","dependency_job_id":"08debcd1-2560-400e-acc6-589e349b7dca","html_url":"https://github.com/trussworks/affinity-groups-slackbot","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/trussworks%2Faffinity-groups-slackbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Faffinity-groups-slackbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Faffinity-groups-slackbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Faffinity-groups-slackbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trussworks","download_url":"https://codeload.github.com/trussworks/affinity-groups-slackbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250465197,"owners_count":21435155,"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":["affinity-groups","lgbt","lgbtqa","pride","private-channels","python","safe-spaces","slack","slackbot"],"created_at":"2024-11-29T08:48:54.681Z","updated_at":"2025-04-23T15:49:14.558Z","avatar_url":"https://github.com/trussworks.png","language":"Python","readme":"# affinity groups slackbot\n\nWe made this slackbot to allow folks to apply for admission into private affinity groups within a Slack workspace without forcing a public point of contact for the group to out themselves.\n\n\n## dev environment\n\nTo work with the slackbot \u0026 test locally, you'll need:\n\n- Python 3.6 or higher\n  - Poetry\n- Some linting is performed by pre-commit, so don't forget to `pre-commit install`\n\n\n### working with the code\n\nInstall dependencies with command `poetry install` and keep them up-to-date with `poetry lock`.\n\nTo spin up the code locally, build the docker image via `docker build -t affinity:latest .` and `docker run -p 9000:8080 affinity:latest`\n\n\n### running the tests\n\nYou can run the tests from project root with command `poetry run pytest`.\n\n\n### deploying code to production\n\nFor Truss's instance of this bot, we have configured this to happen automatically on new commits to the `main` branch.\nGitHub Actions will build and push the docker image to an ECR repository in the `trussworks-prod` AWS account.\nIn order to redeploy the lambda with the new image, you must copy and replace the image uri of the latest image into the Terraform located in `trussworks-prod/affinity-groups-slackbot/main.tf` for `local.image_uri` then apply.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussworks%2Faffinity-groups-slackbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrussworks%2Faffinity-groups-slackbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussworks%2Faffinity-groups-slackbot/lists"}