Ohtipi
iMessage OTP AutoFill in any browser on macOS
How's it work?
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
Run for development
npm run install;
npm run dev;
npm run dev
command (usually Terminal.app
or Visual Studio Code.app
). More info...
Find the important bits
- 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
Release flow
The following will only function with proprietary signing keys, etc. It is for internal use only.
Standard release
npm run install;
npm run release;
Setapp 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
.
codesign -fv --deep -s CBA[..................] ./dist/mac-universal/Ohtipi.app