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

https://github.com/webhippie/mygithub

Some tiny GitHub client utilities for daily work
https://github.com/webhippie/mygithub

cli client commands github

Last synced: 2 months ago
JSON representation

Some tiny GitHub client utilities for daily work

Awesome Lists containing this project

README

          

# MyGitHub

[![General Workflow](https://github.com/webhippie/mygithub/actions/workflows/general.yml/badge.svg)](https://github.com/webhippie/mygithub/actions/workflows/general.yml) [![Join the Matrix chat at https://matrix.to/#/#webhippie:matrix.org](https://img.shields.io/badge/matrix-%23webhippie-7bc9a4.svg)](https://matrix.to/#/#webhippie:matrix.org) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/834ea4bc5aa24dfebebb203fd26f45f8)](https://app.codacy.com/gh/webhippie/mygithub/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Go Reference](https://pkg.go.dev/badge/github.com/webhippie/mygithub.svg)](https://pkg.go.dev/github.com/webhippie/mygithub) [![Go Report Card](https://goreportcard.com/badge/github.com/webhippie/mygithub)](https://goreportcard.com/report/github.com/webhippie/mygithub) [![GitHub Repo](https://img.shields.io/badge/github-repo-yellowgreen)](https://github.com/webhippie/mygithub) [![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com)

As I'm iterating quite often across all repositories for specific GitHub
organizations I have created this small utility that currently just prints out
all available repositories for specific users or organizations. Maybe I will add
more features if I need it, this tool is more for personal use, but of course
you can use it if you like it.

## Install

You can download prebuilt binaries from the [GitHub releases][releases] or from
our [download site][downloads]. Besides that we also prepared repositories for
DEB and RPM packages which can be found at [Cloudsmith][pkgrepo]. If you prefer
to use containers you could use our images published on [GHCR][ghcr],
[Docker Hub][dockerhub] or [Quay][quay]. If you need further guidance how to
install this take a look at our [documentation][docs].

Package repository hosting is graciously provided by [Cloudsmith][cloudsmith].
Cloudsmith is the only fully hosted, cloud-native, universal package management
solution, that enables your organization to create, store and share packages in
any format, to any place, with total confidence.

## Build

If you are not familiar with [Nix][nix] it is up to you to have a working
environment for Go (>= 1.24.0) as the setup won't we covered within this guide.
Please follow the official install instructions for [Go][golang]. Beside that we
are using [go-task][gotask] to define all commands to build this project.

```console
git clone https://github.com/webhippie/mygithub.git
cd mygithub

task build
./bin/mygithub -h
```

If you got [Nix][nix] and [Direnv][direnv] configured you can simply execute
the following commands to get al dependencies including [go-task][gotask] and
the required runtimes installed. You are also able to directly use the process
manager of [devenv][devenv]:

```console
cat << EOF > .envrc
use flake . --impure --extra-experimental-features nix-command
EOF

direnv allow
```

## Development

To start developing on this project you have to execute only one command to
build a binary matching your platform:

```console
task build
```

After that you can simply execute the tool via `bin/mygithub -h`.

## Security

If you find a security issue please contact
[thomas@webhippie.de](mailto:thomas@webhippie.de) first.

## Contributing

Fork -> Patch -> Push -> Pull Request

## Authors

- [Thomas Boerger](https://github.com/tboerger)

## License

Apache-2.0

## Copyright

```console
Copyright (c) 2018 Thomas Boerger
```

[releases]: https://github.com/webhippie/mygithub/releases
[downloads]: https://dl.webhippie.de/#mygithub/
[ghcr]: https://github.com/webhippie/mygithub/pkgs/container/mygithub
[dockerhub]: https://hub.docker.com/r/webhippie/mygithub/tags/
[quay]: https://quay.io/repository/webhippie/mygithub?tab=tags
[docs]: https://webhippie.github.io/mygithub/#getting-started
[nix]: https://nixos.org/
[golang]: http://golang.org/doc/install.html
[gotask]: https://taskfile.dev/installation/
[direnv]: https://direnv.net/
[devenv]: https://devenv.sh/
[pkgrepo]: https://cloudsmith.io/~webhippie/repos/general/groups/
[cloudsmith]: https://cloudsmith.com/