Skip to content

matfantinel/iphanpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(i)Phanpy

This is a fork of Phanpy, with the goal of making it installable as an iOS app.

In my experience, it offers better performance and less glitches than the installed web app (PWA).

App screenshot

It uses Capacitor to wrap the web app into a native app, and I did some tweaks to make it work on iOS. The tweaks so far are:

  • Custom icon, built based on the original SVG and edited with Icon Composer, supporting Liquid Glass styles;
  • Custom handling for instance authentication. This app listens for the "iphanpy://iphanpy" URL scheme to fetch the auth code;
  • Added custom code to invoke the device's camera, so it asks for the needed permissions first;
  • Intercepts all external links to open them in an in-app browser instead;

This is just a side project and will not be published to the App Store. Which means some things:

  • Notifications do not work, and likely never will.
  • You have to build the app yourself, through XCode, to be able to use it on your device. Sorry, I can't even put it on TestFlight without paying the annual $99 fee, and that's a bit too much for me.

Customization details

For details on what's been changed, check the IPHANPY_CUSTOMIZATIONS.md file.

How to build / install through XCode

  1. Clone this repository, or download it as a zip file;
  2. Open the downloaded folder in a Terminal, and run npm install. NodeJS 20+ is required;
  3. Run npm run build && npx cap sync ios to build the app;
  4. Run npx cap open ios to open the project in XCode;
  5. Inside XCode, you need to select "App" in the left sidebar, then on "Signing and Capabilities" --> "Team", select your own Personal Team;
  6. Now, also inside XCode, you can just choose to run the app on your iPhone (and probably iPad). After running it once, the app will remain installed and you can use it for 7 days. After 7 days, you'll have to re-install it through XCode again.

How to install via AltStore (PAL or Classic)

  1. Go to the altstore/releases folder of this repo, and download the latest .ipa file;
  2. Move the .ipa file to your device;
  3. Open AltStore on your device, and tap "Add" to add the .ipa file;
  4. Tap "Install" to install the app;
  5. The app will have to be refreshed every 7 days, as usual.

About

Fork of Phanpy, set up as an iOS app

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.7%
  • CSS 18.9%
  • Other 0.4%