{"id":13732681,"url":"https://github.com/TiagoDanin/Polybar-GitHub","last_synced_at":"2025-05-08T08:32:09.471Z","repository":{"id":53489310,"uuid":"131896339","full_name":"TiagoDanin/Polybar-GitHub","owner":"TiagoDanin","description":"A Polybar module to show unread notifications from GitHub","archived":true,"fork":false,"pushed_at":"2021-03-28T20:50:17.000Z","size":253,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T01:32:54.516Z","etag":null,"topics":["github","polybar","polybar-scripts"],"latest_commit_sha":null,"homepage":null,"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/TiagoDanin.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}},"created_at":"2018-05-02T19:23:44.000Z","updated_at":"2023-08-24T12:04:59.000Z","dependencies_parsed_at":"2022-08-18T08:10:12.152Z","dependency_job_id":null,"html_url":"https://github.com/TiagoDanin/Polybar-GitHub","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/TiagoDanin%2FPolybar-GitHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FPolybar-GitHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FPolybar-GitHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FPolybar-GitHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TiagoDanin","download_url":"https://codeload.github.com/TiagoDanin/Polybar-GitHub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253029154,"owners_count":21843032,"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":["github","polybar","polybar-scripts"],"created_at":"2024-08-03T03:00:31.981Z","updated_at":"2025-05-08T08:32:09.173Z","avatar_url":"https://github.com/TiagoDanin.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Polybar-Github\n\nA Polybar module to show unread notifications from GitHub\n\n## Installation\n\nThis is a [Node.js](https://nodejs.org/) module available through the\n[npm registry](https://www.npmjs.com/). It can be installed using the\n[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally)\nor\n[`yarn`](https://yarnpkg.com/en/)\ncommand line tools.\n\n```sh\nnpm install --global polybar-github\n```\n\n## Usage\n\nCli:\n```bash\npolybar-github FILE GH_TOKEN TIME/s MODE NOTIFICATION\n```\n- File: tail file\n- Gh-Token: GitHub Token\n- Time: Interval\n- Mode:\n\t- Default: `all+participating`\n\t- `all`:\n\t\t- Format: `AllNotificationsNumber`\n\t\t- Notification: All types\n\t- `all+participating`:\n\t\t- Format: `AllNotificationsNumber (AllParticipatingNumber)`\n\t\t- Notifcation: Participating\n\t- `participating`:\n\t\t- Format: `AllParticipatingNumber`\n\t\t- Notifcation: Participating\n- Notification: `true` or `false`.\n\t- Default: `true`\n\nPolybar Config:\n```\n; Polybar GitHub\n[module/github]\ntype = custom/script\nformat-prefix = \"GitHub: \"\nexec = polybar-github $HOME/.config/polybar/.env/github $TOKEN 60 all true\nclick-left = echo left \u003e\u003e $HOME/.config/polybar/.env/github\nclick-middle = echo middle \u003e\u003e $HOME/.config/polybar/.env/github\nclick-right = echo right \u003e\u003e $HOME/.config/polybar/.env/github\nscroll-up = echo scrollUp \u003e\u003e $HOME/.config/polybar/.env/github\nscroll-down = echo scrollDown \u003e\u003e $HOME/.config/polybar/.env/github\ntail = true\n```\n\nAnd create a file in $HOME/.config/polybar/.env/github.\n\n## Dependencies\n\n- [@octokit/rest](https://ghub.io/@octokit/rest): GitHub REST API client for Node.js\n- [node-notifier](https://ghub.io/node-notifier): A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)\n- [polybar-helpers](https://ghub.io/polybar-helpers): Polybar - Helpers to create plugin/module using NodeJS\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTiagoDanin%2FPolybar-GitHub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTiagoDanin%2FPolybar-GitHub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTiagoDanin%2FPolybar-GitHub/lists"}