Image Optimizer is a simple tool to optimize images for web usage. It reduces the file size of images without compromising on quality.
- Image compression
- Single image optimization
- RESTful API for image processing
- Python 3.8 or higher
- pip (Python package manager)
- Git
Note: Python Backend is located in
imageoptimizer.app
git clone https://github.com/JeremyMorgan/Super-Image-Optimizer.git
cd Super-Image-Optimizer/imageoptimizer.app
# On macOS/Linux
python3 -m venv venv
source venv/bin/activate
# On Windows
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
# On macOS/Linux
export FLASK_APP=run.py
export FLASK_ENV=development
# On Windows
set FLASK_APP=run.py
set FLASK_ENV=development
# Using Flask CLI
flask run
# Or using Python directly
python run.py
Note: React Frontend is located in
imageoptimizer.web
- Node.js (version 18 or later)
- npm (version 9 or later)
git clone https://github.com/JeremyMorgan/Super-Image-Optimizer.git
cd Super-Image-Optimizer/imageoptimizer.web
npm install
Ensure your backend server is running and accessible. By default, the application attempts to connect to http://127.0.0.1:5000/upload
.
npm run dev
The application will be available at http://localhost:5173
npm run build
npm run preview
npm run dev
: Starts the development server.npm run build
: Builds the application for production.npm run preview
: Serves the production build locallynpm run lint
: Runs ESLint to check for code quality
- React 18.3.1
- Vite 5.4.10
- ESLint for code linting
- React DOM for rendering
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the Creative Commons License (CC0 1.0 Universal). See the LICENSE file for details.
For any questions or suggestions, please open an issue or contact the repository owner.