github_link_creator

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

GoReleaser Logo

GitHub Link Card Creater

GitHub Link Card Creator lets you generate GitHub images has links to repositories.


CircleCI GolangCI

Overview

GitHub Link Card Creator lets you generate GitHub images has links to your repositories. This card is useful to guide to your repository in blogs etc.

Instalation

using as CLI, you should install folowing command.

$ go get github.com/po3rin/github_link_creator/cmd/repoimg

Usage

CLI Mode

this lets you generate repository card in local.

repoimg -n po3rin/gotree

Server Mode

set environment valiable S3_BUCKET_NAME. this is target bucket to store image.

$ go build
$ ./github_link_creator
$ curl localhost:8080/v1/images/<username>/<reponame>

When raising the upper limit of API call of GitHub, You should set environment valiable GITHUB_CLIRNT_ID & GITHUB_SECRET.

GitHub REST API v3 Documents https://developer.github.com/v3/#rate-limiting

Official Client

This page creates an HTML tag that reads the link card to the repository. You can just put it in Markdown's blog.

https://ghlinkcard.com

Client repository here.

Contributing

You're most welcomed! Welcome pull request and issues.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
lib
env

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL