Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/raulanatol/utilsh
- Owner: raulanatol
- License: mit
- Created: 2020-08-02T12:09:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-28T18:56:33.000Z (over 2 years ago)
- Last Synced: 2024-04-14T05:23:34.273Z (7 months ago)
- Topics: automation, scripts, tools
- Language: Shell
- Homepage:
- Size: 160 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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