Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ <h1 class="wordmark">reeve</h1>
<svg class="btn-icon" viewBox="0 0 16 16" width="18" height="18" aria-hidden="true" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 012-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>
View on GitHub
</a>
<a class="btn btn-ghost btn-star" href="https://github.com/fredrivett/reeve" aria-label="Star reeve on GitHub">
<span class="star-count" id="star-count" hidden></span>
<svg class="btn-icon" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" fill="currentColor"><path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"></path></svg>
</a>
<a class="btn btn-ghost" href="https://github.com/fredrivett/reeve/releases">Download DMG</a>
</div>

Expand Down Expand Up @@ -80,6 +84,10 @@ <h3><span class="emoji">🪵</span> Live logs &amp; notifications</h3>
<h3><span class="emoji">🔍</span> Quick filter</h3>
<p>Search processes by name, repo or branch, with ⌘K to jump straight to the filter.</p>
</div>
<div class="feature">
<h3><span class="emoji">🚀</span> Launch at login</h3>
<p>Toggle it on and reeve is in your menu bar the moment you sign in — no need to remember to start it.</p>
</div>
</section>

<footer class="footer">
Expand Down Expand Up @@ -139,6 +147,18 @@ <h3><span class="emoji">🔍</span> Quick filter</h3>
showCopied();
}
});

// Populate the GitHub star count; silently leaves the button as a bare star icon on failure.
fetch('https://api.github.com/repos/fredrivett/reeve')
.then((res) => (res.ok ? res.json() : null))
.then((data) => {
if (data && typeof data.stargazers_count === 'number') {
const el = document.getElementById('star-count');
el.textContent = data.stargazers_count.toLocaleString();
el.hidden = false;
}
})
.catch(() => {});
</script>
</body>
</html>
4 changes: 4 additions & 0 deletions site/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ a:hover {
border-color: var(--text-dim);
}

.star-count {
font-variant-numeric: tabular-nums;
}

.reqs {
margin-top: 28px;
font-size: 14px;
Expand Down
Loading