Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbaraa/dsc_logo_generator

The most optimized and working GDSC logo generator!
https://github.com/mbaraa/dsc_logo_generator

developer-student-clubs go golang google-developer-student-club logo-generator logos

Last synced: 28 days ago
JSON representation

The most optimized and working GDSC logo generator!

Awesome Lists containing this project

README

        

# GDSC Logo Generator

[![GoDoc](https://godoc.org/github.com/mbaraa/dsc_logo_generator?status.png)](https://godoc.org/github.com/mbaraa/dsc_logo_generator) [![Go Report Card](https://goreportcard.com/badge/github.com/mbaraa/dsc_logo_generator)](https://goreportcard.com/report/github.com/mbaraa/dsc_logo_generator)

## dependencies:
- [go-cairo](https://github.com/ungerik/go-cairo) cairo the image manipulation library
- [go-ttf](https://godoc.org/github.com/golang/freetype/truetype) used to calculate the text's length using a specific ttf font
- [fixed](https://godoc.org/golang.org/x/image/math/fixed) the fixed numerical type is used for the ttf glyph's length

## run locally:
1. Using `Docker`
- `docker compose up`


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

## examples:
- ### horizontal



- ### vertical