{"id":21458823,"url":"https://github.com/scav/slack-sotw","last_synced_at":"2026-05-22T05:13:06.990Z","repository":{"id":37179322,"uuid":"288578410","full_name":"scav/slack-sotw","owner":"scav","description":"Simple bot for running a music competition through Slack","archived":false,"fork":false,"pushed_at":"2023-01-20T22:44:45.000Z","size":205,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T13:45:07.557Z","etag":null,"topics":["fun","music","rust","slack"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/scav.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}},"created_at":"2020-08-18T22:35:44.000Z","updated_at":"2020-10-17T16:03:50.000Z","dependencies_parsed_at":"2023-02-12T06:15:14.346Z","dependency_job_id":null,"html_url":"https://github.com/scav/slack-sotw","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/scav%2Fslack-sotw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scav%2Fslack-sotw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scav%2Fslack-sotw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scav%2Fslack-sotw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scav","download_url":"https://codeload.github.com/scav/slack-sotw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243971180,"owners_count":20376784,"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":["fun","music","rust","slack"],"created_at":"2024-11-23T06:24:22.851Z","updated_at":"2026-05-22T05:13:01.954Z","avatar_url":"https://github.com/scav.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-sotw\n\nSlack bot written in Rust for creating and voting on song competitions based on a current theme.\n\n![slack-sotw](https://github.com/scav/slack-sotw/workflows/Master/badge.svg)\n\n##### Planned supported deploy options:\n- [ ] docker compose\n- [ ] Kubernetes\n- [ ] ...?\n\n##### Requirements\n* Rust\n* Diesel\n* PostgreSQL\n\n## Description\nCreate and manage the process up until the point where a poll should be made.\n\n### Commands\nAvailable commands\n\nFor the weekly admin\n* `/sotw start \u003cdescription\u003e` start a new competition with the given description\n* `/sotw stop` stop the current active competition\n\nFor everyone else (including weekly admin)\n* `/sotw list` list all songs in the currently active competition\n* `/sotw song \u003curl\u003e` this will add a song to this weeks contest\n* `/sotw vote \u003csong_id\u003e ` vote for a song currently in the active competition, \n  * calling song again will overwrite prior contribution\n* `/sotw info` get information\n\n## Development\n\nPlanned or possible features:\n- [ ] Create polls \n- [ ] Create polls from existing polls (needs an API?)\n- [ ] Web view of current and past competitions\n\n### Setup locally\nInstall diesel-cli for running migrations\n```\n$ cargo install diesel_cli --no-default-features --features postgres\n```\n\nUse [ngrok](https://ngrok.com/) to give outside access to bot from localhost.\n\n## Building\nBuilding a release can be done inside of a docker container.\n\n```bash\ndocker build -t sotw-dev .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscav%2Fslack-sotw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscav%2Fslack-sotw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscav%2Fslack-sotw/lists"}