← knowledge.oriz.in

Public image-upload tool on image.oriz.in — gated by free/pro tier

decision decisionimage-uploadpublicpricing-tierimage-cdnphotospixie-app

Public image-upload tool — gated by tier

Scope

image.oriz.in/upload exposes the family's 5-host replicate pipeline as a public tool. User drops an image, gets back the URL(s). Powered by the same lib/photos.ts orchestration that journal-app uses.

Tier gating

Tier Uploads/day Sign-in reCAPTCHA v3 Notes
Anonymous 0 n/a n/a Sees paywall card with "Sign in to upload" CTA
Free 5 Required Required Quota tracked in Firestore (users/{uid}.image_uploads_today)
Pro Unlimited Required Required No quota check
Max Unlimited Required Required + extras: signed delete links, expiration settings

Why gated

Durability promise

Best-effort only. Stated on the upload page: "Images are mirrored across 5 free-tier hosts. We retain image URLs but cannot guarantee permanent availability. Keep your own backup of important originals."

This is the lawyer-safe stance. Reasons:

If 2/5 hosts survive, the image is still served via first-200-wins read path. So practical durability is high, but we promise nothing.

Implementation

Lives in repos/oriz/own/prod/apps/tools/oriz-pixie-image-tools-app/:

Upgrade flow

Free user hits 5/day cap ? "Upgrade to Pro for unlimited uploads" ? redirects to oriz.in/pricing?app=pixie-image&return=https://image.oriz.in/upload. Razorpay checkout on oriz.in. Tier updated in Firestore. Next refresh, user has unlimited.

Cross-refs