https://github.com/ramtinsoltani/short-repo
Quick access to your Github repositories from browser homepage.
https://github.com/ramtinsoltani/short-repo
browser github google homepage repository search shortcut
Last synced: 4 months ago
JSON representation
Quick access to your Github repositories from browser homepage.
- Host: GitHub
- URL: https://github.com/ramtinsoltani/short-repo
- Owner: ramtinsoltani
- Created: 2017-06-09T13:14:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-12T06:37:04.000Z (over 7 years ago)
- Last Synced: 2025-01-10T03:48:24.853Z (5 months ago)
- Topics: browser, github, google, homepage, repository, search, shortcut
- Language: JavaScript
- Size: 138 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Short Repo
Written in Node.js, this is used to generate a HTML page (meant to be your browser's homepage) which lists your repositories on Github as shortcuts and includes a Google search textbox (autofocused).

# How to use
First of all, `npm install` to install the dependencies.
Then rename the file `config.sample.json` to `config.json` (or rename a copy of the file) inside the `config` directory.
Before changing the configurations, first [create a personal access token](https://github.com/settings/tokens) on Github.
The config object contains the following properties:
- `page.title`: The page title.
- `page.favicon`: URL to page favicon.
- `user.username`: Your Github username.
- `user.token`: Your personal access token (only repo rights are needed).
- `repos.newTab`: If `true`, repositories will be opened in a new tab.
- `repo.privateOnly`: Indicates if only the private repositories should be shown.
- `repo.ownerOnly`: Indicates if only repositories should be shown that you own (not collaborating).
- `repo.covers`: Add URLs to images as property name, with an array of repository names to associate with the cover as value. Example: `"http://website.com/image.jpg":["first-repo","second-repo"]`
- `repo.blacklist`: Add any repository names which should be ignored.
- `repo.whitelist`: Add the repository names which you want to keep (the rest will be ignored).Finally, run `node generate.js` to generate the `index.html` file. If you like what you see, set it as your browser's homepage for quick access to your repositories on Github.
**NOTE:** You can save your images in `.covers` directory (it doesn't exist by default) which will get gitignored.