https://github.com/freyamade/colour-my-repo
Add a splash of SHA-based colour to GitHub repository pages
https://github.com/freyamade/colour-my-repo
Last synced: about 1 month ago
JSON representation
Add a splash of SHA-based colour to GitHub repository pages
- Host: GitHub
- URL: https://github.com/freyamade/colour-my-repo
- Owner: freyamade
- License: mit
- Created: 2019-03-08T11:31:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-08T23:04:45.000Z (almost 4 years ago)
- Last Synced: 2024-10-18T23:17:32.244Z (6 months ago)
- Language: Kotlin
- Homepage:
- Size: 224 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# colour-my-repo
A plain and simple browser extension that adds a little splash of SHA-based colour to any repo on GitHub
*I just need some icons and stuff and then I can throw this up on the store, but it's basically done right now!*
## How it Works
When the extension detects that you are on a repository homepage, it will grab the latest commit sha from the page, and use that to generate a coloured progress bar in the section to the right (as in the above picture).
## How to Install
Currently you can clone the repo, build the JS and load it as a temp extension in your browser;
1. Clone the repo, or download the source code
2. Ensure that at the very least, a java installation is present on your computer
3. Run `npm` install to install uglifyjs, which mangles the transpiled javascript
4. Run `bash build.sh` which should have the local gradlew script compile the kotlin source and then mangle it via uglifyjs
5. Install the add on locally into your browser, by selecting the `manifest.json` file in the `dist/` directory