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

https://github.com/wzulfikar/kit

Collection of utilities from github.com/wzulfikar/lab put in docker.
https://github.com/wzulfikar/kit

bash docker tools

Last synced: 2 months ago
JSON representation

Collection of utilities from github.com/wzulfikar/lab put in docker.

Awesome Lists containing this project

README

          

██╗ ██╗██╗████████╗
██║ ██╔╝██║╚══██╔══╝
█████╔╝ ██║ ██║
██╔═██╗ ██║ ██║
██║ ██╗██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝

**kit: collection of utilities packaged in docker.**

If the size or the content aren't suitable for you, you can customize the `Dockerfile` –– remove packages, add, etc. and build your own `kit` image.

Sample usage:

```
# display quote of the day
docker run -it --rm wzulfikar/kit qotd

# crop image
docker run -it --rm -v $(pwd):/data wzulfikar/kit crop raspberry-pi-pinout.png 10x10+0+0
```

to shorten the command, create a function:

```
# add below snippet to your profile (ie. ~/.bashrc)
kit() {
docker run -it --rm -v $(pwd):/data wzulfikar/kit $@
}
```

once `kit` function is created, you can execute programs available inside the kit using this command:

```
kit
```

for example, to show the content of this README file, run `kat`:

```
kit kat
```

## What's included?

You can see the content of `Dockerfile` for a complete list of what inside the kit. This list serve as "remarks" to provide more context on what the kit contains.

- wzulfikar/lab/bash
- ocr
- crop
- collate
- etc.
- harvest
- photon
- etc.

## Build Your Own KIT

If you want to specify which executables goes into the image, you can customize it by pulling the `lab` submodule. To do so, clone the `lab` repo and make it available at `./kit/lab`. Or, if you haven't cloned the kit repo itself (this repo), you can clone it recursively:

```
# clone repo and its submodules
git clone --recursive https://github.com/wzulfikar/kit
```

Once you cloned the repo and its submodule (check that `lab/` directory is not empty), you can start building the docker image: `make build`