Simple, Fast, Privacy-Friendly Image Editor for Web
imgStyler is a minimalistic, intuitive, and entirely browser-based image editor designed to quickly prepare your images for online use. Built specifically to simplify common tasks—cropping, applying filters, adjustments, and exporting—it lets you rapidly enhance and optimize images without complex software or uploads.
- Quickly crop images using freeform selection or handy social media presets.
- Apply adjustments like brightness, contrast, saturation, hue, sharpness, and more.
- Instantly preview and select from built-in artistic filters such as Vintage, Grayscale, Noir, Sepia, and Sketch.
- Export in popular formats (PNG, JPEG, WebP, TIFF).
- Customize image quality, resize dimensions, and choose lossless or lossy compression.
- All image processing happens in your web browser using JavaScript.
- No data or images are ever uploaded to a server—your files stay private.
Clone this repository:
git clone https://github.com/dev4pgh/imgstyler-astro.git
cd imgstyler-astro
npm install
npm run devOpen your browser and navigate to the local URL provided.
This project includes integration for Umami, a privacy-focused web analytics solution. Analytics data is only sent if you configure the necessary environment variables.
-
Create a
.envfile: Copy the.env.examplefile to a new file named.envin the project root:cp .env.example .env
-
Edit
.env: Replace the placeholder values in the new.envfile with your own Umami instance details:UMAMI_SCRIPT_URL: The full URL to your Umamiscript.jsfile (e.g.,https://your-umami-instance.com/script.js).UMAMI_WEBSITE_ID: The unique Website ID provided by your Umami instance for this site.
-
Restart Dev Server: If the development server (
npm run dev) was already running, stop it (Ctrl+C) and restart it to load the new environment variables. -
Deployment: For analytics to work on your deployed site, you must also configure these same
UMAMI_SCRIPT_URLandUMAMI_WEBSITE_IDenvironment variables in your hosting provider's settings.
- Upload an image: Drag and drop or select a file.
- Crop: Choose presets or custom aspect ratios.
- Apply Adjustments & Filters: Enhance your image to your liking.
- Export: Choose format, quality, and dimensions, then download.
- React & Astro for UI components
- Tailwind CSS for styling
- JavaScript Canvas API for image processing
imgStyler is developed with your privacy in mind—no uploads, and no external dependencies for image processing.
Contributions are welcome! Please submit issues or pull requests to improve functionality or usability.
Developed by Dev4PGH LLC.