Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jd1378/otphelper
open-source application that can copy OTP and codes from notifications automatically for you
https://github.com/jd1378/otphelper
android autofill detector f-droid fdroid helper jetpack-compose kotlin material material-design notification open-source otp otp-helper password sms tool tools
Last synced: 2 days ago
JSON representation
open-source application that can copy OTP and codes from notifications automatically for you
- Host: GitHub
- URL: https://github.com/jd1378/otphelper
- Owner: jd1378
- License: agpl-3.0
- Created: 2023-09-18T05:33:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-01T16:12:18.000Z (4 months ago)
- Last Synced: 2025-01-13T09:02:06.185Z (9 days ago)
- Topics: android, autofill, detector, f-droid, fdroid, helper, jetpack-compose, kotlin, material, material-design, notification, open-source, otp, otp-helper, password, sms, tool, tools
- Language: Kotlin
- Homepage:
- Size: 6.1 MB
- Stars: 461
- Watchers: 9
- Forks: 33
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - jd1378/otphelper - open-source application that can copy OTP and codes from notifications automatically for you (Kotlin)
README
# COPY SMS CODE | OTP Helper | کپی رمز پیامک
An open-source application that allows you to copy OTP and codes from SMS and notifications automatically by reading all of your notifications.
The application works completely offline and without internet permission. So you can be rest assured that your data does not leave your device.
[](https://f-droid.org/packages/io.github.jd1378.otphelper/)
[](https://play.google.com/store/apps/details?id=io.github.jd1378.otphelper)
[](https://cafebazaar.ir/app/io.github.jd1378.otphelper)or get the APK from [Latest Release](https://github.com/jd1378/otphelper/releases/latest).
## How it works
The app setups a [notification listener](https://github.com/jd1378/otphelper/blob/main/app/src/main/java/io/github/jd1378/otphelper/NotificationListener.kt) and reads all notifications that is sent by any apps. So the name of the app is a bit inaccurate. This allows the app to detect codes also from emails and possibly any other app that sends notification.
when a notification is sent, the app creates a single string from all text in the notification, then [checks if it should be ignored](https://github.com/jd1378/otphelper/blob/main/app/src/main/java/io/github/jd1378/otphelper/utils/CodeIgnore.kt). If It's not ignored, then It's matched against the [code detection regex](https://github.com/jd1378/otphelper/blob/main/app/src/main/java/io/github/jd1378/otphelper/utils/CodeExtractor.kt). Then app will take the extracted code and behave according to settings.## How to build
Simply run:
```bash
./gradlew :app:assembleRelease
```The apk should be available in `apps/build/outputs/apk/release/` directory.
## Credits
feature graphic image generated by [hotpot.ai](https://hotpot.ai/templates/google-play-feature-graphic)
### Translated by these awesome people
German:
- [@Dacid99](https://github.com/Dacid99)
Spanish:
- [@nilp0inter](https://github.com/nilp0inter)
Turkish:
- [@SirCrownguard](https://github.com/SirCrownguard)
Bangla (Bangladesh):
- [@0xNaimulHasanTaky](https://github.com/0xNaimulHasanTaky)
Vietnamese:
- [@Sharethebest](https://github.com/Sharethebest)
Chinese (Hans):
- [@BackMountainDevil](https://github.com/BackMountainDevil)
Chinese (Hant):
- [@sntc06](https://github.com/sntc06)
Russian:
- [@darkspacer](https://github.com/darkspacer)
Italian:
- [@lollo03](https://github.com/lollo03)
French:
- [@trev0r-STA](https://github.com/trev0r-STA)
Arabic:
- [@Bunny-77X](https://github.com/Bunny-77X)
Hindi:
- [@chintanjoshi01](https://github.com/chintanjoshi01)
Ukrainian:
- [@balaraz](https://github.com/balaraz)
Portuguese:
- [@HackerSinhos](https://github.com/HackerSinhos)
Polish:
- [@pakin1](https://github.com/pakin1)
Japanese:
- [@KAWASAKICHIRO](https://github.com/KAWASAKICHIRO)
Korean:
- [@alexkoala](https://github.com/alexkoala)
You can help translate this app to your langauge on weblate:
--------
### Donation
You can show your love and support for this project by donating to the following addresses:
BTC: bc1q8prgxcfcqpcq5ennyv08sxg6ymx2pm4azvcu0l
LTC: LVnTy14pHFRoSbqWbmhGBNjV4k2dBnY2Zn