{"id":13907242,"url":"https://github.com/IonicaBizau/cli-gh-cal","last_synced_at":"2025-07-18T05:30:50.901Z","repository":{"id":34756232,"uuid":"38737433","full_name":"IonicaBizau/cli-gh-cal","owner":"IonicaBizau","description":":chart_with_upwards_trend: GitHub like calendar graphs in command line.","archived":false,"fork":false,"pushed_at":"2025-02-13T18:39:56.000Z","size":45,"stargazers_count":36,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T22:48:56.363Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","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/IonicaBizau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-08T06:54:51.000Z","updated_at":"2025-02-13T18:39:55.000Z","dependencies_parsed_at":"2022-09-15T06:21:07.853Z","dependency_job_id":null,"html_url":"https://github.com/IonicaBizau/cli-gh-cal","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/IonicaBizau/cli-gh-cal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IonicaBizau%2Fcli-gh-cal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IonicaBizau%2Fcli-gh-cal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IonicaBizau%2Fcli-gh-cal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IonicaBizau%2Fcli-gh-cal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IonicaBizau","download_url":"https://codeload.github.com/IonicaBizau/cli-gh-cal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IonicaBizau%2Fcli-gh-cal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265705284,"owners_count":23814414,"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":["hacktoberfest"],"created_at":"2024-08-06T23:01:50.835Z","updated_at":"2025-07-18T05:30:50.892Z","avatar_url":"https://github.com/IonicaBizau.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/H96WwChMy","https://www.patreon.com/ionicabizau","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=RVXDDLKKLQRJW"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003c!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. --\u003e\n\n\n\n\n\n\n\n\n[![cli-gh-cal](http://i.imgur.com/pw82kYP.png)](#)\n\n\n\n\n\n\n\n\n\n\n\n# `$ cli-gh-cal`\n\n [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Travis](https://img.shields.io/travis/IonicaBizau/cli-gh-cal.svg)](https://travis-ci.org/IonicaBizau/cli-gh-cal/) [![Version](https://img.shields.io/npm/v/cli-gh-cal.svg)](https://www.npmjs.com/package/cli-gh-cal) [![Downloads](https://img.shields.io/npm/dt/cli-gh-cal.svg)](https://www.npmjs.com/package/cli-gh-cal) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/@johnnyb?utm_source=github\u0026utm_medium=button\u0026utm_term=johnnyb\u0026utm_campaign=github)\n\n\u003ca href=\"https://www.buymeacoffee.com/H96WwChMy\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Buy Me A Coffee\"\u003e\u003c/a\u003e\n\n\n\n\n\n\n\n\u003e GitHub like calendar graphs in command line.\n\n\n\n\n\n\n\n\n\n\n\n[![cli-gh-cal](http://i.imgur.com/M5WIEsM.png)](#)\n\n\n\n\n\n\n\n## :cloud: Installation\n\nYou can install the package globally and use it as command line tool:\n\n\n```sh\n# Using npm\nnpm install --global cli-gh-cal\n\n# Using yarn\nyarn global add cli-gh-cal\n```\n\n\nThen, run `cli-gh-cal --help` and see what the CLI tool can do.\n\n\n```\n$ cli-gh-cal --help\nUsage: cli-gh-cal [options]\n\nGitHub like calendar graphs in command line.\n\nOptions:\n  --raw                Get raw data.\n  -l, --light          Enables the light theme.\n  -n, --no-ansi        Forces the tool not to use ANSI styles.\n  -e, --end \u003cdate\u003e     The end date.\n  -s, --start \u003cdate\u003e   The start date.\n  -t, --theme \u003ctheme\u003e  The theme to use.\n  -d, --data \u003cdata\u003e    Provide the JSON data in this format:\n                       [[\"03/14/2015\", 5]]\n  -h, --help           Displays this help.\n  -v, --version        Displays version information.\n\nExamples:\n  $ cli-gh-cal -d '[[\"03/14/2015\", 5]]' -t none\n  $ cli-gh-cal -d '[[\"03/14/2015\", 5]]' -s '1 January 2014'\n\nDocumentation can be found at https://github.com/IonicaBizau/cli-gh-cal.\n```\n\n\n\n\n\n\n\n\n\n\n\n\n\n## :clipboard: Example\n\n\n\nHere is an example how to use this package as library. To install it locally, as library, you can use `npm install cli-gh-cal` (or `yarn add cli-gh-cal`):\n\n\n\n```js\n// Dependencies\nvar CliGhCal = require(\"cli-gh-cal\")\n  , Moment = require(\"moment\")\n  ;\n\nconsole.log(CliGhCal([\n    [Moment().format(\"LL\"), 4]\n  , [Moment().subtract(2, \"days\").format(\"LL\"), 6]\n], {\n    theme: \"LIGHT\"\n  , start: new Moment().subtract(1, \"years\")\n  , end: new Moment()\n}));\n```\n\n\n\n\n\n\n\n\n\n\n\n\n## :question: Get Help\n\nThere are few ways to get help:\n\n\n\n 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.\n 2. For bug reports and feature requests, open issues. :bug:\n 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:\n\n\n\n\n\n\n\n## :memo: Documentation\n\nFor full API reference, see the [DOCUMENTATION.md][docs] file.\n\n\n\n\n\n\n\n\n\n\n\n\n## :yum: How to contribute\nHave an idea? Found a bug? See [how to contribute][contributing].\n\n\n## :sparkling_heart: Support my projects\nI open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,\nthis takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).\n\nHowever, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:\n\n\n - Starring and sharing the projects you like :rocket:\n - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:\n - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:\n - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).\n - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`\n\n    ![](https://i.imgur.com/z6OQI95.png)\n\n\nThanks! :heart:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## :dizzy: Where is this library used?\nIf you are using this library in one of your projects, add it in this list. :sparkles:\n\n - `ghcal`\n - `git-local-stats`\n - `git-scene`\n - `git-stats`\n - `github-stats`\n\n\n\n\n\n\n\n\n\n\n\n## :scroll: License\n\n[MIT][license] © [Ionică Bizău][website]\n\n\n\n\n\n\n[license]: /LICENSE\n[website]: https://ionicabizau.net\n[contributing]: /CONTRIBUTING.md\n[docs]: /DOCUMENTATION.md\n[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg\n[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg\n[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg\n[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg\n[patreon]: https://www.patreon.com/ionicabizau\n[amazon]: http://amzn.eu/hRo9sIZ\n[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=RVXDDLKKLQRJW\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIonicaBizau%2Fcli-gh-cal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIonicaBizau%2Fcli-gh-cal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIonicaBizau%2Fcli-gh-cal/lists"}