{"adoption": {"forks": 261, "observed_at": "2026-08-28T04:04:19.138110+00:00", "stars": 1308}, "canonical_url": "https://ross.abutalabs.com/products/devise-two-factor", "card": {"archived": false, "artifact_type": "library", "description": "Barebones two-factor authentication with Devise", "domain": ["security", "web-development", "backend"], "enriched": true, "function": ["auth", "security"], "health_score": 90, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["devise-two-factor/devise-two-factor"], "name": "devise-two-factor/devise-two-factor", "platform": ["ruby"], "pushed_at": "2026-06-22T01:02:35+00:00", "repo": "devise-two-factor/devise-two-factor", "stars": 1308, "tags": ["totp", "two-factor-authentication", "devise", "rails", "backup-codes", "otp", "web-server"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "when_to_avoid": ["your app does not use Devise", "you need SMS or email-based 2FA rather than TOTP", "you are not on Rails"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/devise-two-factor", "repo": "devise-two-factor/devise-two-factor", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.138110+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:50:04.766967+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bd11cf921ba879bc0bd20629d6087611bfdb0728ee5fb41450f8db0a4c325975", "fetched_at": "2026-08-28T04:04:19.138110+00:00", "kind": "readme", "missing": false, "url": "https://github.com/devise-two-factor/devise-two-factor"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 88, "longevity": 100, "rhythm": 36}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4496, "days_push": 73, "days_rel": 212, "gap_med": null, "n_releases_24m": 1}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}