Coder Social home page Coder Social logo

alfred-text-otp's Introduction


Alfred Text OTP

Alfred workflow for extracting OTPs from text messages.


The preview on right is optional, and only shows up if you have AlfredExtraPane.app installed.

Prerequisites

Before the workflow can be used, you'll need to provide Alfred with Full Disk Access privileges.

Run the following command in terminal to open the preference pane:

open 'x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles'

Warning

Full Disk Access is used to provide Alfred with access to the Messages database. However, by providing Alfred with this access, you are providing ALL access to Alfred workflows โ€” not just this one.

Be sure you trust your installed workflows before allowing this.

Installation

Run the following command in terminal:

curl -sL https://raw.githubusercontent.com/mr-pennyworth/alfred-text-otp/main/install.sh | sh

Related

  • Simple 2FA Paste is an Alfred workflow that does the same as this workflow, but has the limitation (as documented on their site):

    Starting with macOS Ventura, Apple changed the format of the underlying database (chat.db) where now it saves an encoded version of the message in attributedBody column instead of the simpler, unencoded text column. text is still populated when the message is first received, but gets converted to attributedBody at some later time. This workflow will not find such converted messages.

  • 2FA Read Code is another workflow that has the same limitation as the one above.
  • Mouseless Messenger is an Alfred workflow that allows you to read messages in Alfred and send messages from Alfred. It doesn't extract OTPs, but contains the code to deal with attributedBody column in the chat.db database.

alfred-text-otp's People

Contributors

mr-pennyworth avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.