Skip to content

Adds GitIgnore Search - #439

Closed
superhighfives wants to merge 5 commits into
raycast:mainfrom
superhighfives:gitignore-search
Closed

superhighfives wants to merge 5 commits into
raycast:mainfrom
superhighfives:gitignore-search

Conversation

@superhighfives

Copy link
Copy Markdown
Contributor

Description

Adds the GitIgnore Search extension, which makes it quick and easy to grab the contents of a github/gitignore .gitignore template.

Powered by gitignore-fetch.

Type of change

  • New extension

Screencast

gitignore-search-screenshot

gitignore-search-screencast.mov

Checklist

@superhighfives superhighfives changed the title GitIgnore Search Adds GitIgnore Search Nov 29, 2021
@fe9lix fe9lix self-assigned this Nov 30, 2021
@fe9lix
fe9lix self-requested a review November 30, 2021 05:28

@fe9lix fe9lix 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.

Hey @superhighfives, thanks for your contribution!
Currently the gitignore templates are bundled into the assets folder – could you think of a way to keep the them up-to-date automatically? (e.g. downloading them in the background and caching to the support folder...)

@mattisssa mattisssa added the new extension Label for PRs with new extensions label Nov 30, 2021
@superhighfives

Copy link
Copy Markdown
Contributor Author

Hey @fe9lix—yeah, great point. I was asking about this in the Raycast Slack, to see if I could asynchronously grab the .gitignore files on copy to clipboard, which would be a way around having them locally.

In lieu of that, I could download the .gitignore files (there's 100+ or so) and put them in Raycast storage. It doesn't look like there is currently a way to expire that storage, though.

Happy to make any changes, especially if there are any anti-patterns I can avoid.

@unnamedd

Copy link
Copy Markdown
Contributor

@superhighfives do you know about the existence of the https://gitignore.io?
They also have an API: https://docs.gitignore.io/use/api

I have this alias for git here:
gi = "!gi() { curl -L -s https://www.gitignore.io/api/$@; }; gi"

which helps me in the creation of my .gitignore file, maybe you can consume that API and then you won't need to download/embed any files which might bring problems to keep them updated.

@superhighfives

Copy link
Copy Markdown
Contributor Author

So, it looks as though https://gitignore.io matches all my requirements, so I've started on a new branch. I'm keen to implement caching before I submit, so going to close this in the short term, and will reopen when I have the finalised gitignore.io version.

@superhighfives
superhighfives deleted the gitignore-search branch December 1, 2021 20:36
@superhighfives

Copy link
Copy Markdown
Contributor Author

(And thanks for reviews and suggestions, @fe9lix and @unnamedd. 👍)

@unnamedd

unnamedd commented Dec 1, 2021

Copy link
Copy Markdown
Contributor

Nice that you didn't give up @superhighfives! If you need help, suggestions or anything like that, please, share with us on Slack as well! Will be a pleasure to assist you on this funny journey! :D

@superhighfives

Copy link
Copy Markdown
Contributor Author

Never give up! 😊 Sounds good—will ping you on Slack, @unnamedd. 👍

@daniel-stoneuk daniel-stoneuk mentioned this pull request Feb 13, 2022
3 tasks done
MaheshtheDev added a commit to MaheshtheDev/raycast-extensions that referenced this pull request Oct 2, 2025
- updated: eslint config
- fix: greptile issues
- chore: updated the author name
- fix: remove console logs
- fix: lint issues
- chore: duplicate code blocks removal
- chore: updated the api key token link
- fix: raycast publish issue with bun
- chore: update the metadata and ui for app to get api key
- feat(raycast-extension): initial version of supermemory extension for raycast
- fix: Migration guides
- Merge branch \'main\' of https://github.com/supermemoryai/supermemory
- feat: Add memory vs rag and migration section to docs
- ui: fix progress bar thickness on regular browser (raycast#445)
- fix: hardcode names (raycast#444)
- feat: layout design with theme improvements (raycast#443)
- UI: onboarding improvements (raycast#435)
- feat: new onboarding flow (raycast#408)
- feat: Claude memory integration
- fix: build
- hot-fix: chat conversation reaching max depth with update (raycast#442)
- Merge branch \'main\' of https://github.com/supermemoryai/supermemory
- migrate docs to public
- fix: disable experimental React Compiler in Next.js config and remove babel-plugin-react-compiler dependency. (raycast#441)
- chore: updated the author name
- fix: remove console logs
- fix: lint issues
- chore: duplicate code blocks removal
- chore: updated the api key token link
- fix: raycast publish issue with bun
- chore: update the metadata and ui for app to get api key
- Merge branch \'main\' of https://github.com/supermemoryai/supermemory
- bump version
- fix: SSR issue while localStorage is being accessed (raycast#437)
- feat(extension): Auto Logout when token is invalidated, Account Section (raycast#438)
- fix(pricing): update the new pricing limits on pro plan (raycast#439)
- feat(raycast-extension): initial version of supermemory extension for raycast
raycastbot added a commit that referenced this pull request Oct 2, 2025