raydoom
doom inside raycast

I have been using a Mac for over a year now.
(switched from windows because i burned my laptop cpu. long story.)
Like most people switching to the other side, I hated it at first.
Then a friend told me to install Raycast, and it basically made mac the best choice I ever made.
Anyway, only two weeks ago I found out you can build your own Raycast extensions.
And they can run Node.
So obviously the first question was:
Can it run DOOM?
Well, not really.
Raycast extensions are not little browser windows.
They don't offer webview, webgl, canvas or any of the usual tools for rendering live game inside it.
But you can cheat.
The trick
Actually pretty simple:
- Run DOOM inside WASM inside Raycast
- Take snapshots of the game and write it to disk
- Point the markdown renderer to the image
- Replace the image really really fast.
And voila - you have yourself DOOM inside Raycast

It is just the basic FPS idea behind how videography works, except the "screen" is Raycast markdown and the frames are files on disk getting swapped over and over again.