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.
Note
Currently, Homebrew installation is not available for the Ente CLI. A formula will be added pending a new release including a required fix. For the time being, please use the manual installation steps outlined below.
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 extension 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.
-
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.