Easily integrate your Ente Auth with Alfred using this simple workflow to query your Ente Auth TOTP accounts.
The workflow uses Ente CLI to export your secrets from Ente Auth and then stashes them securely into the macOS Keychain.
The Ente Auth CLI is required.
You can install the Ente CLI using Homebrew for a simpler and more automated setup. Run the following command in your terminal:
brew install ente-cli
Once installed, verify the installation:
ente version
To use the Ente Auth workflow, you'll need the Ente CLI. Follow the steps below to install it:
-
Visit the Ente CLI releases page.
-
Download the latest version for macOS.
-
Move the binary to
/usr/local/bin
and make it executable with the following commands:sudo mv /path/to/ente /usr/local/bin/ente sudo chmod +x /usr/local/bin/ente
Once installed, verify that it's working by running the following command in your terminal:
ente version
- Run
ente account add
to authenticate yourself with Ente CLI. - You'll first be prompted for the app type. Enter
auth
. - Next, you'll be asked for an export directory. You can choose any path you wish, but it must exist before you press return, else Ente CLI will not accept it.
- Finally, you'll be prompted to provide your Ente login credentials.
Download and open the workflow file from the latest release page.
Note
To ensure the workflow can import your accounts from Ente Auth, you'll need to define the "Ente Export Directory" when you add this workflow to Alfred.
This path should be the same one you configured when adding your Ente account.
To show the Ente CLI's configured export path, run ente account list
and refer to the ExportDir
value.
# Example of configured export path from `ente account list`
❯ ente account list
Configured accounts: 1
====================================
Email: ente@domain.com
ID: 1111111111111111
App: auth
ExportDir: /foo/bar/ente
Note: In the workflow preferences, Ente Export Directory refers to the exportDir
value shown above.
-
Launch Alfred
-
Import Your Data
- To import your Ente Auth TOTP accounts, simply trigger the workflow by running
ente import
in Alfred.
- To import your Ente Auth TOTP accounts, simply trigger the workflow by running
-
Search for an Ente Auth TOTP account
- To list all of your Ente Auth TOTP accounts, run
ente
in Alfred. - To search for a specific account, simply append a search string to the previous command.
Example:
ente GitHub
- The search feature also supports loose search queries, matching words in the account name in any order.
- For example "Docker Hub" will match with the queries "Docker Hub", "Hub", "Do Hu".
- To list all of your Ente Auth TOTP accounts, run
To set up your local environment, run the following command to install or update the necessary dependencies:
poetry install --only=main
Once your environment is ready, use this command to build the workflow file:
python3 build.py
Feel free to open issues or submit pull requests.
This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Ente. The official Ente website can be found at https://ente.io. "Ente" as well as related names, marks, emblems and images are registered trademarks of their respective owners.