Image Optimizer with Pinata and React (Vite)
This project is an Image Optimizer built with React (using Vite as the build tool) and integrated with Pinata for decentralized image upload and retrieval via IPFS. The app allows users to upload an image, customize dimensions, quality, and format, and then optimize and retrieve it through Pinata's IPFS gateway.
Features
- Upload images to IPFS using Pinata.
- Customize image width, height, quality, and format (WebP, JPEG, PNG).
- Preview both the original and optimized versions of the image.
- Get the optimized image URL from Pinata's IPFS gateway.
Tech Stack
- Frontend: React with TypeScript
- Build Tool: Vite
- Storage: Pinata (IPFS)
Getting Started
Follow the steps below to run the project locally:
Prerequisites
Make sure you have the following installed:
- Node.js
- Pinata Account (for the API keys)
1. Clone the Repository
git clone https://github.com/chintanonweb/pinata-image-optimizer.git
cd image-optimizer-pinata
2. Install Dependencies
npm install