DOOM, inside Raycast.
I have been using Raycast ever since I got my first MacBook.
But only recently found out you can build your own Raycast extensions with JavaScript and Node.js.
The idea was born:
Can this thing run DOOM?
Turns out, not really.
Raycast extensions do not get webviews, WebGL, canvas, realtime keyboard capture, or audio.
But you can still cheat it:
- run PureDOOM in WASM
- render each framebuffer to PNG
- write it to disk
- point Raycast markdown at the image
- replace the image fast enough to play
npm install
npm run build:doom
npm run devOpen Raycast and run Play Doom.
Raydoom does not bundle Doom assets. Add a legal IWAD like doom1.wad, doom.wad, or doom2.wad in Raycast preferences, or put one in ~/Desktop, ~/Downloads, or ~/Documents.
W/S: move forward/backwardA/D: turn left/rightQ/E: strafe left/rightF: fireU: use/openM: automapX: menuOption-P: pause/resumeCommand-R: reset
Launch Doom is also included if you want to open a WAD in Chocolate Doom instead.
