Creating a bookmarking utility with Raycast Extensions and Cosmic
A short one from me today, but just a cross-post of an article I wrote over on the Cosmic blog about how you can work with the Raycast Extensions API and the Cosmic REST API to create useful utilities that pass content between the Raycast interface and your Cosmic CMS.
Super powerful for teams building shared tooling, such as CMS-controlled knowledge bases, but also helpful for little personal utilities like this simple bookmarking ‘database'.
Check it out, follow along, and let me know if you manage to build anything with it. This extension is also published and available in the Raycast Extensions store alongside a Tailwind converter that I created.
Raycast and Cosmic
Prerequisites: Raycast Extensions only work on macOS, so if you’re on another device then sadly this tutorial isn’t worth your time. The Cosmic Bookmarks Extension can be found and downloaded from the Raycast Store.
What is a Raycast extension?
Raycast Extensions allow you to complete tasks, create lists, browse media and improve your workflow. You can manage all of your Extensions through a set of built-in developer tools, and publish Extensions to the Raycast Store, and share with the world. Today we’ll get you on the path to doing just that (although you won’t be able to publish this exact Extension as it already exists on the store!). Raycast Extensions use React but compile to native macOS code under the hood. This means you can write them using the web framework you know already, but still get all the benefits of native code.
What is Cosmic?
Cosmic is a headless CMS that is all about accelerating the development of content-driven applications. Cosmic offers expansive tools like a JavaScript SDK, allowing developers to easily get content into their applications. You can read the Cosmic Documentation to learn how access your content and extend the dashboard functionality.
Read the full article over on the Cosmic blog