https://github.com/anhkhoakz/some-rust-scripts
some-rust-scripts is a collection of simple and useful CLI tools written in Rust.
https://github.com/anhkhoakz/some-rust-scripts
cli command-line-utility rust
Last synced: 3 months ago
JSON representation
some-rust-scripts is a collection of simple and useful CLI tools written in Rust.
- Host: GitHub
- URL: https://github.com/anhkhoakz/some-rust-scripts
- Owner: anhkhoakz
- License: gpl-2.0
- Created: 2025-04-25T03:23:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-04T00:37:29.000Z (7 months ago)
- Last Synced: 2026-01-16T02:45:47.972Z (6 months ago)
- Topics: cli, command-line-utility, rust
- Language: Rust
- Homepage: https://anhkhoakz.github.io/some-rust-scripts/
- Size: 294 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# some-rust-scripts
## Table of Contents
- [some-rust-scripts](#some-rust-scripts)
- [Table of Contents](#table-of-contents)
- [About](#about)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Building](#building)
- [Installing](#installing)
- [Uninstalling](#uninstalling)
- [Usage](#usage)
- [Examples](#examples)
- [License](#license)
## About
**some-rust-scripts** is a collection of simple and useful CLI tools written in Rust. Each script solves a specific problem efficiently from the terminal. The tools support various input formats and are intended for fast, practical use.
## Getting Started
Follow these instructions to build and use the scripts on your local machine.
### Prerequisites
- [Rust](https://www.rust-lang.org/tools/install) (version 1.86.0 or later)
- Cargo (comes with Rust)
### Building
Clone the repository and build the project:
```sh
git clone https://github.com/anhkhoakz/some-rust-scripts.git
cd some-rust-scripts/
cargo build --release
```
### Installing
To install the binaries system-wide (requires sudo):
```sh
just install
```
### Uninstalling
To remove the installed binaries:
```sh
just uninstall
```
## Usage
Each script can be run from the `target/release` directory or, if installed, directly from your terminal. Example usage for a script:
```sh
./target/release/ [arguments]
```
Or, if installed:
```sh
[arguments]
```
Refer to each script's help output for specific usage instructions.
## Examples
```sh
$ aspect-ratio 1920 1080
16:9
$ count-characters "Hello, world!"
13
```
If you provide invalid input, the tool will print an error and usage instructions.
## License
This project is licensed under the GNU General Public License version 2. See the [LICENSE](LICENSE) file for details.