Skip to content

Add snag extension - #30734

Closed
n4kama wants to merge 5 commits into
raycast:mainfrom
n4kama:ext/snag
Closed

n4kama wants to merge 5 commits into
raycast:mainfrom
n4kama:ext/snag

Conversation

@n4kama

@n4kama n4kama commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Screencast

Checklist

- Readme updated
- snag as a Raycast extension
- Adding "Load more" button
- Removed useless arrow indicator and gif/png mode copy selection
- web app hosted on Github Pages
- single-file web app, no backend, direct 7tv emotes into clipboard
@raycastbot raycastbot added the new extension Label for PRs with new extensions label Sep 2, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

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

@n4kama

n4kama commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Preview of the extension:

Screenshot 2026-09-02 at 21 16 11

@greptile-apps

greptile-apps Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds the Snag Raycast extension for searching 7TV emotes and copying or pasting their image files.

  • Adds a paginated emote grid with selectable output sizes.
  • Adds the package-local shared search and file-selection module, tests, and build configuration.
  • Adds the required extension icon, Store metadata screenshot, and changelog.

Confidence Score: 5/5

The PR appears safe to merge because both previously reported blocking issues are resolved and no related blocking failure remains.

The shared module now exists within the extension source boundary and the view command now includes a correctly sized Store metadata screenshot, leaving no blocking failure from the prior threads.

Important Files Changed

Filename Overview
extensions/snag/src/pick.ts The previous missing-module reference is replaced with a package-local re-export from the added src/snag.mjs module.
extensions/snag/src/snag.mjs Implements the shared 7TV query and emote-file selection logic consumed by the command.
extensions/snag/src/snag.tsx Implements the paginated emote grid and file-based copy and paste actions.
extensions/snag/package.json Declares the view command, dependencies, scripts, identity, and Store categories.
extensions/snag/metadata/snag-1.png Supplies the previously missing Store metadata as a PNG with the required 2000×1250 dimensions.

Reviews (4): Last reviewed commit: "Extension icon fixed" | Re-trigger Greptile

Comment thread extensions/snag/src/pick.ts Resolved
"subtitle": "7TV",
"description": "Search 7TV emotes and paste one into the frontmost app.",
"mode": "view"
}

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.

P1 View metadata is missing

This manifest introduces a view command without the required metadata folder and Raycast-styled screenshots, leaving the extension incomplete for Store review and publication.

Rule Used: What: Extensions with view-type commands must incl... (source)

Knowledge Base Used: Extension metadata and visual assets

Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/snag/package.json
Line: 20

Comment:
**View metadata is missing**

This manifest introduces a view command without the required `metadata` folder and Raycast-styled screenshots, leaving the extension incomplete for Store review and publication.

**Rule Used:** What: Extensions with view-type commands must incl... ([source](https://app.greptile.com/raycast/-/custom-context?memory=87059ac1-c601-487f-9f1c-bce8a3cb6209))

**Knowledge Base Used:** [Extension metadata and visual assets](https://app.greptile.com/raycast/-/custom-context/knowledge-base/raycast/extensions/-/docs/extension-metadata-and-assets.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Resolved

@socket-security

socket-security Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​types/​node@​26.4.11001008196100
Addednpm/​@​raycast/​api@​2.1.39910084100100

View full report

@raycastbot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Sep 27, 2026
@n4kama
n4kama marked this pull request as ready for review September 27, 2026 21:45
@raycastbot raycastbot removed the status: stalled Stalled due inactivity label Sep 27, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your contribution 🔥

We already have a 7TV Emotes Search extension that covers the same core workflow: searching and previewing 7TV emotes, then copying or pasting them into the active app.

There are some nice improvements here, particularly the output-size selector and resolving the appropriate GIF/PNG file from the files returned by 7TV. Would you be open to contributing those improvements to the existing extension instead?

This helps us avoid maintaining multiple Store extensions that solve essentially the same job.

@0xdhrv
0xdhrv marked this pull request as draft September 28, 2026 05:57
@0xdhrv 0xdhrv self-assigned this Sep 28, 2026
@n4kama

n4kama commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for your output ! I did not see the existing extension :/ I can contribute to their project instead yes.

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

Labels

new extension Label for PRs with new extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants