Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/soldiermoth/hlsq

A small CLI for adding some color to your HLS manifests along with some basic filtering
https://github.com/soldiermoth/hlsq

cli hls video

Last synced: about 2 months ago
JSON representation

A small CLI for adding some color to your HLS manifests along with some basic filtering

Awesome Lists containing this project

README

        

# HLSQ

A small CLI for adding some color to your HLS manifests and some basic filtering.
This CLI is not strict in its parsing so it will still work for manifests preceeded
by a grep. Named in tribute to the the great venerable [`jq`](https://github.com/stedolan/jq) cli.


Release
GitHub Workflow Status
Go Report Card
Software License
Powered By: GoReleaser


Mentioned in Awesome

![Basic Example](images/basic.gif)

## Filtering

There are some basic filtering operations available in this CLI in the form of a single `{attribute name} {op} {value}`, this will be expanded in the future to accept more complex queries.

![Filtering Example](images/filter.gif)

Currently supported operations by value type
- Numbers: `>`, `>=`, `<`, `<=`, `=`, `!=`
- String: `=`, `!=`, `~`, `!~`, & `rlike`

## Install Instructions

### Pre-built Binary
Visit the [latest releases](https://github.com/soldiermoth/hlsq/releases) and pull a pre-built binary

### Homebrew

```
$ brew install soldiermoth/tap/hlsq
```

### From Source
Assuming a recent installation of Go is installed: [https://golang.org/doc/install](https://golang.org/doc/install)
```
$ go get github.com/soldiermoth/hlsq
```

## Demuxed Special Colors

As tribute to Demuxed2020 added colors matching the SWAG tshirts: `-demuxed`

![Demuxed Flag](images/demuxed2020.png)