Skip to content

Commit 04ef73a

Browse files
committed
format + deeplinks
1 parent d750c0a commit 04ef73a

3 files changed

Lines changed: 95 additions & 22 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,25 @@ title: "[bug]"
55
labels: bug, not assigned
66
assignees: ''
77
type: Bug
8-
98
---
109

11-
**Describe the bug**
12-
A clear and concise description of what the bug is.
10+
**Describe the bug** A clear and concise description of what the bug is.
11+
12+
**To Reproduce** Steps to reproduce the behavior:
1313

14-
**To Reproduce**
15-
Steps to reproduce the behavior:
1614
1. Go to '...'
1715
2. Click on '....'
1816
3. Scroll down to '....'
1917
4. See error
2018

21-
**Expected behavior**
22-
A clear and concise description of what you expected to happen.
19+
**Expected behavior** A clear and concise description of what you expected to
20+
happen.
2321

24-
**Screenshots**
25-
If applicable, add screenshots to help explain your problem.
22+
**Screenshots** If applicable, add screenshots to help explain your problem.
2623

2724
**Which macos version? (please complete the following information):**
28-
- OS: [e.g. MacOS Sequoia 15.5]
29-
- Rustcast Version [e.g. v0.7.3]
3025

31-
**Additional context**
32-
Add any other context about the problem here.
26+
- OS: [e.g. MacOS Sequoia 15.5]
27+
- Rustcast Version [e.g. v0.7.3]
28+
29+
**Additional context** Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ title: "[feat]"
55
labels: enhancement, not assigned
66
assignees: ''
77
type: Feature
8-
98
---
109

11-
**Why do you think this is a good feature?**
12-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
**Why do you think this is a good feature?** A clear and concise description of
11+
what the problem is. Ex. I'm always frustrated when [...]
1312

14-
**Describe the solution you'd like**
15-
A clear and concise description of what you want to happen.
13+
**Describe the solution you'd like** A clear and concise description of what you
14+
want to happen.
1615

17-
**What have you been using currently to solve this?**
18-
A clear and concise description of any alternative solutions or features you've considered.
16+
**What have you been using currently to solve this?** A clear and concise
17+
description of any alternative solutions or features you've considered.
1918

20-
**Additional context**
21-
Add any other context or screenshots about the feature request here.
19+
**Additional context** Add any other context or screenshots about the feature
20+
request here.

docs/index.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)