Fork of https://github.com/aeolyus/gull with basic changes
Find a file
2023-04-26 21:15:35 -07:00
.github/workflows [github] Stup docker buildx before building image 2023-04-26 21:15:35 -07:00
handlers Comply with golint 2020-05-29 10:58:11 -07:00
public [ui] Add responsive dark mode color scheme 2022-01-09 14:09:23 -08: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
Dockerfile [docker] Refactor to cache for faster builds 2023-04-26 21:09:16 -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
Makefile [make] Add docker builder commands 2023-04-26 21:12:24 -07:00
README.md [readme] Add some make commands to readme 2023-04-26 21:13:11 -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

Optionally, build the container. Otherwise, the public one will be pulled down.

make image

Run the container.

docker run \
    -d \
    --name gull \
    -v /gull-data/:/data/ \
    -p 8081:8081 \
    ghcr.io/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
make run

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

Acknowledgements

Inspired by mnml!