Skip to content

dfosco/raycast-goodies

Repository files navigation

Raycast Goodies

Raycast snippets + goodies by @dfosco

For a basic overview, check this discussion with a basic guide for Raycast (GH-staff only)

Initial Setup

Clone this repository locally and add its folder as your Script Directory on Raycast settings:

alt text

The scripts in this folder should appear in the list: alt text

Simple Commands

Random Usernames

Add a random username to your clipboard from a list of 100 names.

Tip

This list was created randomly with an LLM to be a somewhat accurate representation of GitHub usernames — might accidentally contain real people names, don't use for designs that show up in production!

Raycast screenshot of random username command

Random username paulomoreira added

Count Characters

For when you need to know if a text fits in your design... if you know you know.

Raycast screenshot of Count Characters command

Output of character counts: The number of characters is 43

Advanced Commands

Warning

Before you can use these two commands, replace the contents of _repositories-folder.txt with the path of the folder where you keep repositories in your Mac

Instructions to get repository folder path

Instruction to Get info on folder

Instruction to get folder path

The output copied to your clipboard will not include the actual folder name, so make sure to add it.

In this case, the output was /Users/dfosco and I added /Workspace so the file contains a single line with:

/Users/dfosco/Workspace

Open Repo in VS Code

Quickly open any local repository in VS Code, just type its folder name.

Raycast screenshot of Open Repo command

Tip

You should have the VS code CLI command installed for this. To do so:

  1. Open VS Code
  2. Press cmd + shift + p
  3. Search for “code command” and choose the option below: VSCode option to install 'code' command in PATH

Commit Now

Quickly commit and push all files in a repository with commit message "Update repo @ date - time"

Raycast screenshot of Commit now command

Screenshot of git commit messages generated by this command

About

Raycast snippets + goodies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages