{"slug": "import-export-raycast-preferences-with-git-history", "title": "Import/export Raycast preferences with GIt history", "summary": "Raycast's default preference export creates a compressed `.rayconfig` file, which is difficult to track in a Git repository and requires a pro subscription for cloud syncing. To obtain a usable JSON file, users must first export settings without a password, then decompress the file using `gzip --decompress --keep --suffix .rayconfig`. The resulting JSON can be recompressed and imported back into Raycast, though syncing remains a challenge without manual user input via deeplinks.", "body_md": "Raycast has a feature to import/export preferences in a .rayconfig\nfile format. This isn't ideal for use in a dotfiles-esque Git repository since it would be difficult to compare changes with a compressed file. Also, unfortunately, syncing is only possible on a pro subscription and only through Raycast's cloud service.\nTo get a more useful JSON file from the .rayconfig\n(example shown in example.rayconfig.json), you will have to first have to export a decrypted version. Go to Settings > Extensions > Raycast > Export Settings & Data and under \"Export Password,\" which by default is 12345678, you will want to delete that.\nAfter that, run the \"Export Settings & Data\" command. You should be able to export all of the preferences (Settings, Extensions, Floating Notes, Script Directories, Snippets) except Quicklinks without setting a password.\nThen, in terminal, run gzip --decompress --keep --suffix .rayconfig NAME_OF_FILE.rayconfig and you should get a JSON file similar to example.rayconfig.json.\nAfter that, you can get it back into .rayconfig format using gzip --keep --suffix .rayconfig NAME_OF_FILE and then run \"Import Settings & Data\" command to get it back.\nAs for syncing, I am not sure of a way to do it. Deeplinks may be a path but it still requires some input from the user (raycast://extensions/raycast/raycast/export-settings-data and raycast://extensions/raycast/raycast/import-settings-data). Let me know if you have any thoughts", "url": "https://wpnews.pro/news/import-export-raycast-preferences-with-git-history", "canonical_source": "https://gist.github.com/jeremy-code/50117d5b4f29e04fcbbb1f55e301b893", "published_at": "2024-07-31 08:43:02+00:00", "updated_at": "2026-05-22 22:06:46.560302+00:00", "lang": "en", "topics": ["developer-tools", "products"], "entities": ["Raycast"], "alternates": {"html": "https://wpnews.pro/news/import-export-raycast-preferences-with-git-history", "markdown": "https://wpnews.pro/news/import-export-raycast-preferences-with-git-history.md", "text": "https://wpnews.pro/news/import-export-raycast-preferences-with-git-history.txt", "jsonld": "https://wpnews.pro/news/import-export-raycast-preferences-with-git-history.jsonld"}}