https://github.com/mhbxyz/scripts
A collection of shell and Python scripts to automate common tasks.
https://github.com/mhbxyz/scripts
python scripts shell
Last synced: 4 months ago
JSON representation
A collection of shell and Python scripts to automate common tasks.
- Host: GitHub
- URL: https://github.com/mhbxyz/scripts
- Owner: mhbxyz
- License: mit
- Created: 2025-04-14T10:10:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-13T10:14:46.000Z (5 months ago)
- Last Synced: 2026-02-13T20:49:43.670Z (5 months ago)
- Topics: python, scripts, shell
- Language: Shell
- Homepage: https://mhbxyz.github.io/scripts/
- Size: 196 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A collection of shell and Python scripts to automate common tasks.
## Install
```sh
curl -fsSL https://mhbxyz.github.io/scripts/install.sh | sh
```
```sh
sh -s -- --all # Install all scripts
sh -s -- --only "gpgkeys sshkeys" # Install specific scripts
sh -s -- update # Update installed scripts
sh -s -- uninstall # Uninstall all scripts
```
See [docs/installation.md](docs/installation.md) for more details.
## Shell Scripts
| Script | Description |
|--------|-------------|
| `gpgkeys` | Generate and manage GPG keys |
| `sshkeys` | Generate and manage SSH keys |
| `homebackup` | Backup home directory to external drive |
| `sortdownloads` | Sort Downloads folder into organized subdirectories |
| `mygit` | Simplified git config management (requires `git`) |
| `dotfiles` | Manage dotfiles with symlinks |
| `mkproject` | Scaffold new projects from templates |
| `cleanup` | Free disk space by cleaning caches and temp files |
## Binary Scripts
Pre-compiled from Python, downloaded automatically from GitHub Releases.
| Script | Description |
|--------|-------------|
| `imgstotxt` | OCR images to text file |
| `pdftoimgs` | Convert PDF to images |
| `keepalive` | Simulate activity to prevent idle status |
## Development
Requires [uv](https://docs.astral.sh/uv/) and [just](https://just.systems/).
```sh
just sync # Install dependencies
just test # Run BATS tests
just lint # Lint Python with ruff
just fmt # Format Python with ruff
just build-all # Build all binaries with PyInstaller
```
See [docs/development.md](docs/development.md) for the full guide.
## License
[MIT](LICENSE)