💖 rsmoji 🦀
Hello there! w
This is a simple rust CLI tool to add emojis to commits! It uses crossterm and unicode-segmentation
✨ Features
- 😃 It adds emojis to git commits
- 🖊️ You can tell it to manually sign a commit (
-Sor--signflag) - 🚧 The end for now :( (see roadmap for details)
Installation - using cargo (crates.io)
First, ensure you have rust installed on your system, and then run:
You also have to add $HOME/.cargo/bin to your $PATH
# bash
# zsh
To update, you can use cargo-update, install it with cargo install cargo-update, and then you can run:
Usage
Just run rsmoji without any additional arguments (obviously you need git)
You can use emacs keybindings to move the cursor while typing (Ctrl b, Ctrl f, Ctrl p, Ctrl n)
Roadmap
- Manually sign commits (
-S) - Support commit description (not only title)
- disable/enable with flag
- go back up to a previous line to edit
- Support signed tags message
- Support merge messages
- Themes (built in and custom)
- API to update emoji list dynamically (optional)
Credits
The default colors are catppuccin-mocha
The project was heavily inspired by gitmoji, and the emoji list for this project is taken from there. I made this mainly because I wanted more features (which I still haven't implemented), I wanted to learn rust and I wanted something faster