Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/essentialkaos/goheft

Utility for listing sizes of used static libraries
https://github.com/essentialkaos/goheft

golang golang-tools utility

Last synced: about 2 months ago
JSON representation

Utility for listing sizes of used static libraries

Awesome Lists containing this project

README

        


GitHub Actions CI Status
GoReportCard
codebeat badge
GitHub Actions CodeQL Status

Usage demoInstallationUsageBuild StatusContributingLicense


`goheft` is simple utility for listing sizes of all used static libraries compiled into golang binary.

### Usage demo

[![demo](https://gh.kaos.st/goheft-070.gif)](#usage-demo)

### Installation

#### From source

To build the GoHeft from scratch, make sure you have a working Go 1.19+ workspace ([instructions](https://go.dev/doc/install)), then:

```
go install github.com/essentialkaos/goheft@latest
```

#### Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from [EK Apps Repository](https://apps.kaos.st/goheft/):

```bash
bash <(curl -fsSL https://apps.kaos.st/get) goheft
```

### Command-line completion

You can generate completion for `bash`, `zsh` or `fish` shell.

Bash:
```bash
sudo goheft --completion=bash 1> /etc/bash_completion.d/goheft
```

ZSH:
```bash
sudo goheft --completion=zsh 1> /usr/share/zsh/site-functions/goheft
```

Fish:
```bash
sudo goheft --completion=fish 1> /usr/share/fish/vendor_completions.d/goheft.fish
```

### Man documentation

You can generate man page for goheft using next command:

```bash
goheft --generate-man | sudo gzip > /usr/share/man/man1/goheft.1.gz
```

### Usage

### Build Status

| Branch | Status |
|--------|--------|
| `master` | [![CI](https://kaos.sh/w/goheft/ci.svg?branch=master)](https://kaos.sh/w/goheft/ci?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/goheft/ci.svg?branch=develop)](https://kaos.sh/w/goheft/ci?query=branch:develop) |

### Contributing

Before contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/contributing-guidelines#contributing-guidelines).

### License

[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)