Fork of https://github.com/aeolyus/gull with basic changes
Find a file
2020-06-09 09:27:21 +02:00
handlers Comply with golint 2020-05-29 10:58:11 -07:00
public add nolog footer 2020-06-09 09:27:21 +02:00
utils Comply with golint 2020-05-29 10:58:11 -07:00
.gitignore [public] Add js for interactive frontend and some css 2020-05-14 14:23:37 -07:00
docker-compose.yml docker-compose example 2020-06-09 09:25:48 +02:00
Dockerfile [docker] Utilize multistage building to minimize docker image 2020-05-30 14:12:59 -07:00
go.mod [utils/handlers] Add regex URL validation and remove govalidator 2020-05-15 16:35:01 -07:00
go.sum [utils/handlers] Add regex URL validation and remove govalidator 2020-05-15 16:35:01 -07:00
LICENSE [license] Update license to MPL-2.0 2020-05-13 13:46:40 -07:00
README.md [readme] Update readme docker run instructions 2020-05-30 14:13:25 -07:00
server.go Comply with golint 2020-05-29 10:58:11 -07:00

gull

A simple URL shortener made in Go screenshot

Usage

Docker

Pull the image and run.

docker run -d --name gull -v /gull-data/:/data/ -p 8081:8081 aeolyus/gull:latest

This will preserve any persistent data under /gull-data/. Change this as needed.

From Source

git clone https://github.com/aeolyus/gull.git
cd ./gull
go get -d -v ./...
go run server.go

This will create a directory ./gull/data where persistent data will be stored.

Acknowledgements

Inspired by mnml!