snigle / photocloud

Google photo alternative

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhotoCloud

A Google photo alternative

Context

I'm using google photo to easily save my picture on the cloud and let free space on my devices. I like the smooth and fast UI, the share feature, and the compression which reduce the size of my photos.
But I don't know where are my photo, I don't know what google do with them, I don't trust Google.
Furthermore I don't see any alternative so easy to use.

Business model

Offers :

  • 5Go Free for 15 000 photos.
  • 100Go 2€ for 10 000 High Definition photos or 300 000 compressed photos
  • Distant Backup 2€

Storage costs

Storage cost on OVHCloud is 1ct/GB, so I keep 1€ of paying plan for the cost of the free plan.
For 100 paying customers, I can offer 5 000GB which corresponds to 1000 free account.
Backup cost on OVHCloud is 1ct for 5GB.

infrastructure costs

Bandwidth 1ct/GB which should never been more than 10Mo per customer per day and should cost 6€ for 2000 users. Authentication server to do the link to the customer with its S3 credentials. Start with 5€ for 2000 users. Billing server to store credit cards and do the payement with bank providers.

Taxes

Credit card payment : 1,8% + 0,18€ = 0,2ct
TVA = 20% = 40ct

User stories

I want to save my photo in the cloud and let me the possibility to do backup.
I want a smooth application to display my photos.
I want to know where are stored my photos and who can have access to it and why.
I want to share an album with my family.
I want to automatically synchronise my photos of my smartphone(Android/IOS)
I want to upload and display my photo in my computer browser.
I want to be sure my photos will never been deleted with a backup option in another region.

I want to reduce the cost of the infrastructure to permit free access to most of people.

Technical directions

Cheaper storage found is OVHCloud object storage and archive storage for backups
Standard object storage is S3 Bucket API or Swift API, need to wait for end of life policies
Image compression with HTML Canvas, maybe add more compression with imagemagick in backend.
Stripe looks like the cheaper billing system : 1,4 % + 0,25 € = 0,28ct
Customer subscriptions are store in swift/s3 json payload.
Application is developped using Quasar cli (web,IOS,Android) : capacitor + vueJS

Abandonned directions

Frontend application using Cordova and Vue3 in typescript
Difficulty to find google auth plugin up to date with cordova. I wanted to use capacitor to get latest plugins. Quasar is a helper to also run capacitor for the web.
Image compression with ImageMagick, to reduce cost, do the compression in the browser with WASM-ImageMagick
Imagemagick in WASM is too slow and upload of photo became very slow.
MongoPay looks like the cheaper billing system : 1,8% + 0,18€ = 0,2ct
MongoPay didn't accept the product\

To be defined

How to do the payment with credit card.
How to encode/decode stored pictures.

Contributing

I don't defined the way to contribute but if you are interested by the project or you have advices, don't hesitate to contact me :)

About

Google photo alternative

License:GNU General Public License v3.0


Languages

Language:TypeScript 70.6%Language:Go 29.4%