{"id":19112519,"url":"https://github.com/abourget/slick","last_synced_at":"2025-10-12T22:44:28.280Z","repository":{"id":32242308,"uuid":"35816545","full_name":"abourget/slick","owner":"abourget","description":"Slick, a Slack bot in Go","archived":false,"fork":false,"pushed_at":"2018-10-20T10:08:40.000Z","size":3894,"stargazers_count":150,"open_issues_count":6,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T17:47:17.247Z","etag":null,"topics":["bot","bot-framework","conversational-ui","golang","slack","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/abourget.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":"2015-05-18T12:27:09.000Z","updated_at":"2025-02-24T11:56:46.000Z","dependencies_parsed_at":"2022-07-21T22:02:55.338Z","dependency_job_id":null,"html_url":"https://github.com/abourget/slick","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abourget/slick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abourget%2Fslick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abourget%2Fslick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abourget%2Fslick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abourget%2Fslick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abourget","download_url":"https://codeload.github.com/abourget/slick/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abourget%2Fslick/sbom","scorecard":{"id":161433,"data":{"date":"2025-08-11","repo":{"name":"github.com/abourget/slick","commit":"8643d9568941dc79cad7a2eb926aeceace41e6c2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 8/23 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: util/util.test:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T13:34:03.522Z","repository_id":32242308,"created_at":"2025-08-16T13:34:03.522Z","updated_at":"2025-08-16T13:34:03.522Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013282,"owners_count":26085250,"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-12T02:00:06.719Z","response_time":53,"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":["bot","bot-framework","conversational-ui","golang","slack","slack-bot"],"created_at":"2024-11-09T04:33:19.172Z","updated_at":"2025-10-12T22:44:28.231Z","avatar_url":"https://github.com/abourget.png","language":"Go","readme":"# Slick - A Slack bot in Go\n\n[![Build Status](https://drone.io/github.com/abourget/slick/status.png)](https://drone.io/github.com/abourget/slick/latest)\n\nSlick is a Slack bot to do ChatOps and other cool things.\n\n\n## Features\n\nSupported features:\n\n* Plugin interface for chat messages\n* Plugin-based HTTP handlers\n* Simple API to reply to users\n* Keeps an internal state of channels, users and their state.\n* Listen for Reactions; take actions based on them (like buttons).\n* Simple API to message users privately\n* Simple API to update a previously sent message\n* Simple API to delete bot messages after a given time duration.\n* Easy plugin interface, listeners with criterias like:\n  * Messages directed to the bot only\n  * Private or public messages\n  * Listens for a duration or until a given `time.Time`\n  * Selectively on a channel, or from a user\n  * Expire listeners and unregister them dynamically\n  * Supports listening for edits or not\n  * Regexp match messages, or Contains checks\n* Built-in KV store for data persistence (backed by BoltDB and JSON serialization)\n* The bot has a mood (_happy_ and _hyper_) which changes randomly.. you can base some decisions on it, to spice up conversations.\n* Supports listening for any Slack events (ChannelCreated, ChannelJoined, EmojiChanged, FileShared, GroupArchived, etc..)\n* A PubSub system to facilitate inter-plugins (or chat-to-web) communications.\n\n\n## Stock plugins\n\n1. Recognition: a plugin to recognize your peers (!recognize @user1 for doing an awesome job)\n\n2. Faceoff: a game to learn the names and faces of your colleagues. The code for this one is interesting to learn to build interactive features with `slick`.\n\n3. Vote: a simple voting plugin to decide where to lunch\n\n4. Funny: a bunch of jokes and memes in reply to some strings in channels.. (inspired by Hubot's jokes)\n\n5. Healthy: a very simple plugin that pokes URLs and reports on their health\n\n6. Deployer: an example plugin to do deployments wth ansible (you'll probably want to roll out your own though).\n\n7. Todo: todo list manager, one per channel\n\n\n## Local build and install\n\nTry it with:\n\n```\ngo get github.com/abourget/slick\ncd $GOPATH/src/github.com/abourget/slick/example-bot\ngo install -v \u0026\u0026 $GOPATH/bin/example-bot\n```\n\nCopy the `slick.sample.conf` file to `$HOME/.slick` and tweak at will.\n\nYou might need `mercurial` installed to get some dependencies.\n\n## Writing your own plugin\n\n\nExample code to handle deployments:\n\n```\n// listenDeploy was hooked into a plugin elsewhere..\nfunc listenDeploy() {\n\tkeywords := []string{\"project1\", \"project2\", \"project3\"}\n\tbot.Listen(\u0026slick.Listener{\n\t\tMatches:        regexp.MustCompile(\"(can you|could you|please|plz|c'mon|icanhaz) deploy (\" + strings.Join(keywords, \"|\") + \") (with|using)( revision| commit)? `?([a-z0-9]{4,42})`?\"),\n\t\tMentionsMeOnly: true,\n\t\tMessageHandlerFunc: func(listen *slick.Listener, msg *slick.Message) {\n\n\t\t\tprojectName := msg.Match[2]\n\t\t\trevision := msg.Match[5]\n\n\t\t\tgo func() {\n\t\t\t\tgo msg.AddReaction(\"work_hard\")\n\t\t\t\tdefer msg.RemoveReaction(\"work_hard\")\n\n\t\t\t\t// Do the deployment with projectName and revision...\n\n\t\t\t}()\n\t\t},\n\t})\n}\n```\n\n\n\n\nTake inspiration by looking at the different plugins, like `Funny`,\n`Healthy`, `Storm`, `Deployer`, etc..  Don't forget to update your\nbot's plugins list, like in `example-bot/main.go`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabourget%2Fslick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabourget%2Fslick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabourget%2Fslick/lists"}