Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lautis/refined-github-safari
(Deprecated) Safari version of the Refined Github extension
https://github.com/lautis/refined-github-safari
Last synced: 12 days ago
JSON representation
(Deprecated) Safari version of the Refined Github extension
- Host: GitHub
- URL: https://github.com/lautis/refined-github-safari
- Owner: lautis
- License: isc
- Created: 2018-04-05T07:53:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-23T21:50:44.000Z (over 3 years ago)
- Last Synced: 2024-08-03T03:01:34.605Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 261 KB
- Stars: 126
- Watchers: 4
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- safari-extensions - Refined GitHub - Some small UI and usability improvements on the [Github](https://github.com/) website. (General)
README
# DEPRECATED: Refined GitHub for Safari
This project is no longer required. The original [Refined GitHub](https://github.com/sindresorhus/refined-github) is available on [Mac App Store](https://apps.apple.com/app/id1519867270).
## Install
[Download latest release](https://github.com/lautis/refined-github-safari/releases)
Or using homebrew:
```sh
brew install --cask refined-github-safari
```After this, start the app, and enable Refined Github for Safari in Safari Extensions Preferences.
## Development
Before starting, git submodules should be checked out (`git submodule update --init`) and [Node](https://nodejs.org/en/) should be installed.
Then, install required dependencies with
```
npm install
```After this, running
```
npm run build
```will build the required JS file to "Refined GitHub Extension" directory.
Open Xcode and make these changes for both the application and extension targets:
- In General > Identity change the bundle identifier to reverse DNS format. Make sure the extension target has the `-extension` suffix.
- In General > Signing set your team. Xcode should take care of the provisioning profile and certificate automatically.Then, build Refined GitHub for Safari.app with
```
xcodebuild
```The built app will be located in build/Release.
## Git attributes
For working builds while keeping the Git repository clean, there are shell scripts to help with [Git attributes](https://git-scm.com/docs/gitattributes).
Enable this with
```
git config filter.xcode-project.clean bin/xcode-project-clean DEVELOPMENT_TEAM_ID BUNDLE_IDENTIFIER
git config filter.xcode-project.smudge bin/xcode-project-smudge DEVELOPMENT_TEAM_ID BUNDLE_IDENTIFIER
```but replace the values with your Xcode Development Team id and bundle identifier.
## Alternatives
This repository is not the first attempt to create a Safari version of Refined GitHub. There are at least two other similar projects:
* [Safari wrapper by @fantattitude](https://github.com/fantattitude/refined-github-safari)
* [Safari fork by @mathieudutour](https://github.com/mathieudutour/refined-github-safari)These are implemented as Legacy Safari Extension, and not Safari App Extensions.