This project provides a simple Node.js application to resize images for Instagram and Facebook. It allows users to convert images to the appropriate dimensions required for these platforms.
image-resizer
├── src
│ ├── index.js # Entry point of the application
│ └── utils
│ ├── BaseFileSelector.js # Responsible for selecting appropriate image files
│ ├── CreatePostUseCase.js # Handles the creation of new posts
│ ├── ImageProcessor.js # Contains the logic for processing images
├── package.json # Project metadata and dependencies
├── .gitignore # Files and directories to be ignored by Git
└── README.md # Project documentation
To install the dependencies for this project, run the following command:
npm installTo start the application, use the following command:
node src/index.js- Resize images to fit Instagram and Facebook dimensions
- Supports multiple image formats
- Easy to use command-line interface
If you would like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature-branch) - Create a new Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue or contact the project maintainer.