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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ If the port is already in use, GitDock will automatically try the next ports.

The Hub code is in the `hub/` folder. You can [self-host it](hub/README.md) at no cost.

We also run a hosted Hub at [hub.gitdock.dev](https://hub.gitdock.dev): one machine is free; unlimited machines are $5/month. Sign up there, create an API key in Settings, then in each machine set **Hub URL** to `https://hub.gitdock.dev` and paste the key.
We also run a hosted Hub at [hub.gitdock.dev](https://hub.gitdock.dev): one machine is free; unlimited machines are $7/month. Sign up there, create an API key in Settings, then in each machine set **Hub URL** to `https://hub.gitdock.dev` and paste the key.
In the local GitDock dashboard use the dashboard’s **Configure Hub** to set the URL and key so this machine sends snapshots.

**Terminology:** The main dashboard uses **dormant** for repos with no recent activity (commits or GitHub updates). The optional Hub uses **stale** only for machines that have not reported in over an hour (offline / last seen), not for repository age.
Expand Down
6 changes: 3 additions & 3 deletions hub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Central server for the GitDock multi-machine dashboard. Agents on each of your m
| | Hosted (hub.gitdock.dev) | Self-host (this repo) |
|---|--------------------------|------------------------|
| **Infrastructure** | We manage hosting, SSL, backups, uptime | You deploy and maintain your own server |
| **Pricing** | One machine free; unlimited machines for $5/month | No cost to us; you pay only for your server |
| **Pricing** | One machine free; unlimited machines for $7/month | No cost to us; you pay only for your server |
| **Limits** | Free: 1 machine. Pro: unlimited | No limits; full control |
| **Support** | Billing and hosted service support | Community support; see main [README](../README.md) |

Expand Down Expand Up @@ -101,10 +101,10 @@ You can configure the Hub in `config.json` instead of the dashboard:

## Lemon Squeezy (hosted Hub only)

If you run the **hosted** Hub (e.g. hub.gitdock.dev) and want to offer Pro ($5/month, unlimited machines) via Lemon Squeezy:
If you run the **hosted** Hub (e.g. hub.gitdock.dev) and want to offer Pro ($7/month, unlimited machines) via Lemon Squeezy:

1. **Lemon Squeezy**
- Create a subscription product (e.g. "GitDock Hub Pro") at $5/month.
- Create a subscription product (e.g. "GitDock Hub Pro") at $7/month.
- In **Webhooks**, add a webhook URL: `https://hub.gitdock.dev/api/webhooks/lemonsqueezy` (or your Hub URL).
- Choose events: `subscription_created`, `subscription_updated`, `subscription_expired`, `subscription_cancelled`, `subscription_resumed`, `subscription_paused`.
- Copy the **Signing secret** (used to verify webhook requests).
Expand Down
4 changes: 2 additions & 2 deletions hub/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ <h2><span class="grad">GitDock Hub</span></h2>
<div class="login-panel-inner">
<span class="login-logo"><img src="/gitdock-logo-removebg.png" alt="GitDock"></span>
<h2><span class="grad">Create account</span></h2>
<p class="login-sub">Create an account to sync machine metadata across devices.</p>
<p class="login-sub">Create an account to sync machine metadata across devices. Free for 1 machine; self-host for unlimited.</p>
<form id="registerForm">
<input type="email" id="registerEmail" placeholder="Email" autocomplete="email" required>
<div class="pw-wrap">
Expand Down Expand Up @@ -864,7 +864,7 @@ <h2 id="machineDetailName">—</h2>
<div id="planCard" class="plan-card" style="margin-bottom: 24px; padding: 16px; background: var(--bg2); border-radius: 10px; border: 1px solid var(--border);">
<div class="section-title" style="margin-bottom: 8px;">Plan</div>
<p id="planStatus" style="color: var(--t2); font-size: 13px; margin-bottom: 12px;">Loading…</p>
<a id="upgradeToProBtn" href="#" target="_blank" rel="noopener" class="btn btn-primary" style="display: none;">Upgrade to Pro ($5/month)</a>
<a id="upgradeToProBtn" href="#" target="_blank" rel="noopener" class="btn btn-primary" style="display: none;">Upgrade to Pro ($7/month)</a>
</div>
<div class="page-title">API keys</div>
<p style="color: var(--t2); font-size: 13px; margin-bottom: 16px;">Use these keys in your local GitDock <code>config.json</code> under <code>hub.apiKey</code>. Each machine can use the same key.</p>
Expand Down
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ <h3>Multi-machine Hub</h3>
<div class="section-header fade-in">
<p class="section-label">Multi-machine</p>
<h2 class="section-title" id="hub-title">One dashboard per machine. One Hub for all.</h2>
<p class="section-desc">Multiple machines, no single overview. The Hub fixes that: a small server that collects status snapshots from each machine. Self-host for free or use <a href="https://hub.gitdock.dev" target="_blank" rel="noopener">hub.gitdock.dev</a>.</p>
<p class="section-desc">Multiple machines, no single overview. The Hub fixes that: a small server that collects status snapshots from each machine. Self-host free (no limits). Or use <a href="https://hub.gitdock.dev" target="_blank" rel="noopener">hub.gitdock.dev</a>: free for 1 machine; Pro ($7/mo) if you want more. Optional.</p>
</div>
<div class="pain-grid hub-grid">
<div class="pain-card fade-in">
Expand Down
Loading