Project

ninjap

0.0
A long-lived project that still receives updates
Promote someone to Ninja, and send a certificate via email.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.4
~> 13.0
~> 3.0

Runtime

 Project Readme

Ninjap 🥷

Promote someone to Ninja. Instantly.

Ninjap is a lightweight Ruby gem that generates beautiful PNG certificates to officially promote someone to Ninja status.

It can be used:


✨ Features

  • Generate PNG certificate files
  • Clean CLI interface
  • Lightweight (MiniMagick based)
  • No heavy dependencies
  • Perfect for fun promotions, internal awards, or creative projects

📦 Installation

Add this line to your application's Gemfile:

gem 'ninjap'

Then run:

bundle install

Or install directly:

gem install ninjap

🚀 Usage

Command Line

Promote someone directly from terminal:

ninjap -p "Great Person" "Your Name" output.png

If no output file is provided, it will attempt to write into the current directory.

Example:

ninjap -p "John Doe" "Gojko" /tmp/john_ninja.png

Ruby Usage

You can also use it inside Ruby code:

system("ninjap", "-p", "John Doe", "Gojko", "john.png")

🛠 Development

Clone the repository:

git clone https://github.com/gojkogit2/ninjap.git
cd ninjap

Install dependencies:

bundle install

Run tests:

rake spec

Build the gem locally:

gem build ninjap.gemspec

📤 Releasing

  1. Update version in lib/ninjap/version.rb
  2. Commit changes
  3. Tag the release:
git tag vX.Y.Z
git push origin main --tags
  1. Build and push to RubyGems:
gem build ninjap.gemspec
gem push ninjap-X.Y.Z.gem

🤝 Contributing

Pull requests are welcome.

For major changes, please open an issue first to discuss what you would like to change.


📄 License

MIT License


💬 Project

Live example using this gem:

👉 https://smokyusmaximus.com/

Promote wisely. 🥷