https://github.com/sudipb7/webpx
Compress images with ease. WebPx is a free tool that allows you to compress images online.
https://github.com/sudipb7/webpx
nextjs react-dropzone server-actions shadcn-ui sharp sonner typescript upstash-redis
Last synced: about 2 months ago
JSON representation
Compress images with ease. WebPx is a free tool that allows you to compress images online.
- Host: GitHub
- URL: https://github.com/sudipb7/webpx
- Owner: sudipb7
- Created: 2024-06-25T22:06:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T06:38:31.000Z (7 months ago)
- Last Synced: 2025-03-20T12:51:20.578Z (7 months ago)
- Topics: nextjs, react-dropzone, server-actions, shadcn-ui, sharp, sonner, typescript, upstash-redis
- Language: TypeScript
- Homepage: https://webpx.vercel.app
- Size: 302 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebPx
## Description
Convert images to WebP format with ease. WebPx is a free online tool that allows you to convert images to WebP format.
## Features
- Webpic takes images as an input, converts it into WebP and then downloads it.
- Supports multiple image formats.
- Batch conversion: Convert multiple images at once.
- No registration required: Start converting immediately.
- Fast and efficient conversion process.
- Secure: Your images are processed locally in your browser.## Teach Stack
WebPx is built using modern web technologies:
- Next.js: React framework for building server-side rendered and static websites.
- TypeScript: Typed superset of JavaScript.
- React Dropzone: React library for creating drag-and-drop file uploaders.
- Sharp: High-performance Node.js image processing library.
- shadcn/ui: Re-usable components built with Radix UI and Tailwind CSS.
- Upstash Redis: Serverless Redis database for storing number of requests and the number of files transformed.## Local Installation
To run WebPx locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/sudipb7/WebPx.git
```2. Navigate to the project directory:
```bash
cd WebPx
```3. Install dependencies:
```bash
pnpm install
```4. Set up environment variables:
Create a .env.local file in the root directory and add necessary environment variables
```js
UPSTASH_REDIS_REST_URL = "";
UPSTASH_REDIS_REST_TOKEN = "";
```5. Run the development server:
```bash
pnpm dev
```6. Open http://localhost:3000 in your browser to see the application.
## Privacy
We respect your privacy. All image conversions are done locally in your browser. Your images are not uploaded to any server.
## Limitations
- Maximum file size: 10MB per image
- Maximum number of images per batch: 10## About WebP
WebP is a modern image format developed by Google. It provides superior lossless and lossy compression for images on the web. WebP images are smaller in size compared to PNGs and JPEGs while maintaining high quality, leading to faster webpage loading and reduced data usage.
## Contact
**[sudipbiswas_dev](https://x.com/sudipbiswas_dev)**