{"id":15115705,"url":"https://github.com/ceoshikhar/better-github","last_synced_at":"2026-02-27T02:32:18.821Z","repository":{"id":44529843,"uuid":"326163394","full_name":"ceoshikhar/better-github","owner":"ceoshikhar","description":"Enhance your code reading experience on GitHub.","archived":false,"fork":false,"pushed_at":"2022-02-09T20:56:29.000Z","size":9107,"stargazers_count":45,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-22T23:28:02.847Z","etag":null,"topics":["browser-extension","chrome-extensions","firefox-addon","github","github-font"],"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/ceoshikhar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://www.buymeacoffee.com/ceoshikhar"}},"created_at":"2021-01-02T10:59:09.000Z","updated_at":"2022-10-29T05:02:22.000Z","dependencies_parsed_at":"2022-09-04T00:31:34.418Z","dependency_job_id":null,"html_url":"https://github.com/ceoshikhar/better-github","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ceoshikhar/better-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceoshikhar%2Fbetter-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceoshikhar%2Fbetter-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceoshikhar%2Fbetter-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceoshikhar%2Fbetter-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceoshikhar","download_url":"https://codeload.github.com/ceoshikhar/better-github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceoshikhar%2Fbetter-github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["browser-extension","chrome-extensions","firefox-addon","github","github-font"],"created_at":"2024-09-26T01:43:58.346Z","updated_at":"2026-02-27T02:32:18.792Z","avatar_url":"https://github.com/ceoshikhar.png","language":"JavaScript","readme":"![readme banner](./assets/banner.png)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eBetter GitHub\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003e🎨 Enhance your code reading experience on GitHub\u003c/strong\u003e\u003c/p\u003e\n  \u003ch3 align=\"center\"\u003e\n    \u003ca href=\"https://addons.mozilla.org/en-US/firefox/addon/bettergithub/\"\u003eFirefox\u003c/a\u003e\n    \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://chrome.google.com/webstore/detail/better-github/ammeaejgjdeifjekkofhnliedhccbmgp\"\u003eChrome\u003c/a\u003e\n  \u003c/h3\u003e\n\u003c/div\u003e\n\n# Demo\n\n\u003cimg src=\"./assets/demo.gif\"\u003e\n\n# Get the extension\n\n### [Firefox](https://addons.mozilla.org/en-US/firefox/addon/bettergithub/)\n\n### [Chrome](https://chrome.google.com/webstore/detail/better-github/ammeaejgjdeifjekkofhnliedhccbmgp)\n\n# Features\n\n### Simple interface to use the extension\n\n![popup](./assets/popup.png)\n\n`Better Github` allows you to apply custom fonts and modify font size of code text. These styles are applied to :\n\n\u003e Example below have the following Better GitHub's config: `Font Name` is [Hack](https://github.com/source-foundry/Hack) and `Font Size` is **14**.\n\n- All the text inside a file while viewing( reading ) it.\n\n   \u003cimg src=\"./assets/feature-1-example.png\"\u003e\n\n- Code in README files that are inside \"`\u003ccode\u003e`\" blocks also known as `\u003cpre\u003e` tags.\n\n  \u003cimg src=\"./assets/feature-2-example.png\"\u003e\n\n- Code in pull request diffs.\n\n  \u003cimg src=\"./assets/feature-3-example.png\"\u003e\n\n**Note:** If the custom styles are not applied( it can happen sometimes ), refresh the page.\n\n# Motivation\n\nDefault font size of code text was very small which gave me had a hard time reading code in any repository and in PR diffs. I also wanted my code editor font and GitHub font to be same.\n\nCouldn't find anything existing to help me solve my problem, so I created this simple yet powerful extension for Chrome browser. If something does exist though, let me know, alright?\n\nI called it `Better GitHub` inspired by `Better Twitch TV` and `Better Discord`.\n\n# Todos\n\n\u003e Context: I created this list of tasks after I decided to make this extension public. Initially the code was very small and the font styles were hard coded. If I needed to modify the styles, I had to change it in the source code, reload the extension and refresh GitHub pages to reflect the updates. Consider this list as the roadmap for the project.\n\n- [x] Instead of hard coding the `fontFamily` and `fontSize`, we should be able to allow the user to choose a font size and font family of their choice (which they have installed on their machine).\n- [x] Create a browser action popup to show an interface to allow the user to customise their extension's settings for `fontFamily` and `fontSize`.\n- [x] Integrate browser action popup with chrome API to persist and read user's settings for `fontFamily` and `fontSize` from and to the storage.\n- [x] Apply styles without reloading whenever the settings are changed from the browser action popup interface.\n- [x] If no custom font styles are set, load GitHub's default font styles.\n- [x] User can reset font styles to GitHub's default font styles.\n- [x] Add GIF to show the usage( demo ) of the extension.\n- [x] Installation instructions on how to clone/download this repository, install the extension and use it.\n- [x] Logo for the extension that will be used as favicon, icon, in documentation etc.\n- [x] Firefox support as it was requested by [others](https://dev.to/ceoshikhar/enhance-your-code-reading-experience-on-github-with-this-chrome-extension-24ei).\n- [x] Publish it as an official Mozilla Firefox addon.\n- [x] Publish it as an official Chrome extension on Chrome Web Store.\n- [x] Allow user to change only one property instead of all properties being mandatory.\n- [ ] Add `CONTRIBUTING.md` to help others so that they can contribute to the project.\n","funding_links":["https://www.buymeacoffee.com/ceoshikhar"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceoshikhar%2Fbetter-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceoshikhar%2Fbetter-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceoshikhar%2Fbetter-github/lists"}