Samuel kraft's Avatar

Samuel kraft

@samuelkraft.bsky.social

design engineer @raycast.com

489 Followers  |  20 Following  |  17 Posts  |  Joined: 05.11.2024
Posts Following

Posts by Samuel kraft (@samuelkraft.bsky.social)

Preview
Create beautiful images of your code - Raycast x Trigger.dev Turn your code into beautiful images. Choose from a range of syntax colors, hide or show the background, and toggle between a dark and light window.

ray.so/triggerdev

15.08.2025 13:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Trigger.dark Theme - Visual Studio Marketplace Extension for Visual Studio Code - The official Trigger.dev dark mode theme for Visual Studio Code.

If you dig the theme there's even a VSCode/Cursor theme available
marketplace.visualstudio.com/items?itemN...

15.08.2025 13:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Light mode is just as nice

15.08.2025 13:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Excited to share the latest ray.⁠so partner theme for Trigger.dev!

Beautiful collab with @DKP__ @maverickdotdev

Try it -> ray.so/triggerdev

15.08.2025 13:35 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Preview
Less chaos, more focus - Raycast Focus Raycast Focus helps you stay in focus by blocking distracting apps and websites.

raycast.com/focus

21.01.2025 14:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

A route handler gets the original favicon from google's favicon api, then uses next/og to generate a new icon with the glow on top.

In the page itself we use generateMetadata to call the route with the blocked website domain.

21.01.2025 14:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

tiny detail from Raycast Focus: whenever you try to visit a blocked website we dynamically generate a new favicon with the focus glow on top to show that the website is blocked.

21.01.2025 14:00 β€” πŸ‘ 20    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
Preview
Raycast Notes - Fast, light and frictionless note-taking Raycast Notes makes it frictionless to organize your thoughts from anywhere on your Mac. Track todos, save meeting notes, and collect ideas. Designed to be lightweight with Markdown support and just a...

if you're not using Raycast Notes yet we built a page to convince you raycast.com/notes

28.11.2024 13:42 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

fidgeting friday

22.11.2024 14:27 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

making "touchable" the new trend for 2025 🫑

22.11.2024 09:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

ooooh hell yea

22.11.2024 07:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Congrats! that logo makes me want to touch it, looks like some soft grass 😌

22.11.2024 07:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Check out the new blog (and maybe subscribe to that RSS feed because @ped.bsky.social will post some hot news later this week) πŸ‘‰ raycast.com/blog

05.11.2024 16:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

We added support for optimized images with next/image by using rehype-img-size. This tool automatically adds width and height to all images, which are then passed to next/image in mdx-components.tsx.

05.11.2024 16:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

One downside of not using something like contentlayer is we don't get type-safe metadata - we solve this by validating the metadata for each mdx file.

05.11.2024 16:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

We export a getPost function that gets the MDX content and the post metadata which is exported as an object from the mdx
cheers to karlhorky for his demo repo github.com/karlhorky/ne...

05.11.2024 16:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

The Raycast blog has received a small makeover!

We looked at a lot of options on how to handle mdx in nextjs before deciding to go with just @⁠next/mdx with await import().

05.11.2024 16:21 β€” πŸ‘ 23    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0