openflarestack Star this repo
  1. Catalog
  2. Auth & security
  3. 2FAuth Worker
Ranked 168 of 234

2FAuth Worker

nodeauth/2fauth-worker

Web and PWA authenticator for your 2FA codes, with offline use and automatic backups.

A self-hosted alternative to Authy.

What it sets up in your account

  • D1
    D1 database
    A SQL database for the app’s records.
  • Cr
    Cron trigger
    Runs scheduled tasks.
Category
Auth & security
Licence
AGPL-3.0
Stars
61
Last commit
7 months ago
Latest release
v1.0.3

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/2fauth-worker.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/2fauth-worker.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/nodeauth/2fauth-worker.git
git pull upstream main
npx wrangler deploy

2FAuth Worker questions

What is 2FAuth Worker?

Web and PWA authenticator for your 2FA codes, with offline use and automatic backups. It’s an open-source, self-hosted alternative to Authy. It runs on Cloudflare Workers in your own account.

What does 2FAuth Worker set up in my Cloudflare account?

D1 database and Cron trigger. They are created in your account, so the data stays yours.

How do I deploy 2FAuth Worker?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is 2FAuth Worker free and open source?

Yes. It’s published under the AGPL-3.0 licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update 2FAuth Worker?

Pull from the original repository and redeploy: add https://github.com/nodeauth/2fauth-worker.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.