Turn your secrets into scannable QR codes.

Usage no npm install needed!

<script type="module">
  import oathgen from 'https://cdn.skypack.dev/oathgen';



Turn your secrets into scannable QR codes.

OATHgen helps you create security credentials for use with 2FA/MFA authenticator and other OATH-enabled apps. Use it to generate scannable QR codes for OTP apps such as Aegis and YubiKey. Or skip the QR code and paste the formatted otpauth URI directly into your Pass client.


View the app running online to see how it works.


Once you've cloned the project and installed development dependencies with pnpm install, start a development server:

pnpm dev

# or start the server and open the app in a new browser tab
pnpm dev -- --open


To create a production version of your app:

pnpm build

You can preview the production build with pnpm preview.

To deploy your app, you may need to install an adapter for your target environment.


Copyright (C) 2022 VHS <vhsdev@tutanota.com> (https://vhs.codeberg.page)

OATHgen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

To purchase a commercial license please contact the author.