What are you doing that requires you use iCloud in lieu of FOSS/self hosted options?
For photos, check out PhotoSync. It supports a one time purchase and is phenomenal for its use case. Fairly powerful; not something to use without reviewing every single setting first.