{"id":13693090,"url":"https://github.com/go-ggz/ggz","last_synced_at":"2025-05-02T21:31:24.423Z","repository":{"id":128399048,"uuid":"105423205","full_name":"go-ggz/ggz","owner":"go-ggz","description":"An URL shortener service written in Golang","archived":false,"fork":false,"pushed_at":"2023-02-25T00:30:46.000Z","size":5983,"stargazers_count":183,"open_issues_count":10,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T17:14:54.865Z","etag":null,"topics":["golang","microservice","shortener"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-ggz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-01T06:15:27.000Z","updated_at":"2024-05-15T06:04:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"847f4b05-7304-4bba-9798-f633564117f1","html_url":"https://github.com/go-ggz/ggz","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-ggz%2Fggz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-ggz%2Fggz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-ggz%2Fggz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-ggz%2Fggz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-ggz","download_url":"https://codeload.github.com/go-ggz/ggz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224337283,"owners_count":17294697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","microservice","shortener"],"created_at":"2024-08-02T17:01:05.424Z","updated_at":"2024-11-12T19:30:26.912Z","avatar_url":"https://github.com/go-ggz.png","language":"Go","funding_links":[],"categories":["开源类库","Open source library","golang"],"sub_categories":["网络","The Internet"],"readme":"# ggz\n\n[![GoDoc](https://godoc.org/github.com/go-ggz/ggz?status.svg)](https://godoc.org/github.com/go-ggz/ggz)\n[![Build Status](https://cloud.drone.io/api/badges/go-ggz/ggz/status.svg)](https://cloud.drone.io/go-ggz/ggz)\n[![Build status](https://ci.appveyor.com/api/projects/status/prjvsklt3io5nuhn/branch/master?svg=true)](https://ci.appveyor.com/project/appleboy/ggz/branch/master)\n[![codecov](https://codecov.io/gh/go-ggz/ggz/branch/master/graph/badge.svg)](https://codecov.io/gh/go-ggz/ggz)\n[![Go Report Card](https://goreportcard.com/badge/github.com/go-ggz/ggz)](https://goreportcard.com/report/github.com/go-ggz/ggz)\n[![codebeat badge](https://codebeat.co/badges/6fc8d61a-17c1-446d-a895-2dc6a8d1c16c)](https://codebeat.co/projects/github-com-go-ggz-ggz-master)\n[![Docker Pulls](https://img.shields.io/docker/pulls/goggz/ggz-server.svg)](https://hub.docker.com/r/goggz/ggz-server/)\n[![Get your own image badge on microbadger.com](https://images.microbadger.com/badges/image/goggz/ggz-server.svg)](https://microbadger.com/images/goggz/ggz-server \"Get your own image badge on microbadger.com\")\n\nAn URL shortener service written in Golang.\n\n## Features\n\n* Support [MySQL](https://www.mysql.com/), [Postgres](https://www.postgresql.org/) or [SQLite](https://www.sqlite.org/) Database.\n* Support [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer) or [GraphQL](http://graphql.org/) API.\n* Support [Auth0](https://auth0.com/) or [Firebase](https://firebase.google.com/) Single Sign On (default is `auth0`).\n* Support expose [prometheus](https://prometheus.io/) metrics and database data like count of registerd users.\n* Support install TLS certificates from [Let's Encrypt](https://letsencrypt.org/) automatically.\n* Support [QR Code](https://en.wikipedia.org/wiki/QR_code) Generator from shorten URL.\n* Support local disk storage or [Minio Object Storage](https://minio.io/).\n* Support linux and windows container, see [Docker Hub](https://hub.docker.com/r/goggz/ggz/tags/).\n* Support integrate with [Grafana](https://grafana.com/) service.\n\n## Requirement\n\nGo version: `1.13`\n\n## Start app using docker-compose\n\nSee the `docker-compose.yml`\n\n```yml\nversion: '3'\n\nservices:\n  ggz:\n    image: goggz/ggz\n    restart: always\n    ports:\n      - 8080:8080\n      - 8081:8081\n    environment:\n      - GGZ_DB_DRIVER=sqlite3\n      - GGZ_SERVER_HOST=http://localhost:8080\n      - GGZ_SERVER_SHORTEN_HOST=http://localhost:8081\n      - GGZ_AUTH0_PEM_PATH=test.pem\n```\n\n## Stargazers over time\n\n[![Stargazers over time](https://starcharts.herokuapp.com/go-ggz/ggz.svg)](https://starcharts.herokuapp.com/go-ggz/ggz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-ggz%2Fggz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-ggz%2Fggz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-ggz%2Fggz/lists"}