Skip to content

Conversation

@nomadbitcoin
Copy link

This PR migrates the Proof of Ink (PoI) tattoo image storage infrastructure from Pinata to Apillon,
implementing an automatic approval workflow for Society member tattoos. The changes include a new submission
page, a Cloudflare Worker for automated processing, and migration scripts for existing data.

Key improvements:

  • Automated approval workflow for Society members
  • New tattoo submission interface with file upload
  • Cloudflare Worker for serverless image processing and storage
  • Migration tooling for existing Pinata-hosted images
  • Enhanced gallery with approval status indicators
  • Instructions to use submit page instead of Element channel

  Features:
  - Only candidates and members can upload POI images (non-members blocked)
  - Smart routing: Members upload directly to approved/, candidates to pending/
  - Auto-sync: Frontend automatically moves pending images to approved/ when candidates become members
  - User notifications: Toast message shows sync count and reloads gallery
  - Backend endpoint: /sync-approved-members moves images from pending/ to approved/
Added migration tooling:
- Initial bucket setup with folder structure
- One-time migration of images from Pinata to Apillon
- Automatic duplicate prevention and resume capability

Updated frontend to read from Apillon:
- Replaced Pinata IPFS gateway with Apillon CDN links
- Removed IPFS helper functions (gateway selection, pinning)
- Updated GalleryPage to fetch tattoos from Apillon bucket
- Updated MemberOffcanvas to display tattoos via Apillon
- Improved loading states and error handling
@netlify
Copy link

netlify bot commented Oct 22, 2025

Deploy Preview for dreamy-gates-ad44c0 ready!

Name Link
🔨 Latest commit 0f994c9
🔍 Latest deploy log https://app.netlify.com/projects/dreamy-gates-ad44c0/deploys/68f923e3b5b6a200085b18a5
😎 Deploy Preview https://deploy-preview-177--dreamy-gates-ad44c0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants