rotp
Ruby One Time Password library (by mdp)
TTY
Toolkit for developing sleek command line apps. (by piotrmurach)
Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rotp
Posts with mentions or reviews of rotp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-28.
-
Rails Authentication for Compliance
Your authentication mechanism should include multiple factors, something the user knows and something the user has. If you are using Devise, you can use the devise-two-factor gem. If you have custom authentication, you can use the rotp gem to generate OTP codes and verify those during login.
-
Is there any particular gem like Devise which makes the user Login with phone mumber and use otp to Login imstead of a password??
Aside from SMS scams, SMS is the least secure type of 2FA. I recommend implementing OTP via authenticator apps like Authenticator and 1Password. You can use the rotp gem for this: https://github.com/mdp/rotp
-
How to verify a user email with an activation code rather than an activation link?
What you're describing sounds a lot like OTP https://github.com/mdp/rotp. It's a well known and standard way of issuing one time passwords (typically 6 digits that a user confirms by entering it in).
-
Modern 2FA gem for Devise
rotp: https://github.com/mdp/rotp and
-
Best practices for Two Factor Auth / 2FA in 2021?
Use https://github.com/mdp/rotp/ -- it's super simple to get TOTP 2FA set up. Friends don't let friends use SMS 2FA.
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
ROTP (The Ruby One Time Password Library) is a Ruby library for generating and validating one time passwords (HOTP & TOTP) according to RFC 4226 and RFC 6238. It is compatible with Google Authenticator available for Android and iPhone and any other TOTP based implementations. 1,217 stars by now
TTY
Posts with mentions or reviews of TTY.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-22.
-
Ncurses in Ruby style?
Not curses but something Ruby style: https://ttytoolkit.org/. No C dependencies, I think...
-
I'd like to read manually input data and prompt for the next bit of data at the terminal without getting newlines.
TTY-ruby is an extensive CLI toolkit that might help you do what you want. Have a look. I’ve used some of them successfully in the past.
-
What library can I use to create a TUI
TUI? Terminal UI? If so, check out https://ttytoolkit.org/ and https://github.com/Shopify/cli-ui
-
Looking for a tutorial or a resource to write good looking CLI applications
Saw just now. Cobra is huge and offers a lot. Btw, I've used this https://github.com/piotrmurach/tty for a Ruby project a while ago and was looking for something similar. I guess Cobra it is. Thanks again!
-
How to get better at Ruby scripting?
If you're interested in taking things further, maybe have a look at Build Awesome Command-Line Applications in Ruby 2. If you're not ready to buy a book, check out the Ruby TTY Toolkit page.
-
Building Rich terminal dashboards
The tty suite of tools are a good shout, although I've never used them in anger. https://ttytoolkit.org
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
TTY::Box provides box drawing component for TTY toolkit. 142 stars by now
What are some alternatives?
When comparing rotp and TTY you can also consider the following projects:
rainbow - Ruby gem for colorizing printed text on ANSI terminals
Thor - Thor is a toolkit for building powerful command-line interfaces.
devise-two-factor - Barebones two-factor authentication with Devise
Rake - A make-like build utility for Ruby.
motion - Reactive frontend UI components for Rails in pure Ruby
Commander - The complete solution for Ruby command-line executables
rails-auth - Modular resource-based authentication and authorization for Rails/Rack
Cocaine
torch.rb - Deep learning for Ruby, powered by LibTorch
GLI - Make awesome command-line applications the easy way
omniauth-oauth2 - An abstract OAuth2 strategy for OmniAuth.
Slop - Simple Lightweight Option Parsing - ✨ new contributors welcome ✨