Ross ROSS = Recommend OSS · open-source software intelligence for agents

devise-two-factor/devise-two-factor

Barebones two-factor authentication with Devise observed · 2026-08-28

github.com/devise-two-factor/devise-two-factor · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

72/100

  • Activity 88
  • Release rhythm 36
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4496
  • days_rel: 212
  • days_push: 73
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1308 stars · 261 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A minimalist Ruby gem extending Devise with two-factor authentication via TOTP. It integrates with authenticator apps like Google Authenticator and Authy and supports encrypted secrets and backup codes.

Use cases

  • add two-factor authentication to a Rails app
  • enable TOTP login for Devise users
  • support Google Authenticator or Authy in my app
  • add backup codes for 2FA
  • secure user accounts with time-based one-time passwords

When to choose

  • you already use Devise in a Rails application
  • you want a simple, security-focused TOTP implementation
  • you need encrypted 2FA secrets via ActiveRecord encryption

When to avoid

  • your app does not use Devise
  • you need SMS or email-based 2FA rather than TOTP
  • you are not on Rails

Facets

library · maturity active

auth security security web-development backend ruby totp two-factor-authentication devise rails backup-codes otp web-server

1 source

Member repositories

RepositoryRoleHealth v2
devise-two-factor/devise-two-factormain72

For agents

markdown · JSON · MCP: product_card(name="devise-two-factor/devise-two-factor")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem