Skip to content

shoobinger/otphelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OTP Helper — receive SMS OTP on your PC

Having to use a mobile phone to receive OTPs is a nuisance and not many sites adopted TOTP or WebauthN yet.

How to use

  1. Launch server.
  2. Install Android client app, give it the permission to receive and read SMS, specify server connection details. The client application will listen to all incoming SMS messages, extract OTP codes and send them to the server.
  3. Get the last received OTP code on your PC, e.g.
    curl "$SERVER_URL/otp" -H "Accept: text/plain"

Tips

  • The client app supports Basic authorization, but the server does not (use a reverse proxy).
  • To type the received OTP code automatically, use xdotool (or ydotool on Wayland): curl ... | xdotool type --file -

About

Receive SMS OTP on your PC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published