gittech. site

for different kinds of informations and explorations.

Reubah – a web-based tool for convert images/docs

Published at
Dec 23, 2024

Reubah - Universal File Converter & Image Processor

a simple web-based tool for processing images and converting documents with a simple interface

Features

  • File Converter (Keep on adding more formats)
  • Dark Mode
  • API
  • Background Removal for Images

Quick Start

Using Docker

git clone https://github.com/dendianugerah/reubah.git
cd reubah
docker-compose up -d

or create a folder for the project and run

docker run -d --name reubah -p 8081:8081 -v doc-temp:/tmp -e PORT=8081 --restart unless-stopped ghcr.io/dendianugerah/reubah:latest

Access at: http://localhost:8081

Local Development

Requirements:

  • Go 1.22+
  • LibreOffice (for document conversion)
  • GCC/G++
go mod download
go run cmd/server/main.go

Images

Here are some images related to the project:

Home Document Processing Merge

Format Support & Compatibility

Matrix Guide:

  • Find your source format in the left column
  • Follow the row to find available output formats
  • βœ… = Supported conversion
  • - = Same format (no conversion needed)

Image Conversion Matrix

From ➑️ To ⬇️ JPG/JPEG PNG WebP GIF BMP HEIC/HEIF PDF
JPG/JPEG - βœ… βœ… βœ… βœ… ❌ βœ…
PNG βœ… - βœ… βœ… βœ… ❌ βœ…
WebP βœ… βœ… - βœ… βœ… ❌ βœ…
GIF βœ… βœ… βœ… - βœ… ❌ βœ…
BMP βœ… βœ… βœ… βœ… - ❌ βœ…
HEIC/HEIF βœ… βœ… βœ… βœ… βœ… - βœ…

Document Conversion Matrix

From ➑️ To ⬇️ PDF DOCX DOC ODT RTF TXT
PDF (from PDF currently still bad) - βœ… βœ… ❌ ❌ ❌
DOCX βœ… - βœ… βœ… βœ… βœ…
DOC βœ… βœ… - βœ… βœ… βœ…
ODT βœ… βœ… βœ… - βœ… βœ…
RTF βœ… βœ… βœ… βœ… - βœ…
TXT βœ… βœ… βœ… βœ… βœ… -

Additional Image Features

Format Background Removal (Soon) Optimization Batch Processing
JPG/JPEG ❌ βœ… βœ…
PNG ❌ ❌ βœ…
WebP ❌ ❌ βœ…
GIF ❌ ❌ βœ…
BMP ❌ ❌ βœ…
HEIC/HEIF ❌ ❌ βœ…

Notes

  • Isolated processing environment
  • No file storage - immediate delivery
  • Automatic cleanup
  • Input validation

License

This project is licensed under the MIT License.