{"id":15007640,"url":"https://github.com/r-webdev/webdev-support-bot","last_synced_at":"2025-10-30T11:32:00.186Z","repository":{"id":37970414,"uuid":"224869989","full_name":"r-webdev/webdev-support-bot","owner":"r-webdev","description":"Discord bot for web development","archived":false,"fork":false,"pushed_at":"2024-09-01T20:31:31.000Z","size":9305,"stargazers_count":33,"open_issues_count":16,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T08:12:29.163Z","etag":null,"topics":["bot","caniuse","composer","discord","github","mdn","mozilla","npm","npmjs","packagist"],"latest_commit_sha":null,"homepage":"https://discordapp.com/oauth2/authorize?client_id=649967864425611274\u0026scope=bot\u0026permissions=268462144","language":"TypeScript","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/r-webdev.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-11-29T14:31:52.000Z","updated_at":"2023-10-17T10:03:37.000Z","dependencies_parsed_at":"2023-02-07T20:46:21.089Z","dependency_job_id":"31ecd8a6-d5c7-4a95-aa2a-000ddf4c7091","html_url":"https://github.com/r-webdev/webdev-support-bot","commit_stats":null,"previous_names":["ljosberinn/webdev-support-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-webdev%2Fwebdev-support-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-webdev%2Fwebdev-support-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-webdev%2Fwebdev-support-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-webdev%2Fwebdev-support-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-webdev","download_url":"https://codeload.github.com/r-webdev/webdev-support-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238960833,"owners_count":19559353,"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":["bot","caniuse","composer","discord","github","mdn","mozilla","npm","npmjs","packagist"],"created_at":"2024-09-24T19:12:54.947Z","updated_at":"2025-10-30T11:32:00.180Z","avatar_url":"https://github.com/r-webdev.png","language":"TypeScript","readme":"# Webdev Support Bot\n\n[![dependencies][dependencies-image] ][dependencies-url]\n[![devdependencies][devdependencies-image] ][devdependencies-url]\n\n[dependencies-image]: https://david-dm.org/ljosberinn/webdev-support-bot.png\n[dependencies-url]: https://david-dm.org/ljosberinn/webdev-support-bot\n[devdependencies-image]: https://david-dm.org/ljosberinn/webdev-support-bot/dev-status.png\n[devdependencies-url]: https://david-dm.org/ljosberinn/webdev-support-bot#info=devDependencies\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./logo.png\" /\u003e\n\u003c/p\u003e\n\nBot providing multiple commands to query common sites used during development or helping people on Discord.\n\nSupports\n\n`!github` via `GitHub API`,\n\n`!composer` via `packagist API`,\n\n`!npm` via unofficial `npmjs.com API`,\n\n`!mdn` via parsing [Mozilla Developer Network](http://developer.mozilla.org/),\n\n`!caniuse` via unofficial `caniuse API` and [@mdn/browser-combat-data](https://github.com/mdn/browser-compat-data),\n\n`!bundlephobia` via unofficial `bundlephobia API`,\n\n`!jquery` as explanation on why not to use jquery,\n\n`!php` via parsing [official PHP Docs](http://php.net/).\n\n## Usage / TLDR\n\n```bash\n# tag it in discord to receive general help\n@bot --help\n# provides an example each\n!mdn --help\n!caniuse --help\n!composer --help\n!npm --help\n!github --help\n!bundlephobia --help\n```\n\n```bash\n# queries MDN with \u003cterm\u003e\n!mdn \u003cterm\u003e\n```\n\n```bash\n# queries caniuse with \u003cterm\u003e\n!caniuse \u003cterm\u003e\n```\n\n```bash\n# queries packagist with \u003cpackage\u003e\n!composer \u003cpackage\u003e\n```\n\n```bash\n# queries npm with \u003cpackage\u003e\n!npm \u003cpackage\u003e\n```\n\n```bash\n# queries github with \u003cterm\u003e\n!github \u003cterm\u003e\n```\n\n```bash\n# queries bundlephobia with \u003cterm\u003e\n!bundlephobia \u003cterm\u003e\n```\n\n- single-result queries will directly show the result\n- reacting with a number will filter the result\n- reacting with the _red_ or _black_ `x` will remove the request\n\n## Description\n\nBy default, shows the first ten results of any given query, unless only one result was found.\n\nReacting with a number corresponding to the list entry will filter the list and edit the original message, providing more specific information.\n\n## Add to your server by...\n\n...accessing [this link](https://discordapp.com/api/oauth2/authorize?client_id=649967864425611274\u0026scope=bot\u0026permissions=1).\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./webdev-support-bot-demo.gif\" /\u003e\n\u003c/p\u003e\n\n## Development\n\n```bash\ngit clone https://github.com/ljosberinn/webdev-support-bot/\n\ncd webdev-support-bot\n\ncp .env.example .env # and enter a token\n\n\nyarn install # or npm install\ncode .\n\nyarn docker:dev:up\nyarn dev # or npm dev\n\n# or be fancy with a one-liner\ngit clone https://github.com/ljosberinn/webdev-support-bot/ \u0026\u0026 cd webdev-support-bot \u0026\u0026 cp .env.example .env \u0026\u0026 yarn install \u0026\u0026 code . \u0026\u0026 yarn docker:dev:up \u0026\u0026 yarn dev\n```\n\n## Environment variables\n\nIn development, you generally want to take the `.env.example` and rename it to `.env`. You also _shouldn't_ commit your `.env` file. If you make any changes to the environment variables, you should update `.env.example`. accordingly.\n\n### Running tests:\n\n```bash\n$ npm test\n```\n\n## Found a bug/want to contribute?\n\nPlease head over to [GitHub](https://github.com/ljosberinn/webdev-support-bot/issues).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-webdev%2Fwebdev-support-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-webdev%2Fwebdev-support-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-webdev%2Fwebdev-support-bot/lists"}