Skip to content

Add Shelve extension - #22287

Merged
raycastbot merged 17 commits into
raycast:mainfrom
michaelreinhard1:main
Nov 9, 2025
Merged

raycastbot merged 17 commits into
raycast:mainfrom
michaelreinhard1:main

Conversation

@michaelreinhard1

Copy link
Copy Markdown
Contributor

Description

This is an extension for https://vault.shelve.cloud. Shelve makes it easy to securely share sensitive information without requiring an account. Set expiration times, control read limits, and ensure encrypted transmission.

Screencast

shelve-extension.mp4

@HugoRCD

@raycastbot

ghost commented Oct 19, 2025

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@greptile-apps

ghost commented Oct 19, 2025

Copy link
Copy Markdown
Contributor

Greptile encountered an error while reviewing this PR. Please reach out to [email protected] for assistance.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @michaelreinhard1:

I saw this on X :)

You are missing a bunch of items:

  1. .gitignore
  2. CHANGELOG.md
  3. .prettierrc
  4. metadata folder with screenshots

Comment thread extensions/shelve/raycast-env.d.ts Outdated
Comment on lines +1 to +28
/// <reference types="@raycast/api">

/* 🚧 🚧 🚧
* This file is auto-generated from the extension's manifest.
* Do not modify manually. Instead, update the `package.json` file.
* 🚧 🚧 🚧 */

/* eslint-disable @typescript-eslint/ban-types */

type ExtensionPreferences = {}

/** Preferences accessible in all the extension's commands */
declare type Preferences = ExtensionPreferences

declare namespace Preferences {
/** Preferences accessible in the `encrypt` command */
export type Encrypt = ExtensionPreferences & {}
/** Preferences accessible in the `decrypt` command */
export type Decrypt = ExtensionPreferences & {}
}

declare namespace Arguments {
/** Arguments passed to the `encrypt` command */
export type Encrypt = {}
/** Arguments passed to the `decrypt` command */
export type Decrypt = {}
}

ghost Oct 20, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is auto-generated at runtime so it is NOT supposed to be checked in.

@michaelreinhard1

ghost commented Oct 20, 2025

Copy link
Copy Markdown
Contributor Author

Hi @michaelreinhard1:

I saw this on X :)

You are missing a bunch of items:

  1. .gitignore
  2. CHANGELOG.md
  3. .prettierrc
  4. metadata folder with screenshots

Thanks for catching that and glad you saw it on X! :)

Just added everything that was missing. Used the alternative publishing method and overlooked those, my mistake!

Appreciate it! 🙏

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments then LGTM!

Comment thread extensions/shelve/src/decrypt.tsx Outdated
});
}}
/>
<Action title="Decrypt Another Secret" onAction={onDecryptAnother} />

ghost Oct 20, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't really need this since user can press Esc to go back.

Comment thread extensions/shelve/src/decrypt.tsx Outdated

return (
<Form
enableDrafts={false}

ghost Oct 21, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant since enableDrafts is "off" by default

Suggested change
enableDrafts={false}

Comment thread extensions/shelve/src/decrypt.tsx Outdated
isLoading={isLoading}
actions={
<ActionPanel>
<Action.SubmitForm title="Decrypt Secret" onSubmit={handleSubmit} />

ghost Oct 21, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add an icon here.

Comment thread extensions/shelve/src/encrypt.tsx Outdated
isLoading={isLoading}
actions={
<ActionPanel>
<Action.SubmitForm onSubmit={handleSubmit} title="Encrypt Secret" />

ghost Oct 21, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add an icon please!

Comment thread extensions/shelve/CHANGELOG.md Outdated
@@ -0,0 +1,7 @@
# Shelve Changelog

## [Initial Release] - 2025-10-20

ghost Oct 21, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## [Initial Release] - 2025-10-20
## [Initial Release] - {PR_MERGE_DATE}

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just cloned it locally and it's working great!
we need one more icon, then don't forget to lint.
last one 🫠

Comment thread extensions/shelve/src/encrypt.tsx Outdated
message: error instanceof Error ? error.message : "Failed to encrypt secret",
style: Toast.Style.Failure,
});
console.error("Vault API error:", error);

ghost Oct 22, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
console.error("Vault API error:", error);

markdown={markdown}
actions={
<ActionPanel>
<Action

ghost Oct 22, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Action
<Action icon={Icon.CopyClipboard}

Comment thread extensions/shelve/src/decrypt.tsx Outdated
message: error instanceof Error ? error.message : "Failed to decrypt secret",
style: Toast.Style.Failure,
});
console.error("Vault decrypt error:", error);

ghost Oct 22, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
console.error("Vault decrypt error:", error);

@michaelreinhard1

ghost commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

Just cloned it locally and it's working great! we need one more icon, then don't forget to lint. last one 🫠

Made all the changes! :)

However I don't see the icons of the Actions? 🤔
image

I'm on Windows 11

ghost left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When there is a single item, Raycast hides the Icon but e.g. when I'm debugging, there are extra items and the icon is shown. So it's simply good practice to add Icon when possible.
Image

@michaelreinhard1

ghost commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

When there is a single item, Raycast hides the Icon but e.g. when I'm debugging, there are extra items and the icon is shown. So it's simply good practice to add Icon when possible. Image

Oh I see, that makes sense! Thanks for letting me know :)

@michaelreinhard1

ghost commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author

Updated the extension to support the new password feature in https://vault.shelve.cloud/

@raycast-extensions-bot raycast-extensions-bot Bot added the Approved Approved by a user label Nov 8, 2025
@pernielsentikaer pernielsentikaer self-assigned this Nov 9, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 584953d into raycast:main Nov 9, 2025
@github-actions

ghost commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 9, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@HugoRCD

ghost commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

Congrats @michaelreinhard1 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Approved by a user new extension Label for PRs with new extensions platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants