This reposirory contains the source code of SingleFile for Safari.
The extension can be downloaded from the App Store: https://apps.apple.com/us/app/singlefile-for-safari/id6444322545
- Install Xcode
- Clone or download the Xcode project as a zip file and unzip it somewhere on your machine
- Launch Xcode and open the folder where you cloned/unzipped the Xcode project
- Press the Play button in the title bar of the left panel in Xcode to build the app and install the extension in Safari
- Allow Safari to run unsigned extensions by following this procedure: https://developer.apple.com/documentation/safariservices/safari_app_extensions/building_a_safari_app_extension#2957925
- Run
./init.sh
to retrieve the source code of the extension from GitHub - Run
./build-dev.sh
(development) or./build.sh
(production) to build the extension - Build the project in Xcode
Note: When building for development, the script expects the single-file
folder to be a sibling of the SingleFile-Safari
folder.