{"id":13471094,"url":"https://github.com/dustinmoris/CI-BuildStats","last_synced_at":"2025-03-26T13:30:48.069Z","repository":{"id":43496223,"uuid":"41489423","full_name":"dustinmoris/CI-BuildStats","owner":"dustinmoris","description":"Little widget to display AppVeyor, TravisCI, CircleCI, GitHub Actions or Azure Pipelines build history charts and other SVG badges.","archived":true,"fork":false,"pushed_at":"2023-12-15T10:12:39.000Z","size":664,"stargazers_count":171,"open_issues_count":10,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T02:58:23.344Z","etag":null,"topics":["appveyor","badge","buildstats","chart","circleci","fsharp","myget-badge","nuget-badge","svg-widget","travis-ci","widget"],"latest_commit_sha":null,"homepage":"https://buildstats.info","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dustinmoris.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":"2015-08-27T13:51:32.000Z","updated_at":"2024-08-31T10:52:28.000Z","dependencies_parsed_at":"2024-10-30T01:51:54.043Z","dependency_job_id":null,"html_url":"https://github.com/dustinmoris/CI-BuildStats","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinmoris%2FCI-BuildStats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinmoris%2FCI-BuildStats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinmoris%2FCI-BuildStats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinmoris%2FCI-BuildStats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustinmoris","download_url":"https://codeload.github.com/dustinmoris/CI-BuildStats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245662742,"owners_count":20652073,"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":["appveyor","badge","buildstats","chart","circleci","fsharp","myget-badge","nuget-badge","svg-widget","travis-ci","widget"],"created_at":"2024-07-31T16:00:39.681Z","updated_at":"2025-03-26T13:30:47.658Z","avatar_url":"https://github.com/dustinmoris.png","language":"F#","readme":"# [BuildStats.info](https://buildstats.info)\nA little SVG widget to display build history charts and other badges for public repositories.\n\n![Build and Deploy](https://github.com/dustinmoris/CI-BuildStats/workflows/Build%20and%20Deploy/badge.svg?branch=develop)\n\n[![Build History](https://buildstats.info/github/chart/dustinmoris/CI-BuildStats?branch=develop)](https://github.com/dustinmoris/CI-BuildStats/actions?query=branch%3Adevelop)\n\n## Table of contents\n\n- [Build History Chart](#build-history-chart)\n    - [How it works](#how-it-works)\n    - [Configuration](#configuration)\n- [NuGet Badges](#nuget-badges)\n- [MyGet Badges](#myget-badges)\n- [Crates Badges](#crates-badges)\n- [Docker image](#docker-image)\n- [Contributing](#contributing)\n- [Support](#support)\n\n## Build History Chart\n\nThe SVG widget currently works for public repositories built with:\n\n\u003ca href=\"https://www.appveyor.com/\" title=\"AppVeyor\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dustinmoris/CI-BuildStats/master/assets/AppVeyor.png\" width=\"80\" height=\"80\" style=\"margin-right: 30px;\" alt=\"AppVeyor\" title=\"AppVeyor\"/\u003e\u003c/a\u003e\u003ca href=\"https://travis-ci.org/\" title=\"TravisCI\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dustinmoris/CI-BuildStats/master/assets/TravisCI.jpg\" width=\"80\" height=\"80\" style=\"margin-right: 30px;\" alt=\"TravisCI\" title=\"TravisCI\"/\u003e\u003c/a\u003e\u003ca href=\"https://circleci.com/\" title=\"CircleCI\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dustinmoris/CI-BuildStats/master/assets/CircleCI.png\" width=\"80\" height=\"80\" style=\"margin-right: 10px;\" alt=\"CircleCI\" title=\"CircleCI\"/\u003e\u003c/a\u003e\u003ca href=\"https://dev.azure.com/\" title=\"Azure Pipelines\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dustinmoris/CI-BuildStats/master/assets/AzurePipelines.png\" width=\"80\" height=\"80\" style=\"margin-right: 30px;\" alt=\"Azure Pipelines\" title=\"Azure Pipelines\"/\u003e\u003c/a\u003e\u003ca href=\"https://github.com/\" title=\"GitHub Actions\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dustinmoris/CI-BuildStats/master/assets/GitHub.png\" width=\"80\" height=\"80\" style=\"margin-right: 30px;\" alt=\"GitHub Actions\" title=\"GitHub Actions\"/\u003e\u003c/a\u003e\n\n### How it works\n\nThe base URL to the SVG widget is:\n\n```\nhttps://buildstats.info/{buildSystem}/chart/{account}/{project}[/{definitionId}]\n```\n\nReplace `{buildSystem}` with one of the supported build systems:\n\n-   appveyor\n-   travisci\n-   circleci\n-   azurepipelines\n-   github\n\nReplace `{account}` and `{project}` with your personal values.\n\nFor example `https://buildstats.info/appveyor/chart/dustinmoris/ci-buildstats` displays the build history chart for this particular project.\n\nThe complete markdown for the above chart is as following:\n\n```\n[![Build history](https://buildstats.info/appveyor/chart/dustinmoris/ci-buildstats)](https://ci.appveyor.com/project/dustinmoris/ci-buildstats/history)\n```\n\nThe URL for an Azure Pipelines powered graph has an additional route argument for the definition ID which is an Azure Pipelines specific concept:\n\n```\nhttps://buildstats.info/azurepipelines/chart/MyAccount/MyProject/12\n```\n\n### Configuration\n\n#### Filtering for a specific branch\n\nBy default the widget will render a chart for builds from all branches.\n\nYou can select a specific branch by appending the `branch` parameter to the URL (optional):\n\n```\nhttps://buildstats.info/{buildSystem}/chart/{account}/{project}?branch={branch}\n```\n\n#### Changing the number of builds\n\nYou can specify the maximum build count by appending the `buildCount` parameter to the URL (optional):\n\n```\nhttps://buildstats.info/{buildSystem}/chart/{account}/{project}?buildCount={number}\n```\n\n#### Excluding builds from a pull request\n\nUse the `includeBuildsFromPullRequest` parameter to include or exclude builds from a pull request (optional):\n\n```\nhttps://buildstats.info/{buildSystem}/chart/{account}/{project}?includeBuildsFromPullRequest={true/false}\n```\n\n#### Hiding the text\n\nYou can hide the build stats by appending the `showStats` parameter to the URL (optional):\n```\nhttps://buildstats.info/{buildSystem}/chart/{account}/{project}?showStats={true/false}\n```\n\n#### Full URL\n\nThe full URL to the SVG widget is:\n\n```\nhttps://buildstats.info/{buildSystem}/chart/{account}/{project}[?buildCount={buildCount}\u0026branch={branch}\u0026includeBuildsFromPullRequest={includeBuildsFromPullRequest}\u0026showStats={true/false}]\n```\n\n## NuGet Badges\n\nThe URL to the NuGet badge is:\n\n```\nhttps://buildstats.info/nuget/{packageName}\n```\n\nFor example the badge and Markdown for the [NUnit](https://github.com/nunit/nunit) NuGet badge would be:\n\n[![NuGet Badge](https://buildstats.info/nuget/nunit)](https://www.nuget.org/packages/NUnit/)\n\n```\n[![NuGet Badge](https://buildstats.info/nuget/nunit)](https://www.nuget.org/packages/NUnit/)\n```\n\n### Including PreRelease packages\n\nYou can append the `includePreReleases=true` flag to include pre-release packages:\n\n[![NuGet Badge](https://buildstats.info/nuget/NServiceBus.PostgreSQL?includePreReleases=true)](https://www.nuget.org/packages/NServiceBus.PostgreSQL/1.0.0-CI00021)\n\n```\n[![NuGet Badge](https://buildstats.info/nuget/NServiceBus.PostgreSQL?includePreReleases=true)](https://www.nuget.org/packages/NServiceBus.PostgreSQL/1.0.0-CI00021)\n```\n\n### Setting a specific package version\n\nBy adding the `packageVersion` query parameter you can set a specific version:\n\n[![NuGet Badge](https://buildstats.info/nuget/Giraffe?packageVersion=3.0.0)](https://www.nuget.org/packages/Giraffe/3.0.0)\n\n```\n[![NuGet Badge](https://buildstats.info/nuget/NServiceBus.PostgreSQL?includePreReleases=true)](https://www.nuget.org/packages/NServiceBus.PostgreSQL/1.0.0-CI00021)\n```\n\n### Setting a fixed width\n\nIf you want to control the width of the version and/or downloads label then you can use the `vWidth` and `dWidth` query parameters. Both accept an integer value representing the width in pixels:\n\n[![NuGet Badge](https://buildstats.info/nuget/Giraffe?vWidth=100\u0026dWidth=100)](https://www.nuget.org/packages/Giraffe)\n\n```\n[![NuGet Badge](https://buildstats.info/nuget/Giraffe?vWidth=100\u0026dWidth=100)](https://www.nuget.org/packages/Giraffe)\n```\n\n## MyGet Badges\n\nMyGet badges are supported for both the standard MyGet feed as well as MyGet Enterprise customers.\n\nThe URL to a MyGet badge from the official feed is:\n\n```\nhttps://buildstats.info/myget/{feedName}/{packageName}\n```\n\nFor example the badge and Markdown for the FSharp.Core package in the .NET Core feed would be:\n\n[![MyGet Badge](https://buildstats.info/myget/dotnet-core/FSharp.Core)](https://www.myget.org/feed/dotnet-core/package/nuget/FSharp.Core)\n\n```\n[![MyGet Badge](https://buildstats.info/myget/dotnet-core/NEventSocket)](https://www.myget.org/feed/dotnet-core/package/nuget/FSharp.Core)\n```\n\nThe URL to a MyGet badge from an Enterprise feed is:\n\n```\nhttps://buildstats.info/myget/{subDomain}/{feedName}/{packageName}\n```\n\nFor example the badge and Markdown for the [Microsoft.Bot.Builder](https://botbuilder.myget.org/feed/botbuilder-v4-dotnet-daily/package/nuget/Microsoft.Bot.Builder) MyGet badge would be:\n\n[![MyGet Badge](https://buildstats.info/myget/botbuilder/botbuilder-v4-dotnet-daily/Microsoft.Bot.Builder?includePreReleases=true)](https://botbuilder.myget.org/feed/botbuilder-v4-dotnet-daily/package/nuget/Microsoft.Bot.Builder)\n\n```\n[![MyGet Badge](https://buildstats.info/myget/botbuilder/botbuilder-v4-dotnet-daily/Microsoft.Bot.Builder?includePreReleases=true)](https://botbuilder.myget.org/feed/botbuilder-v4-dotnet-daily/package/nuget/Microsoft.Bot.Builder)\n```\n\n## Crates Badges\n\nThe URL to a Crates.io badge from the official feed is:\n\n```\nhttps://buildstats.info/crate/{crateName}\n```\n\nFor example the badge and Markdown for the [rand](https://github.com/rust-random/rand) Crates.io badge would be:\n\n[![Crate Badge](https://buildstats.info/crate/rand)](https://crates.io/crates/rand)\n\n```\n[![Crate Badge](https://buildstats.info/crate/rand)](https://crates.io/crates/rand)\n```\n\n### Setting a specific package version\n\nBy adding the `packageVersion` query parameter you can set a specific version:\n\n[![Crate Badge](https://buildstats.info/crate/rand?packageVersion=0.7.0)](https://crates.io/crates/rand/0.7.0)\n\n```\n[![Crate Badge](https://buildstats.info/crate/rand?packageVersion=0.7.0)](https://crates.io/crates/rand/0.7.0)\n```\n\n### Additional settings\n\nThe `includePreReleases`, `vWidth` and `dWidth` query parameters work the same way as for NuGet badges (see above for more information).\n\n## Docker image\n\nYou can also self host the application by running [CI-BuildStats from a Docker container](https://hub.docker.com/r/dustinmoris/ci-buildstats/).\n\n## Contributing\n\nFeedback is welcome and pull requests get accepted.\n\n## Support\n\nIf you've got value from any of the content which I have created, but pull requests are not your thing, then I would also very much appreciate your support by buying me a coffee.\n\n\u003ca href=\"https://www.buymeacoffee.com/dustinmoris\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n","funding_links":["https://www.buymeacoffee.com/dustinmoris"],"categories":["F# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinmoris%2FCI-BuildStats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustinmoris%2FCI-BuildStats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinmoris%2FCI-BuildStats/lists"}