Skip to content

sumitst05/shrink-it

Repository files navigation

Go HTMX Tailwind CSS

ShrinkIt

ShrinkIt is a simple file compression platform written in Go

The UI is written in 🐴 HTMX with a-h/templ and Tailwind CSS

All the compression and shrinking is performed using the Go standard library alongside some very handy and amazing CLI Tools (for now)

Shrinks:

  • 🖼️ Images:

    PNG, JPG

  • 📄 Documents:

    PDF, DOCX

  • 🎶 Audios :

    MP3, WAV

  • 🎞️ Videos :

    MP4, MKV

Quick Peek:

swappy-20240430_165715

swappy-20240430_165744

Installation:

Using Docker:

  1. Pull the image with:
docker pull sumitst05/shrink-it:latest
  1. Run:
docker run -p 3000:3000 sumitst05/shrink-it

This starts the application and makes it accessible on port 3000.

Building from Source:

  1. Clone the repository:
git clone https://github.com/your-repo/shrink-it.git
  1. Navigate to the project's root:
cd shrink-it
  1. Build and run the application:
make dev

Deployed on:

Note: The deployment can support only files up to 1 MB, if you want to try uploading larger files, build from source and run locally