Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/raulanatol/utilsh

Shell scripts, apps, tools, utils and misc.
https://github.com/raulanatol/utilsh

automation scripts tools

Last synced: about 1 month ago
JSON representation

Shell scripts, apps, tools, utils and misc.

Awesome Lists containing this project

README

        


Utilsh


Shell scripts, apps, tools, utils and misc

---

## Table of Contents

- [Install](#install)
- [Manual Install](#manual-install)
- [Update](#update)
- [List of tools](#list-of-tools)
- [code](#code)
- [docker](#docker)
- [fs](#fs)
- [git](#git)
- [Github](#github)
- [irvue](#irvue)
- [js](#js)
- [mac](#mac)
- [network](#network)
- [Self scripts (self)](#self-scripts-self)
- [Shell scripts and utils (shell)](#shell-scripts-and-utils-shell)
- [Slack scripts](#slack-scripts)
- [Completion](#completion)
- [More info:](#more-info)

## Install

```shell script
bash <(curl -s https://raw.githubusercontent.com/raulanatol/utilsh/main/installer)
```

## Manual Install

- Clone this repository

- Create the tools env variable

```shell script
utilsh_PATH=..../REPOSITORY_BASE_DIR
utilsh_PATH=~/utils/utilsh
```

- Use me!

```shell script
./$UTILSH_PATH/help
```

## Update

```shell script
./$UTILSH_PATH/src/update
```

## List of tools

### code

**doctoc:** Generates table of contents for markdown files inside local git
repository [DocToc](https://github.com/thlorenz/doctoc)

**grex:** Grex is a command-line tool and library for generating regular
expressions [grex](https://github.com/pemistahl/grex)

πŸ“¦Β  **new_finish_release:** Generate the initial finish-release file in your project

πŸ˜‡Β  **new_makefile:** Generate the initial makefile in your project

πŸ‘©β€πŸ’»Β  **tokei:** Tokei is a program that displays statistics about your code
using [tokei](https://github.com/XAMPPRocky/tokei)

---

### docker

πŸ”ŒΒ  **connect:** execute a ssh command over a running container

🐳  **ctop:** Top-like interface for container metrics (using [ctop](https://github.com/bcicen/ctop))

🐳  **lazydocker:** A simple terminal UI for both docker and docker-compose, written in Go with the gocui
library. (using [lazydocker](https://github.com/jesseduffield/lazydocker))

---

### fs

πŸ—ƒΒ  **diskonaut:** Terminal disk space navigator (using diskonaut)

βš–Β  **folder_size:** Calculate the current folder size (using du or ncdu)

---

### git

πŸ”–Β  **commit:** Add all files and then a commit

🧹  **delete-merged:** Delete all branches that have been merged in remote

πŸ”§Β  **fix:** Fix the current branch and create a Pull Request (use with start-issue)

πŸ•΄Β  **jump:** Git Branches Helper using [git-jump](https://github.com/mykolaharmash/git-jump)

πŸ’„Β  **pretty-diff:** Show a pretty git diff using fzf (and copy selected path to the clipboard)

πŸ–²Β  **pretty-log:** Git log filtering

🚩  **start-issue:** Create a branch with the format issue_$PARAM1 (useful with fix)

πŸ₯Β  **ui:** Git terminal ui using [gitui](https://github.com/extrawurst/gitui)

---

### Github

πŸŽƒΒ  **actions:** Open the github actions page of the current project

🧲  **create_workflow:** Generate a Github Workflow file in your project

πŸ–€Β  **to-main:** Move github default branch from master to main

πŸš€Β  **trigger-action:** Launch an action manually

---

### irvue

πŸ–ΌΒ  **change:** Change the current wallpaper using [Irvue](https://irvue.tumblr.com/) app

---

### iterm2

🏷  **set_tab_title:** Change the current tab (iterm2) title

🏷  **set_window_title:** Change the current window (iterm2) title

---

### js

πŸ›Β  **autarky:** Liberating disk space from node_modules
using [autarky](https://github.com/pranshuchittora/autarky)

---

### mac

πŸ₯ΆΒ  **bluetooth:** On/Off bluetooth using [blueutil](http://www.frederikseiffert.de/blueutil/)

πŸš€Β  **browser_goto:** Select between the opened chrome tabs using [choose](https://github.com/chipsenkbeil/choose)

πŸ™ˆΒ  **hidden_files:** Show/Hide hidden files

πŸ”‡Β  **not_disturb:** Enter/Exit not disturb mode

πŸ“ΆΒ  **wifi:**

* On/Off Wifi
* dhcp: Renew DHCP Lease
* password: Get password of the current wifi

πŸ₯΅Β  **powermetrics:** Show the temperature

πŸ“ŸΒ  **zoom:**

* start: Start your personal meeting

---

### network

πŸ“‘Β  **ip:** Get the local (-l) or public ip

πŸ”ŒΒ  **ports:** List of used ports

🐌  **speed:** Internet connection speed test using [fast-cli](https://github.com/sindresorhus/fast-cli)

🏹  **fetch:** Http request using [httpie](https://httpie.org/)

πŸ§ͺ️  **usage:** Monitoring the current network utilization by process, connection and remote IP/hostname
using [bandwhich](https://github.com/imsnif/bandwhich)

---

### Self scripts (self)

🀳  **update**: Update utilsh repo

---

### Shell scripts and utils (shell)

πŸ”ΆΒ  **args**: Arguments control

⁉️  **assert**: Assertion methods

πŸ‘©β€πŸ’»Β  **development**: Scripts related with development

🏷  **increase_semversion**: Generate the next version based on [Semantic Versioning](https://semver.org/) (
major|minor|patch)

πŸ“œΒ  **docs**: script documentation scripts

πŸŽ‹Β  **git**: Git scripts, get current branch, etc.

πŸ‘ΎΒ  **os**: OS shell utils

πŸ“ˆΒ  **performance**: Evaluate the zsh starting time.

🎨  **sout**: Console out functions

πŸ’ΉΒ  **string**: String manipulation scripts

---

### Slack scripts

βœ…Β  **active**: Slack active status

πŸ‘»Β  **away**: Slack away status

πŸ”‡Β  **snooze**: Slack snooze actions

πŸ“Β  **status**: Slack set status

---

## Completion

_dot contains the completion script with all the tools

### More info:

- http://zsh.sourceforge.net/Doc/Release/Completion-System.html
- https://mads-hartmann.com/2017/08/06/writing-zsh-completion-scripts.html
- https://github.com/zsh-users/zsh-completions