Using Claude Code to reclaim mobile app privacy

AlexanderHanff1 pts1 comments

Using Claude to reclaim privacy by replacing mobile apps — That Privacy Guy!

Image generation details

ModelFLUX.2 [klein] 9B

ArchitectureFLUX.2 DiT (Diffusion Transformer, distilled) + Mistral-3 text encoder · 9B (distilled DiT)

Text encodersMistral-3 (24B)

VAEFLUX.2 VAE (f16)

SamplerDDIM Trailing · 4 steps

Resolution1344×768

Seed865521097

Clip skip2

GeneratorDrawThings (FLUX.2 [klein] 9B, q8p) via TPG Blog Pipeline

HardwareApple M1 Ultra · 20 cores (16 performance + 4 efficiency) · 48 cores GPU · 128 GB unified

OSmacOS 26.3 (build 25D125)

AuthorAlexander Hanff

Prompt<br>An old laptop sitting on a wooden shelf in a dim home garage gym, lid half open with the screen glowing softly, a single ethernet cable neatly plugged in, dumbbells and a workout bench blurred in the background, cinematic low-key lighting, dramatic shadows, photographic, shallow depth of field, 35mm

(c) Hanff & Co. AB - CC BY-NC-SA 4.0<br>· https://www.thatprivacyguy.com/

This could be you<br>Reach privacy, DP, security and AI leaders

Over 3 million reads in the first two months — CPOs, DPOs, general counsel, CISOs, compliance teams. No tracking, no ad tech, no auction. Direct deal only.

Get in touch

I remember back in 2009, I had been working for Privacy International for about a year and I was insanely busy travelling all over the place speaking at conferences, public consultations and the like, when I received a request to speak at an App Developer conference in the UK.

I agreed because in my mind mobile apps are one of the worst infringers of privacy and data protection laws due to hidden adtech SDKs and other data exfiltration which is not permitted in the EU without real consent.

The next email asked me to provide a brief summary of my keynote so I went on to create a plan for a keynote on App Privacy under the UK Privacy and Electronic Communications Regulation (aka PECR also known as the ePrivacy Directive in the EU).

Imagine my surprise when the next reply stated "Oh that sounds great but we don't think our audience would be interested in that." - why on earth they reached out to someone from Privacy International to give a keynote and expected it not to be about privacy, is lost on me but them's the apples - the keynote did not go ahead and to this day, mobile apps continue to be some of the most serious lawbreakers when it comes to privacy, security and data protection laws (not to mention consumer protection laws).

As such, I am incredibly careful about the apps I allow to be installed on my mobile devices - I no longer play mobile games (they are literally STaaG - "surveillance tooling as a game") and the mobile apps I do use are mostly limited to utility tools.

Over the past few months I have started to replace as many mobile apps as I can with new Progressive Web Apps (PWAs) which I run on a local docker server (on my local network) so they are completely private. I can "share" them as a Desktop App (making them standalone apps on my iPhone's home screen) and keep all state stored locally on the device. I can even secure them with passcodes via browser APIs and use my local fingerprint scanner (on my MacBook Pro or my Mac Studio) - with everything stored in the secure enclave on device.

For example, last week I finally got round to setting up the gym in my garage and wanted to start the 100 Push-Ups programme (which is very good by the way) - I checked the App Store for existing apps (because this is a well known and popular 6 week workout programme that actually works) and as expected found dozens of apps claiming to be for the 100 Push-Ups programme.

I checked out several of them and they were all woeful - the free ones are just completely restricted and unusable, the paid for (either directly or with in-app purchases) were just as bad and they are all exfiltrating data from the device.

So I opened iTerm and asked Claude Code to "Please can you checkout the original 100 pushups programme and create a PWA for our local docker stack that will allow me to follow the programme, save the session results to the local device and provide me with timers in between sets to help with my rest timings" - within 15 minutes it was done - one hit, passcode implemented, PWA based, committed and pushed to a local gitea repo and then launched as a docker service directly from git context. Up, running and working flawlessly, no tracking, no SDKs, no third party network requests, no adtech, no surveillance.

This is just one of dozens of App Store apps I have replaced with local PWAs in the past couple of months and I don't feel even remotely guilty about it.

Why?

Because as I said, Mobile Apps have been ignoring the law for literally 20 years, their own industry have declared they are not interested in privacy and now we have the tools to circumvent them entirely and create tools which respect our fundamental rights and don't require us to share our interests for corporate profits.

I don't care if app developers hate...

privacy apps mobile local programme data

Related Articles