Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(desktop): simplify the GitHub star invitation

leepokai21bf775294d3
diff --git a/apps/desktop/src/renderer/styles/theme.css b/apps/desktop/src/renderer/styles/theme.css
index 06df4df6..15ddb65d 100644
--- a/apps/desktop/src/renderer/styles/theme.css
+++ b/apps/desktop/src/renderer/styles/theme.css
@@ -20,6 +20,7 @@
--danger-fill: #c23a2b;
--on-danger: #ffffff;
--warning: #f0a030;
+ --star: #b88700;
--on-warning: #000000;
--attention: #936000;
--code-background: #f4f4f4;
@@ -108,6 +109,7 @@
--bubble-user: #3a3a3a;
--border: #262626;
--text: #fafafa;
+ --star: #f5c542;
--text-rgb: 250, 250, 250;
--secondary: #a0a0a0;
--tertiary: #9a9a9a;
diff --git a/apps/desktop/src/renderer/views/StarPrompt.tsx b/apps/desktop/src/renderer/views/StarPrompt.tsx
index 0cd87e95..b30a2040 100644
--- a/apps/desktop/src/renderer/views/StarPrompt.tsx
+++ b/apps/desktop/src/renderer/views/StarPrompt.tsx
@@ -10,11 +10,7 @@ import { prefs, usePref } from '../lib/prefs'
import { dueStarAsk } from '../lib/star-ask'
import { useStarAsk } from '../lib/use-star-ask'
import { useApp } from '../store/context'
-import { useTr } from '../lib/use-language'
-
-
-const [OWNER, NAME] = ['leepokai', 'Codync']
-const REPO = `https://github.com/${OWNER}/${NAME}`
+import './star-prompt.css'
const copy = {
first: {
@@ -33,7 +29,6 @@ const copy = {
* Starring ends it.
*/
export function StarPrompt() {
- const tr = useTr()
const app = useApp()
const local = useModel(app.local)
const [onboarded] = usePref(prefs.onboardingDone)
@@ -50,27 +45,24 @@ export function StarPrompt() {
const text = copy[due ?? 'first']
return (
- <Sheet open={open} onClose={() => finish(false)}>
+ <Sheet open={open} onClose={() => finish(false)} width={400} dismissOnDim>
<VStack className="star-prompt">
- <ModalHeader icon="star" title={text.title} />
+ <ModalHeader
+ icon={<Icon name="star.fill" size={22} className="star-prompt-symbol" />}
+ title={text.title}
+ onClose={null}
+ />
<VStack gap={16} className="star-prompt-body">
<Text as="div" size="body" tone="secondary" className="star-prompt-message">{text.message}</Text>
- <button className="star-prompt-repo" title={REPO} onClick={() => finish(true)}>
- <img src={appIcon} alt="" className="star-prompt-icon" draggable={false} />
- <VStack gap={2} grow>
- <Text size="body" weight="semibold" tone="text" truncate>
- <Text weight="regular" tone="secondary">{OWNER} /</Text> {NAME}
- </Text>
- <Text size="callout" tone="secondary" truncate>{REPO.replace(tr(`https://`), '')}</Text>
- </VStack>
- <Icon name="arrow.up.right.square" size={13} color="var(--secondary)" />
- </button>
- <HStack gap={8} justify="flex-end">
+ <HStack gap={10}>
+ <img src={appIcon} alt="" className="star-prompt-app-icon" draggable={false} />
+ <Text size="callout" tone="secondary">github.com/leepokai/Codync</Text>
+ </HStack>
+ <HStack gap={8} justify="flex-end" wrap>
<Button kind="secondary" onClick={() => finish(false)}>
Not now
</Button>
- <Button className="star-prompt-star" onClick={() => finish(true)}>
- <Icon name="star" size={12} weight="semibold" />
+ <Button onClick={() => finish(true)}>
Star on GitHub
</Button>
</HStack>
diff --git a/apps/desktop/src/renderer/views/chat-window.css b/apps/desktop/src/renderer/views/chat-window.css
index 2296b129..6550fdd0 100644
--- a/apps/desktop/src/renderer/views/chat-window.css
+++ b/apps/desktop/src/renderer/views/chat-window.css
@@ -73,44 +73,6 @@
align-self: flex-start;
}
-/* The GitHub star ask (StarPrompt): the ask, where it goes, the answers. */
-.star-prompt {
- width: 420px;
-}
-.star-prompt-body {
- padding: 4px 20px 20px;
-}
-.star-prompt-message {
- line-height: 1.5;
-}
-.star-prompt-repo {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 10px 14px 10px 10px;
- border-radius: var(--radius-l);
- background: var(--surface);
- text-align: left;
- transition: background-color var(--hover), transform var(--press);
-}
-.star-prompt-repo:hover {
- background: var(--field);
-}
-.star-prompt-repo:active {
- transform: scale(0.99);
-}
-.star-prompt-icon {
- width: 44px;
- height: 44px;
- flex: none;
-}
-/* The star turns as the pointer reaches the button. */
-.star-prompt-star > :first-child {
- transition: transform var(--layout);
-}
-.star-prompt-star:hover > :first-child {
- transform: rotate(-12deg) scale(1.15);
-}
.split {
display: flex;
diff --git a/apps/desktop/src/renderer/views/star-prompt.css b/apps/desktop/src/renderer/views/star-prompt.css
new file mode 100644
index 00000000..68380b44
--- /dev/null
+++ b/apps/desktop/src/renderer/views/star-prompt.css
@@ -0,0 +1,16 @@
+.star-prompt-symbol {
+ color: var(--star);
+ fill: currentColor;
+ flex: none;
+}
+.star-prompt-body {
+ padding: 0 20px 20px;
+}
+.star-prompt-message {
+ line-height: 1.5;
+}
+.star-prompt-app-icon {
+ width: 32px;
+ height: 32px;
+ flex: none;
+}
diff --git a/web/content/docs/getting-started.mdx b/web/content/docs/getting-started.mdx
index 51bcd20e..7587e6e2 100644
--- a/web/content/docs/getting-started.mdx
+++ b/web/content/docs/getting-started.mdx
@@ -43,6 +43,8 @@ You can also install the host with Homebrew (`brew install leepokai/codync/codyn
The app first asks about an account. Signing in with Apple or Google is optional. Choose **Continue on this Mac** (or **Continue on this computer**) to go on without one. It then offers **Computer access**, which bots need only to use the screen; choose **Set up later** to skip it. See [Computer use](/docs/computer-use).
+Setup also offers an optional GitHub star. If you skip it, the desktop app can remind you once after seven days. That reminder has two actions: **Star on GitHub** opens the repository, and **Not now** dismisses it. You can also dismiss it by clicking outside the card or pressing Escape. Opening the repository or dismissing this reminder ends further reminders on that computer.
+
Press **⌘R** on macOS or **Ctrl+R** on Windows and Linux to refresh your computers. A small spinning “Loading…” indicator appears while Codync reconnects and updates the computer list. Repeated presses wait for the current refresh to finish.
## Running only the host