@@ -260,6 +260,83 @@ <h2>Script your workflow.<br />Define your modes.</h2>
260260
261261 < div class ="divider "> </ div >
262262
263+ < div class ="divider "> </ div >
264+
265+ <!-- DEEPLINKS -->
266+ < section id ="deeplinks ">
267+ < div class ="modes-section ">
268+ < div class ="section-label "> // deeplinks</ div >
269+ < h2 > Automate with< br /> URL schemes.</ h2 >
270+ < p class ="section-desc ">
271+ RustCast exposes a < code > rustcast://</ code > URL scheme (v0.7.4+).
272+ Trigger it from scripts, shortcuts, browsers, or any tool that can
273+ open a URL.
274+ </ p >
275+
276+ < div class ="modes-grid " style ="margin-top: 2.5rem ">
277+ < div class ="mode-card ">
278+ < div class ="mode-tag "> open</ div >
279+ < div class ="mode-title "> Launch an App</ div >
280+ < p class ="mode-desc " style ="margin-bottom: 1rem ">
281+ Open any installed application by name.
282+ </ p >
283+ < pre
284+ style ="margin: 0; padding: 0.9rem 1rem; background: var(--bg2); border-radius: 6px; font-size: 0.75rem "
285+ >
286+ < span class ="c-str "> rustcast://open?target=obsidian</ span > </ pre >
287+ </ div >
288+
289+ < div class ="mode-card ">
290+ < div class ="mode-tag "> show</ div >
291+ < div class ="mode-title "> Show RustCast</ div >
292+ < p class ="mode-desc " style ="margin-bottom: 1rem ">
293+ Bring the launcher to the foreground — useful in Shortcuts or
294+ shell scripts.
295+ </ p >
296+ < pre
297+ style ="margin: 0; padding: 0.9rem 1rem; background: var(--bg2); border-radius: 6px; font-size: 0.75rem "
298+ >
299+ < span class ="c-str "> rustcast://show</ span > </ pre >
300+ </ div >
301+
302+ < div class ="mode-card ">
303+ < div class ="mode-tag "> quit</ div >
304+ < div class ="mode-title "> Quit RustCast</ div >
305+ < p class ="mode-desc " style ="margin-bottom: 1rem ">
306+ Gracefully quit the app from a script or automation flow.
307+ </ p >
308+ < pre
309+ style ="margin: 0; padding: 0.9rem 1rem; background: var(--bg2); border-radius: 6px; font-size: 0.75rem "
310+ >
311+ < span class ="c-str "> rustcast://quit</ span > </ pre >
312+ </ div >
313+ </ div >
314+
315+ <!-- Usage example block -->
316+ < div
317+ class ="install-block active "
318+ style ="margin-top: 2.5rem; text-align: left "
319+ >
320+ < div class ="install-block-bar ">
321+ < span class ="install-block-title "> Terminal — example usage</ span >
322+ < span
323+ style ="font-family: var(--mono); font-size: 0.65rem; color: var(--rust) "
324+ > v0.7.4+</ span >
325+ </ div >
326+ < div class ="install-code ">
327+ < span class ="comment "> # Show the launcher</ span > < br >
328+ < span class ="cmd "> open</ span > "rustcast://show"< br >
329+ < br >
330+ < span class ="comment "> # Open Obsidian via RustCast</ span > < br >
331+ < span class ="cmd "> open</ span > "rustcast://open?target=obsidian"< br >
332+ < br >
333+ < span class ="comment "> # Quit RustCast from a script</ span > < br >
334+ < span class ="cmd "> open</ span > "rustcast://quit"< br >
335+ </ div >
336+ </ div >
337+ </ div >
338+ </ section >
339+
263340 <!-- CONFIG -->
264341 < section id ="config ">
265342 < div class ="config-section ">
0 commit comments