You can import Raycast Focus categories from a JSON file using Import Focus Categories command (available in Raycast 1.92.0+).

Raycast 2025-02-18 at 13.54.48.png

JSON Format

<aside> <img src="/icons/info-alternate_blue.svg" alt="/icons/info-alternate_blue.svg" width="40px" />

Focus category title must be unique. Choose a title different from those already used by other categories.

</aside>

[
  {
    "title" : "Gambling",
    "websites" : [
      "winamax.com",
      "stake.com"
    ]
  },
  {
    "title": "French News",
    "apps" : [
      "com.apple.news"
    ],
    "websites": [
      "lefigaro.fr",
      "lemonde.fr",
      "liberation.fr",
      "lequipe.fr"
    ]
  }
]

focus-categories.json

After the import is completed, you will see how many categories were added and how many duplicates were skipped. If a category has the same title, it’s considered to be a duplicate.

Raycast 2025-02-18 at 13.50.43.png