dsc_logo_generator
dsc_logo_generator copied to clipboard
GDSC Logo Generator
GDSC Logo Generator
dependencies:
- go-cairo cairo the image manipulation library
- go-ttf used to calculate the text's length using a specific ttf font
- fixed the fixed numerical type is used for the ttf glyph's length
run locally:
-
Using
Docker
-
docker compose up
-
-
Without
Docker
- install the dependencies one by one
- or just run
go mod tidy
- or just run
- build the client(front-end)
-
cd ./client
-
npm run build
-
- build run the server's executable
-
go build -ldflags="-w -s"
-
./dsc_logo_generator
-
- open
127.0.0.1:1105
and generate some logos :)
- install the dependencies one by one
examples:
-
horizontal
-
vertical