{"id":17458974,"url":"https://github.com/caseywebb/dcp-badger","last_synced_at":"2026-01-20T03:32:49.591Z","repository":{"id":43001019,"uuid":"159392303","full_name":"caseyWebb/dcp-badger","owner":"caseyWebb","description":"Fancy README Grids for DailyCodingProblem Repos","archived":false,"fork":false,"pushed_at":"2023-03-04T04:11:01.000Z","size":1015,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T07:13:34.451Z","etag":null,"topics":["daily-coding-problem","dailycodingproblem","dailyprogrammer","dcp"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caseyWebb.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":"2018-11-27T20:04:28.000Z","updated_at":"2021-12-30T18:21:08.000Z","dependencies_parsed_at":"2024-10-20T19:48:38.207Z","dependency_job_id":null,"html_url":"https://github.com/caseyWebb/dcp-badger","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/caseyWebb%2Fdcp-badger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Fdcp-badger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Fdcp-badger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Fdcp-badger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caseyWebb","download_url":"https://codeload.github.com/caseyWebb/dcp-badger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247592346,"owners_count":20963499,"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":["daily-coding-problem","dailycodingproblem","dailyprogrammer","dcp"],"created_at":"2024-10-18T04:38:45.393Z","updated_at":"2026-01-20T03:32:49.545Z","avatar_url":"https://github.com/caseyWebb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dcp-badger\n\n\u003e Generate fancy-shmancy completion grids for your [DailyCodingProblem][] repository\n\nShamelessly copied from the GitHub profile activity grid.\n\n## Example\n\n![caseyWebb's DailyCodingProblem completion][my-grid]\n\n## Usage\n\n```markdown\n![](https://apps.caseywebb.xyz/dcp-badger?repo=caseyWebb/dcp)\n```\n\nBy default, files are expected to exist in the repo under `/\u003cyear\u003e/\u003cmonth\u003e/\u003cday\u003e.ext`.\n\nCustom file structures are supported via the [`regex`](#regex) param.\n\n## Configuration\n\nAll params are passed via querystring\n\n### repo [required]\n\nSpecify the (GitHub) repository to generate a grid for. Currently, the GitHub API is used, and not a git clone, so only public GitHub repos are supported.\n\nexample: `repo=caseyWebb/dcp`\n\n### ref\n\nThe git ref (branch, tag, etc.) to use.\n\nDefaults to `master`\n\n### regex\n\nA regular expression with `year`, `month`, and `day` [named capture groups](https://github.com/tc39/proposal-regexp-named-groups). For matching source files to days.\n\nFor example, if instead of the default `\u003cyear\u003e/\u003cmonth\u003e/\u003cday\u003e.ext`, if you wanted to use a flat file structure and name your files `\u003cyear\u003e-\u003cmonth\u003e-\u003cday\u003e.ext`, you could set the `regex` parameter to `(?\u003cyear\u003e\\\\d{4})-(?\u003cmonth\u003e\\\\d+)-(?\u003cday\u003e\\\\d+)\\\\.ext`. Flex those regex muscles.\n\nDefaults to `(?\u003cyear\u003e\\\\d{4})/(?\u003cmonth\u003e\\\\d+)/(?\u003cday\u003e\\\\d+)\\\\.\u003cEXT\u003e` (see `ext` param below)\n\n### ext\n\nSolve the problems in multiple languages, and want to generate separate grids? Me too!\n\nIf `\u003cEXT\u003e` exists in the regex string (which it does by default), the value of the `ext` param will be substituted.\n\nDefaults to `.+` (any)\n\n### labelColor\n\nColor to use for the grid labels\n\nDefaults to `#767676`\n\n### completeColor\n\nColor to use for completed days\n\nDefaults to `#7bc96f`\n\n### incompleteColor\n\nColor to use for incomplete days\n\nDefaults to `#ebedf0`\n\n### futureColor\n\nColor to use for days in the future\n\nDefaults to `rgba(0,0,0,0)`\n\n\n[DailyCodingProblem]: https://dailycodingproblem.com\n[my-grid]: https://apps.caseywebb.xyz/dcp-badger?repo=caseyWebb/dcp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywebb%2Fdcp-badger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaseywebb%2Fdcp-badger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywebb%2Fdcp-badger/lists"}