https://github.com/antonybudianto/gitcard-go
Indonesia GitHub stats for fun. Frontend at https://github.com/antonybudianto/gitcard
https://github.com/antonybudianto/gitcard-go
gitcard-indonesia github go golang gomodule grpc rest
Last synced: 7 months ago
JSON representation
Indonesia GitHub stats for fun. Frontend at https://github.com/antonybudianto/gitcard
- Host: GitHub
- URL: https://github.com/antonybudianto/gitcard-go
- Owner: antonybudianto
- Created: 2019-10-20T11:05:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T03:38:57.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T07:24:05.459Z (10 months ago)
- Topics: gitcard-indonesia, github, go, golang, gomodule, grpc, rest
- Language: Go
- Homepage: https://gitcard.antonybudianto.com/
- Size: 30.3 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go GitHub
## Requirements
- Go >= 1.11
- Github Personal Access Token
- Get one from https://github.com/settings/tokens
- Set the token as env variable `GH_ACCESS_TOKEN`
## Web mode
1. Run
```sh
go run cmd/web/web.go
```
2. Open browser: http://localhost:8080/gh/profile/antonybudianto
## GRPC mode
1. Run
```sh
go run cmd/grpc_server/server.go
```
2. Try using GRPC client:
```sh
go run cmd/grpc_client/client.go
```
3. Misc: Generate proto
```sh
make gen-proto
```
## CLI mode
1. Run
```sh
go run cmd/cli/cli.go
```
## Build for Operating System specific target
MacOS
```sh
$ make build-osx
```
Linux
```sh
$ make build-linux
```
# License
MIT