https://github.com/skippednote/go-collage
https://github.com/skippednote/go-collage
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skippednote/go-collage
- Owner: skippednote
- Created: 2020-08-19T01:27:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T09:14:46.000Z (over 5 years ago)
- Last Synced: 2025-06-11T15:29:18.654Z (12 months ago)
- Language: Go
- Homepage: https://go-collage.vercel.app
- Size: 612 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoCollage
> Generate collage using Go
## Setup
- Clone the repository
- run go get
- run `go run main.go`
## Deploy
- To deploy connect the repository with [Vercel](https://vercel.app).
## Usage
- By default the image is of width 1920px and colored. However to change the
width and color you can pass the following query parameters:
- `gray=true` to convert to the image to grayscale.
- `width=900` to resize the width to 900px. The height will automatically
maintain the aspect ratio.
- Base URL and the image on the page can be configurable using query parameters.
- `url=https://www.axelerant.com`
- `image=
\s+