{"id":15048099,"url":"https://github.com/github/hubot-mysql-datastore","last_synced_at":"2025-10-19T22:32:47.500Z","repository":{"id":37545597,"uuid":"165182885","full_name":"github/hubot-mysql-datastore","owner":"github","description":"MySQL-backed datastore for use with Hubot","archived":false,"fork":false,"pushed_at":"2024-12-08T07:35:25.000Z","size":535,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-30T07:42:39.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-01-11T05:09:34.000Z","updated_at":"2024-12-08T15:37:36.000Z","dependencies_parsed_at":"2024-09-16T08:15:42.753Z","dependency_job_id":"de9f33f0-1fda-4d75-a20d-c28a8cd56b94","html_url":"https://github.com/github/hubot-mysql-datastore","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.2222222222222222,"last_synced_commit":"008be98b5f9c84c34b1fa92544e2c2f85f2dd364"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fhubot-mysql-datastore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fhubot-mysql-datastore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fhubot-mysql-datastore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fhubot-mysql-datastore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/hubot-mysql-datastore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237224888,"owners_count":19275103,"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":[],"created_at":"2024-09-24T21:08:05.737Z","updated_at":"2025-10-19T22:32:42.225Z","avatar_url":"https://github.com/github.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hubot-mysql-datastore\n\nThis module provides an implementation of [Hubot](https://hubot.github.com)'s datastore backed by MySQL. Hubot's datastore provides a persistent, database-backed key-value store; for more information, see [Hubot's documentation](https://hubot.github.com/docs/).\n\n## Installation\n\n1. Add `hubot-mysql-datastore` to your Hubot's `package.json`.\n2. Create a database; the required structure can be found in [the sample SQL schema](db/structure.sql).\n3. Create a script, loaded early in Hubot's startup, which initializes this class and assigns it to `robot.datastore`. For example, your `scripts/0-mysql-datastore.js` might look like this:\n\n```js\nconst MysqlDataStore = require('hubot-mysql-datastore')\n\nmodule.exports = (robot) =\u003e {\n  let host = process.env.HUBOT_DATASTORE_HOST;\n  let user = process.env.HUBOT_DATASTORE_USER;\n  let password = process.env.HUBOT_DATASTORE_PASSWORD;\n  let database = process.env.HUBOT_DATASTORE_DATABASE;\n  let port = process.env.HUBOT_DATASTORE_PORT; // optional\n\n  robot.datastore = new MysqlDataStore(host, user, password, database, \"utf8mb4\", port);\n}\n```\n\n## Support\n\nIf you need any help with this package, please [open an issue](https://github.com/github/hubot-mysql-datastore/issues/new) and provide as much relevant information as you can.\n\n## Maintainer\n\n`hubot-mysql-datastore`'s primary author is [@mistydemeo](https://github.com/mistydemeo).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fhubot-mysql-datastore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fhubot-mysql-datastore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fhubot-mysql-datastore/lists"}