iMessage OTP AutoFill in any browser on macOS
OhTipi relies on a local macOS app that looks for incoming texts with OTP codes in them. The macOS app copies those codes to your clipboard along with a notification. Everything happens locally and nothing is ever sent to a server.
Download for macOS at Ohtipi.com
npm run install;
npm run dev;
π‘ Note: During development, Full Disk Access permission must be granted to whichever app is running the npm run dev
command (usually Terminal.app
or Visual Studio Code.app
). More info...
- Main process
- iMessage service which queries the local
sqlite
database - Modified fork of
parse-otp-message
, includes service list, service patterns and auth words. Particuarly difficult cases can otherwise be caught and handled within custom filters
The following will only function with proprietary signing keys, etc. It is for internal use only.
npm run install;
npm run release;
Open config.js
and set { build.setApp }
to true
.
Make sure all .node
native modules are compiled against the correct version of Node, Electron, etc. This project currently uses sqlite3
, node-mac-permissions
and setapp-nodejs-wrapper
. The build script can be seen in ./build/build-setapp.sh
. lipo
is used to cross-compile .node
modules for both arm64
and x64
.
npm run build:setapp;
Distribution can now be found in /dist/mac-universal
.
π‘ Note: You may need to re-codesign the Universal app bundle:
codesign -fv --deep -s CBA[..................] ./dist/mac-universal/Ohtipi.app