https://github.com/adityasinghvats/sankuchit
frontend repo for golang resizer server
https://github.com/adityasinghvats/sankuchit
golang htmlforms restapi
Last synced: 10 months ago
JSON representation
frontend repo for golang resizer server
- Host: GitHub
- URL: https://github.com/adityasinghvats/sankuchit
- Owner: Adityasinghvats
- Created: 2025-03-27T08:36:43.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T08:33:34.000Z (10 months ago)
- Last Synced: 2025-03-28T09:34:33.013Z (10 months ago)
- Topics: golang, htmlforms, restapi
- Language: HTML
- Homepage: https://adityasinghvats.github.io/sankuchit/
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sankuchit - Open Source Image Resizer & Refactor Service

Sankuchit is a free, fast, and secure image resizing and optimization service built with Golang. It allows users to resize, optimize, and convert images seamlessly through a web interface or API.
## 🚀 Features
- 🌟 **High-Quality Resizing** - Resize images while maintaining the best quality.
- ⚡ **Lightning Fast** - Optimized Golang backend ensures fast image processing.
- 🔄 **Multiple Formats** - Supports PNG, JPEG, and WebP conversions.
- 🔒 **Privacy Focused** - No data is stored after processing.
- 📡 **REST API Available** - Use the API to integrate with your applications.
- 🌍 **Cloud Hosted** - Works anywhere, anytime.
## 📸 Live Demo
Try it out: [Sankuchit Live](https://adityasinghvats.github.io/sankuchit/)
## 🛠 Installation
### Prerequisites
- Go 1.20+
- Docker (optional for containerized deployment)
### Backend yaha milega
- [Backend ka code repo](https://github.com/Adityasinghvats/sankuchit-backend)
### Clone the Repository
```sh
git clone https://github.com/yourusername/sankuchit.git
cd sankuchit
```
### Install Dependencies
```sh
go mod tidy
```
### Run the Server
```sh
go run main.go
```
### Run with Docker
```sh
docker build -t sankuchit .
docker run -p 8080:8080 sankuchit
```
## 📡 API Usage
Sankuchit provides a simple REST API for image resizing.
### Resize an Image
**Endpoint:** `POST /resize`
#### Request Example:
```sh
curl -X POST "https://your-api-url.com/resize" \
-F "image=@sample.jpg" \
-F "width=500" \
-F "height=700" \
-F "quality=95" \
-F "format=png"
```
#### Response Example:
```json
{
"file": "resized_jpeg.jpeg/resized_png.png"
}
```
## 🏗️ Contributing
We welcome contributions! Feel free to fork the repo and submit a pull request.
1. Fork the repository.
2. Create a new branch: `git checkout -b feature-name`
3. Commit your changes: `git commit -m 'Add new feature'`
4. Push to the branch: `git push origin feature-name`
5. Open a Pull Request.
## 📄 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## 💬 Support
For any issues or feature requests, please open an issue on GitHub or contact us at [adityakumarbgs6@gmail.com](mailto:adityakumarbgs6@gmail.com).