{"id":18483962,"url":"https://github.com/yetibot/core","last_synced_at":"2025-04-08T18:32:58.467Z","repository":{"id":12573639,"uuid":"15244213","full_name":"yetibot/core","owner":"yetibot","description":":expressionless: Core yetibot utilities, extracted for shared use among Yetibot and its various plugins","archived":false,"fork":false,"pushed_at":"2024-02-08T16:14:35.000Z","size":3095,"stargazers_count":25,"open_issues_count":21,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-14T04:37:45.667Z","etag":null,"topics":["chatbot","clojure","yetibot","yetibot-plugins"],"latest_commit_sha":null,"homepage":"https://yetibot.com","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetibot.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-17T03:34:00.000Z","updated_at":"2024-08-04T15:04:33.759Z","dependencies_parsed_at":"2023-12-21T02:22:52.927Z","dependency_job_id":"5a8841e5-74f6-4488-96ce-d4a7ea59a928","html_url":"https://github.com/yetibot/core","commit_stats":null,"previous_names":["yetibot/yetibot.core"],"tags_count":222,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetibot","download_url":"https://codeload.github.com/yetibot/core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247902675,"owners_count":21015494,"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":["chatbot","clojure","yetibot","yetibot-plugins"],"created_at":"2024-11-06T12:38:03.087Z","updated_at":"2025-04-08T18:32:53.458Z","avatar_url":"https://github.com/yetibot.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yetibot.core\n\n[![Build Status](https://img.shields.io/travis/com/yetibot/yetibot.core?style=for-the-badge)](https://travis-ci.com/yetibot/yetibot.core)\n[![Clojars](https://img.shields.io/clojars/v/yetibot/core?style=for-the-badge)](https://clojars.org/yetibot/core)\n[![Codecov](https://img.shields.io/codecov/c/github/yetibot/yetibot.core?style=for-the-badge)](https://codecov.io/gh/yetibot/yetibot.core)\n[![Deps](https://img.shields.io/badge/dynamic/json.svg?label=deps\u0026url=https%3A%2F%2Fversions.deps.co%2Fyetibot%2Fyetibot.core%2Fstatus.json\u0026query=%24.stats..[%22out-of-date%22]\u0026suffix=%20out%20of%20date\u0026style=for-the-badge\u0026colorB=lightgrey)](https://versions.deps.co/yetibot/yetibot.core)\n\nCore Yetibot utilities, extracted for shared use among Yetibot and its various\nplugins. yetibot.core is not meant to be run standalone, but instead used as a\ndependency from another project that provides config and optionally other\nYetibot plugins, private or public.\n\nThe majority of Yetibot commands live in the [main Yetibot\nrepo](https://github.com/yetibot/yetibot).\n\n- [CHANGELOG](doc/CHANGELOG.md)\n- [yetibot.com](https://yetibot.com)\n\n## Usage\n\nYou can depend on this library to build your own Yetibot plugins.\nBuilding your own commands is dead simple. Here's an example command that\nadds two numbers:\n\n```clojure\n(ns mycompany.plugins.commands.add\n  (:require [yetibot.core.hooks :refer [cmd-hook]]))\n\n(defn add-cmd\n  \"add \u003cnumber1\u003e \u003cnumber2\u003e # Add two numbers\"\n  [{[_ n1 n2] :match}] (+ (read-string n1) (read-string n2)))\n\n(cmd-hook #\"add\" ; command prefix\n          #\"(\\d+)\\s+(\\d+)\" add-cmd)\n```\n\nSee Yetibot's own [commands](https://github.com/devth/yetibot/tree/master/src/yetibot/commands)\nfor more complex and diverse examples.\n\n## Dev postgres\n\nTo quickly provision a postgresql database to work against, run:\n\n```bash\ndocker-compose up -d\n```\n\nAnd use the corresponding connection string in config:\n\n```edn\n:yetibot-db-url \"postgresql://yetibot:yetibot@postgres:5432/yetibot\"\n```\n\n## Remote REPL\n\nYetibot runs an embedded nREPL server on port `65432`. Connect to it via:\n\n```\nnrepl://localhost:65432\n```\n\nOr replace `localhost` with the remote network address.\n\n## yetibot-dashboard\n\n`yetibot-dashboard` is an NPM module that contains static HTML/JS/CSS for the\nYetibot dashboard. It's served by yetibot.core's Ring server. A public example\ncan be seen at [public.yetibot.com](https://public.yetibot.com).\n\nTo update to the latest version run:\n\n```bash\n./bin/yetibot-dashboard\n```\n\nThis downloads the lateset `yetibot-dashboard` from NPM, extracts it, copies the\nbuild into `resources/public` then creates a git commit with the changes.\n\n## Docs\n\n- [User Guide](https://yetibot.com/user-guide/)\n- [Dev Guide](https://yetibot.com/dev-guide/)\n- [Ops Guide](https://yetibot.com/ops-guide/)\n\n## Change Log\n\nView the [CHANGELOG](doc/CHANGELOG.md).\n\n## License\n\nCopyright © 2013–2019 Trevor C. Hartman\n\nDistributed under the Eclipse Public License version 1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetibot%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetibot%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetibot%2Fcore/lists"}