https://github.com/mr-sunglasses/reimg
reimg - An Image size manipulation API for md files.
https://github.com/mr-sunglasses/reimg
fastapi image-processing open-source
Last synced: 11 months ago
JSON representation
reimg - An Image size manipulation API for md files.
- Host: GitHub
- URL: https://github.com/mr-sunglasses/reimg
- Owner: Mr-Sunglasses
- License: other
- Created: 2024-02-17T16:57:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T10:53:58.000Z (over 1 year ago)
- Last Synced: 2025-04-11T01:41:35.445Z (about 1 year ago)
- Topics: fastapi, image-processing, open-source
- Language: Python
- Homepage: https://reimg.cfd
- Size: 51.8 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# reimg
[](https://github.com/Mr-Sunglasses/reimg)
[](https://github.com/Mr-Sunglasses/reimg/network)
[](https://github.com/Mr-Sunglasses/reimg)
[](https://github.com/Mr-Sunglasses/reimg/blob/master/LICENSE)
[](https://github.com/ellerbrock/open-source-badges/) [](http://makeapullrequest.com)  
A tool that can help you to resize images.
## The Problem
I've been managing a my [blog](https://blog.kanishkk.me),which supports writing posts in markdown format. The biggest issue I've encountered is resizing images since markdown doesn't support HTML for this purpose.
## Usage
```
https://reimg.cfd/?url=image_public_url&width=image_width&height=image_height
```
## Example Usage
```
https://reimg.cfd/?url=https://upload.wikimedia.org/wikipedia/commons/c/c3/NGC_4414_(NASA-med).jpg&width=170&height=140
```
.jpg&width=170&height=140)
## Local setup for development with docker
```
git clone https://github.com/Mr-Sunglasses/reimg
cd reimg
docker build -t reimg .
docker run -d -p 8080:8080 --name reimg-container reimg
```
## Local setup for development without docker
Note: The project use [PDM](https://pdm-project.org/en/latest/) to manage dependencies, so make sure that your system have [pdm installed](https://pdm-project.org/en/latest/#installation)
```
git clone https://github.com/Mr-Sunglasses/reimg
cd reimg
pdm install
# To run in development mode
pdm run dev
# To run in production mode
pdm run start
```
## Contributing
Contributions are always welcome!
## Authors
- [@Mr-Sunglasses](https://www.github.com/Mr-Sunglasses)
## License
[WTFPL](http://www.wtfpl.net/)
## 💪 Thanks to all Wonderful Contributors
Thanks a lot for spending your time helping reimg grow.
Thanks a lot! Keep rocking 🍻
[](https://github.com/Mr-Sunglasses/reimg/graphs/contributors)
## 🙏 Support++
This project needs your shiny star ⭐.
Don't forget to leave a star ⭐️
[](https://www.python.org/) [](https://forthebadge.com)