Skip to content

mbaraa/dsc_logo_generator

Repository files navigation

GDSC Logo Generator

GoDoc Go Report Card

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:

  1. Using Docker

    • docker compose up
  2. Without Docker

    1. install the dependencies one by one
      • or just run go mod tidy
    2. build the client(front-end)
      • cd ./client
      • npm run build
    3. build run the server's executable
      • go build -ldflags="-w -s"
      • ./dsc_logo_generator
    4. open 127.0.0.1:1105 and generate some logos :)

examples:

  • horizontal

  • vertical