Your pipeline for compressing & resizing images, sorted! Sharp is a web application for compressing and managing images with customizable compression settings.
The server uses sharp for image processing.
- Image upload and gallery view
- Customizable compression settings
- Real-time image compression
- Before/After image comparison
- Ability to re-adjust compression settings
- Bulk upload, re-adjust, and download
Before you begin, ensure you have installed:
- Node.js (v18 or higher)
- npm (Node Package Manager)
-
Clone the repository: git clone https://github.com/surajk95/sharp-dashboard.git
-
Install dependencies:
# Install root dependencies
npm install:all
To run the application in development mode:
# Start the server & client (from the root directory)
npm run dev
The application will be available at http://localhost:3001
You can also run the client & server separately:
# Start the client (from the client directory)
npm run dev:client
# Start the server (from the server directory)
npm run dev:server
├── client/
│ ├── app/
│ │ ├── components/
│ │ │ └── dashboard/
│ │ ├── types/
│ │ └── page.tsx
│ ├── package.json
│ └── ...
├── server/
│ ├── server.js
│ ├── package.json
│ └── ...
├── package.json
Please check package.json for more scripts.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
For support, please open an issue in the repository.