altstore-github is a http API to easily generate altstore sources from github repos
if you want automatic updates for an app but the developer does not use an altstore source, and they instead only release new versions on github.
first you'll need a few things:
- the beta version of altstore, which supports custom sources
- a github API access token
- the bundle ID for the app
this document will show you how to get each of these
currently, the stable version of altstore does not support custom sources, so you'll need to download the beta version. this is advertised as being exclusive to users who donate to the altstore patreon, but you can actually install it for free, legally. (it's publicly available on the official altstore website)
-
install the release version of AltServer on your computer
-
download the beta version of AltStore to your computer from the official altstore source. (you can view the source online using AltSource browse)
-
run AltServer and wait for the icon to appear on your system tray
-
plug your device into your PC (this step is not necessary if wifi sync is enabled for your device in itunes)
-
hold down the shift key and click the altserver tray icon, select "Sideload .ipa", then pick your device:
-
select the
.ipa
file you downloaded -
enter your apple ID & password, then wait for it to install
-
if you don't have one already, you'll need to create a github account
-
navigate to the access token settings and enter a name for your token.
in order for altstore-github to generate a valid altstore source, it needs to know the app's bundle ID.
-
go to the releases page for the repo you want to generate an altstore source from:
-
download the
.ipa
file from the assets in one of the releases (it doesn't matter which one, the bundle ID should never change between versions): -
upload it to ScarletParse
-
copy the value from the "BundleID" field
now that you have all the required information, you need to create the source URL:
http://<hostname (TODO)>/<github user>/<github repo name>/<app bundle ID>?token=<github access token>
for example, if i want to create a source for https://github.com/alfiecg24/TrollInstallerX, the URL would look like this:
-
open AltStore on your device
-
press the "Sources" tab:
-
press the
+
icon: -
enter the source URL you created then press the
+
icon:
you can now install the app from the source. new github releases will now show up as updates to the app in AltStore