Keygen is now Fair SourceStar us on GitHub arrow_right_alt

License & distribute commercial Ruby gems

Securely license and distribute private Ruby gems with a single API.

Free during development, no upfront commitment

5 stars

Ready, set, ship

From license keys to gem distribution, we've got you covered. Dive in with Keygen Cloud, or explore our self-hosted options.

  • Protect your gem with our flagship software licensing API. Add feature entitlements, restrict upgrades to specific version ranges, enforce server- and CPU-based activation limits, and more.
  • Use our software distribution API as a private Ruby gem source. Distribute your private Ruby gems to licensed users using gem install or bundler.

Learn more

export KEYGEN_LICENSE_TOKEN='lic-6171564a4a59e5f3879c0584ebe92ce3v3'
 
cat ./Gemfile
 
auth = ENV.fetch('KEYGEN_LICENSE_TOKEN')
 
source "https://#{auth}@get.keygen.sh/demo/gems" do
gem 'private-gem', '~> 1.0'
end
 
bundle
# => Successfully installed private-gem-1.0.0
# => Parsing documentation for private-gem-1.0.0
# => Installing ri documentation for private-gem-1.0.0
# => Done installing documentation for private-gem after 0 seconds
# => 1 gem installed

Trusted by over 6,000 software businesses all over the worldincluding these industry leaders

Solutions for licensing & distribution


  • dns Choice

    Managed Keygen Cloud, or explore self-hosting.

    View Options

  • library_books Quickstarts

    Guides and API references for developers of all skill levels.

    View Docs

  • insert_chart Dashboard

    Manage your products from an intuitive dashboard.

    View Dashboard

  • business Pricing

    From indie to enterprise, we have options for everyone.

    View Pricing

Ready to get started?

Sign up today, or reach out.


"Licensing was planned to make up at least 25% percent of planned dev time for our product so it's awesome to see that we've been able to cut it down to 2.5% with Keygen." – Ranorex

Free during development, no upfront commitment


Or interested in self-hosting Keygen EE? Contact sales for a 30-day no-strings-attached trial.