{"id":13647478,"url":"https://github.com/Shikkic/gitbar","last_synced_at":"2025-04-22T02:31:55.600Z","repository":{"id":72283113,"uuid":"51781342","full_name":"Shikkic/gitbar","owner":"Shikkic","description":":octocat: Open source github contribution stats on your Mac OS X Menu Bar","archived":false,"fork":false,"pushed_at":"2017-09-15T03:28:01.000Z","size":6721,"stargazers_count":359,"open_issues_count":3,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-03T01:37:02.984Z","etag":null,"topics":["bitbar"],"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/Shikkic.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}},"created_at":"2016-02-15T19:55:35.000Z","updated_at":"2024-06-17T07:31:53.000Z","dependencies_parsed_at":"2023-02-23T12:00:28.151Z","dependency_job_id":null,"html_url":"https://github.com/Shikkic/gitbar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikkic%2Fgitbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikkic%2Fgitbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikkic%2Fgitbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikkic%2Fgitbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shikkic","download_url":"https://codeload.github.com/Shikkic/gitbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223887624,"owners_count":17219964,"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":["bitbar"],"created_at":"2024-08-02T01:03:35.461Z","updated_at":"2024-11-09T21:30:45.451Z","avatar_url":"https://github.com/Shikkic.png","language":"JavaScript","readme":"# gitbar\n\n:octocat: A plugin for [BitBar](https://github.com/matryer/bitbar) to quickly show your open source GitHub contribution stats and help set contribution goals, all on your Mac OS X Menu Bar. :octocat:\n\nAlmost all of us have private repos we tend to work on, and it's really easy to neglect your OSS work. So, I created Gitbar to make daily public contributions a habit. Gitbar is a OSX Menu Bar utility that shows your daily GitHub stats, streaks, and contributions. You can even set contribution goals in the application.\n\n![dank application screenshot](http://i.imgur.com/55GxUzy.gif)\n\n### Prerequisites\n- Must be on Mac OSX (Snow Leopard or newer (\u003e= 10.6))\n- Have [Node.js](https://nodejs.org/en/) and [npm](http://blog.npmjs.org/post/85484771375/how-to-install-npm) installed\n\n### Install\n\nFirst, download and install [BitBar](https://github.com/matryer/bitbar).\n\nClone the plugin repo:\n```sh\n$ git clone https://github.com/Shikkic/gitbar/\n```\n\nInside the repo folder, install the dependencies:\n```sh\n$ npm install\n```\n\n### Configure\n\nIn the root folder you'll need to modify the `.env` file with **your** GitHub username. Here you'll also be able to customize contribution goal tracking as well. Simply give the tracking value `TRUE` or `FALSE` to turn it on or off, respectively, and provide your ideal goal number to give yourself a completion percentage.\n\n```bash\nGITHUB_USERNAME=\"\u003cYOUR_GITHUB_NAME_HERE\u003e\"\nCONTRIBUTION_GOAL_TRACKING=true\nCONTRIBUTION_GOAL=\"1000\"\nCOMPACT_UI=true\n```\n\nNow, launch BitBar and select the `gitbar_plugin` folder as your Plugin Folder.\n\n![Imgur](http://i.imgur.com/ni1YVGZ.gif)\n\n### Gotchas\n\nIf you have an error resulting from your path to Node, edit the shebang at the top of `gh.5m.js` to include the correct path.\n\nTo find the correct path simply run:\n```\n$ which -a node\n```\n\n### Dependencies\n\nObviously [BitBar](https://github.com/matryer/bitbar).\n\nI also use the [gh-scrape](https://github.com/Shikkic/gh-scrape) to crawl GitHub and parse selected values from public GitHub profiles. Feel free to contribute if you'd like!\n\nI use this module instead of using the GitHub API for a few reasons. I wanted to make it as easy as possible to setup and requiring users to generate and input an API key made the barrier of entry seem high. Also, this allows us to only focus on publicly available contributions, which was the original intended purpose. \n\n#### Suggestions, comments?\n\nFeel free to create an issue or reach out on the :speech_balloon: [BitBar Slack](https://getbitbar.herokuapp.com/) or Twitter [@shikkic](http://twitter.com/shikkic)!\n","funding_links":[],"categories":["JavaScript","开发者工具","Uncategorized","版本控制","Developer Tools","Version control","Applications"],"sub_categories":["版本控制 GUI","Uncategorized","Version Control","IDE","GUI","Developers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShikkic%2Fgitbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShikkic%2Fgitbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShikkic%2Fgitbar/lists"}