{"id":13725651,"url":"https://github.com/kuldeepkeshwar/size-plugin-bot","last_synced_at":"2025-09-21T13:33:04.238Z","repository":{"id":39479092,"uuid":"192908403","full_name":"kuldeepkeshwar/size-plugin-bot","owner":"kuldeepkeshwar","description":"A Github bot for size-plugin ","archived":false,"fork":false,"pushed_at":"2024-06-18T02:13:22.000Z","size":1407,"stargazers_count":84,"open_issues_count":5,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T00:05:53.604Z","etag":null,"topics":["bot","bundlesize","github-bot","performance","performance-budget","probot-app","rollup","size-plugin","webpack","webpack-assets","webpack-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/apps/size-plugin","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/kuldeepkeshwar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"custom":"https://www.paypal.me/kuldeepkeshwar"}},"created_at":"2019-06-20T11:33:57.000Z","updated_at":"2024-07-24T15:01:07.000Z","dependencies_parsed_at":"2023-02-02T21:16:53.630Z","dependency_job_id":null,"html_url":"https://github.com/kuldeepkeshwar/size-plugin-bot","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/kuldeepkeshwar%2Fsize-plugin-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuldeepkeshwar%2Fsize-plugin-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuldeepkeshwar%2Fsize-plugin-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuldeepkeshwar%2Fsize-plugin-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuldeepkeshwar","download_url":"https://codeload.github.com/kuldeepkeshwar/size-plugin-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233758035,"owners_count":18725664,"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","bundlesize","github-bot","performance","performance-budget","probot-app","rollup","size-plugin","webpack","webpack-assets","webpack-plugin"],"created_at":"2024-08-03T01:02:30.247Z","updated_at":"2025-09-21T13:32:58.811Z","avatar_url":"https://github.com/kuldeepkeshwar.png","language":"JavaScript","funding_links":["https://www.paypal.me/kuldeepkeshwar"],"categories":["JavaScript"],"sub_categories":[],"readme":"[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/kuldeepkeshwar/size-plugin-bot/blob/master/static/images/icon.png?raw=true\" alt=\"size-plugin\" \u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003esize-plugin\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003e A GitHub 🤖 built with Probot that helps you to keep an 👁️ on static asset 📦 sizes of your application and gives instant feedback 📝 for developer whenever they make change.\n\n##### 🤖 comments the gzipped sizes of your webpack assets and the changes since the last build into the relevant PR\n\n## Usage\n\nFirst add an instance of the [size-plugin](https://github.com/GoogleChromeLabs/size-plugin) to your webpack configuration:\n\n\u003e using rollup ? use [rollup-plugin-size](https://github.com/luwes/rollup-plugin-size)\n\n```diff\n// webpack.config.js\n+ const SizePlugin = require('size-plugin');\n\nmodule.exports = {\n  plugins: [\n+    new SizePlugin({publish:true})\n  ]\n}\n```\n\nSecond Simply [install the app](https://github.com/apps/size-plugin) and make some changes, open a pr and watch the magic happen 😊\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/kuldeepkeshwar/size-plugin-bot/blob/master/static/images/sample.png?raw=true\" alt=\"size-plugin commenting on a PR with bundle stats\" width=\"760\"\u003e\n\u003c/p\u003e\n\nCurrently works with [Travis CI](https://travis-ci.org), [CircleCI](https://circleci.com/), [Wercker](http://www.wercker.com), and [Drone](http://readme.drone.io/).\n\nUsing a different CI? Under the hood, [size-plugin](https://github.com/GoogleChromeLabs/size-plugin) uses [ci-env](https://github.com/siddharthkp/ci-env) to extract meta information which works perfectly with Custom CI 🙃\n\n## Configure Bot\n\nCreate a file `.github/size-plugin.yml`.\n\nexample 👇\n\n```yml\nbase-branches: # base branches against which bot can open a pull request.\n    - master\n    - next\nsize-files: # list(string/object) of size*.json files\n    ## In case of multiple builds.\n    - sizes-browser.json\n    - sizes-server.json\n    ## In case of multiple packages in a single repo or mono repo\n    - dir: packages/a\n      filename: sizes-a.json\n    - dir: packages/b\n      filename: sizes-b.json\n    - dir: packages/c\n      filename: sizes-c-browser.json\n    - dir: packages/c\n      filename: sizes-c-server.json\n```\n\n\u003e Note: `filename` must be unique\n\n## Contributing\n\nIf you have suggestions for how size-plugin could be improved, or want to report a bug, open an issue! We'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n#### like it?\n\n⭐️ this repo\n\n\u0026nbsp;\n\n## License\n\n[ISC](LICENSE) © 2019 kuldeepkeshwar \u003ckuldeepkeshwar@gmail.com\u003e\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://in.linkedin.com/in/kuldeepkeshwar\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/10448534?v=4\" width=\"100px;\" alt=\"anotherjsguy\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eanotherjsguy\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/kuldeepkeshwar/size-plugin-bot/commits?author=kuldeepkeshwar\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuldeepkeshwar%2Fsize-plugin-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuldeepkeshwar%2Fsize-plugin-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuldeepkeshwar%2Fsize-plugin-bot/lists"}