Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumitst05/shrink-it
Simple file compression platform using Go + HTMX
https://github.com/sumitst05/shrink-it
filecompression go htmx tailwindcss webapp
Last synced: 27 days ago
JSON representation
Simple file compression platform using Go + HTMX
- Host: GitHub
- URL: https://github.com/sumitst05/shrink-it
- Owner: sumitst05
- License: gpl-3.0
- Created: 2024-04-27T07:29:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-04T15:27:29.000Z (6 months ago)
- Last Synced: 2024-09-29T10:45:52.750Z (about 1 month ago)
- Topics: filecompression, go, htmx, tailwindcss, webapp
- Language: Go
- Homepage: https://shrink-it.onrender.com
- Size: 83 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ShrinkIt
ShrinkIt is a simple file compression platform written in Go
The UI is written in 🐴 HTMX with [a-h/templ](https://github.com/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](https://github.com/sumitst05/shrink-it/assets/106669732/5919fcff-a59e-425c-ac2a-bc38c9213422)
![swappy-20240430_165744](https://github.com/sumitst05/shrink-it/assets/106669732/f2b5fb5f-c9e6-4828-9e2b-5d926dd86132)
### Installation:
#### Using Docker:
1. Pull the image with:
```bash
docker pull sumitst05/shrink-it:latest
```2. Run:
```bash
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:
```bash
git clone https://github.com/your-repo/shrink-it.git
```2. Navigate to the project's root:
```bash
cd shrink-it
```3. Build and run the application:
```bash
make dev
```### Deployed on:
Render
> 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