Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ente-auth extension #14772

Merged
merged 10 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions extensions/ente-auth/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"root": true,
"extends": ["@raycast"],
"rules": {
"@raycast/prefer-title-case": "off"
}
}

4 changes: 4 additions & 0 deletions extensions/ente-auth/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/ente-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ente Auth Changelog

## [Initial Version] - 2024-08-28
28 changes: 28 additions & 0 deletions extensions/ente-auth/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# A Raycast extension that uses your Ente Auth exports

## Features
- Imports: Ability to dynamically import secrets
- TOTP Code Display: Fetches and displays TOTP secrets exported from Ente Auth.
- Dynamic Icons: Displays service-specific favicons when URL placed in notes section.
- Metadata Display: Shows detailed metadata for each TOTP.
- Progress Indicator: Visual progress indicator for the remaining time of the current TOTP code.
- Tag Support: Displays tags associated with each TOTP secret.
- Clipboard Actions: Allows users to copy the current and next TOTP codes to the clipboard with a single click.

## Usage

> [!NOTE]
> The Ente Auth [CLI](https://github.com/ente-io/ente/tree/main/cli) is required.

## Setup

#### Automated

Run `Import Secrets` from Raycast. This will create a `~/Documents/ente` directory and a file named `ente_auth.txt`.

#### Manual

As explained [here](https://help.ente.io/auth/migration-guides/export), run:
```ente account update --app auth --email <email> --dir <path>```.

Or perform the same actions but through the UI as long as the file is placed in the `~/Documents/ente` folder.
Binary file added extensions/ente-auth/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions extensions/ente-auth/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"include": ["src/**/*", "raycast-env.d.ts"],
"compilerOptions": {
"lib": ["ES2023"],
"module": "commonjs",
"target": "ES2022",
"strict": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react-jsx",
"resolveJsonModule": true
}
}
3 changes: 3 additions & 0 deletions extensions/ente-auth/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ente Auth Changelog

chkpwd marked this conversation as resolved.
Show resolved Hide resolved
## [Initial Version] - 2024-08-28
Binary file added extensions/ente-auth/metadata/ente-auth-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/ente-auth/metadata/ente-auth-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/ente-auth/metadata/ente-auth-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/ente-auth/metadata/ente-auth-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading