Skip to content

Commit 09d90d9

Browse files
hallelx2claude
andcommitted
fix: update all URLs to deployed Cloudflare endpoints
Replace placeholder bridgehook.dev URLs with actual deployed URLs: - Web: bridgehook-web.pages.dev - Docs: bridgehook-docs.pages.dev - Relay: bridgehook-relay.halleluyaholudele.workers.dev - GitHub: github.com/hallelx2/bridgehook Updated across README, CONTRIBUTING, docs pages, and dashboard preview. Also adds test-server.js for local testing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 52b4cc6 commit 09d90d9

10 files changed

Lines changed: 62 additions & 19 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Thanks for your interest in contributing!
55
## Setup
66

77
```bash
8-
git clone https://github.com/halleluyahadeaga/bridgehook
8+
git clone https://github.com/hallelx2/bridgehook
99
cd bridgehook
1010
pnpm install
1111
```

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Open a URL. Enter your port. Get a webhook endpoint. Done.
5353

5454
**1. Open the web app**
5555
```
56-
https://app.bridgehook.dev
56+
https://bridgehook-web.pages.dev
5757
```
5858

5959
**2. Enter your port and click Start Bridge**
@@ -64,7 +64,7 @@ Paths: /webhook/stripe, /webhook/github
6464

6565
**3. Copy your webhook URL**
6666
```
67-
https://relay.bridgehook.dev/hook/ch_9x4kf2m
67+
https://bridgehook-relay.halleluyaholudele.workers.dev/hook/ch_9x4kf2m
6868
```
6969

7070
**4. Paste into Stripe/GitHub/Twilio — webhooks flow to localhost**
@@ -120,8 +120,8 @@ bridgehook/
120120

121121
### Web App (no download needed)
122122
Just open your browser:
123-
- **App:** [app.bridgehook.dev](https://app.bridgehook.dev)
124-
- **Docs:** [docs.bridgehook.dev](https://docs.bridgehook.dev)
123+
- **App:** [app.bridgehook.dev](https://bridgehook-web.pages.dev)
124+
- **Docs:** [docs.bridgehook.dev](https://bridgehook-docs.pages.dev)
125125

126126
### Desktop App (Phase 2)
127127

@@ -140,7 +140,7 @@ Background operation without a browser tab. Runs in system tray.
140140
brew install bridgehook/tap/bridgehook
141141

142142
# Scoop (Windows)
143-
scoop bucket add bridgehook https://github.com/halleluyahadeaga/scoop-bridgehook
143+
scoop bucket add bridgehook https://github.com/hallelx2/scoop-bridgehook
144144
scoop install bridgehook
145145

146146
# npm (thin wrapper)
@@ -176,7 +176,7 @@ Total cost: **$0/month** on free tiers.
176176

177177
## Documentation
178178

179-
Full docs at [docs.bridgehook.dev](https://docs.bridgehook.dev):
179+
Full docs at [docs.bridgehook.dev](https://bridgehook-docs.pages.dev):
180180

181181
- **Getting Started** — Introduction, Quickstart
182182
- **Core Concepts** — How It Works, SSE Technology, The Browser Bridge

apps/web/src/components/DashboardPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export function DashboardPreview() {
183183
/>
184184
</svg>
185185
<span className="font-mono text-[11px] text-zinc-500">
186-
app.bridgehook.dev/dashboard
186+
bridgehook-web.pages.dev/dashboard
187187
</span>
188188
</div>
189189

docs/src/components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export function Layout({
258258
{/* Top bar */}
259259
<div className="sticky top-0 z-10 bg-background/80 backdrop-blur-xl border-b border-white/[0.04] px-12 py-3 flex items-center justify-between">
260260
<div className="text-[11px] font-bold text-zinc-500 font-body">{currentLabel}</div>
261-
<div className="text-[10px] text-zinc-600 font-mono">docs.bridgehook.dev</div>
261+
<div className="text-[10px] text-zinc-600 font-mono">bridgehook-docs.pages.dev</div>
262262
</div>
263263

264264
<div className="max-w-3xl mx-auto px-12 py-12 prose" data-docs-content>

docs/src/pages/BrowserBridge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function BrowserBridge() {
1515
</p>
1616
<pre>
1717
<code>{`// Same browser tab, same JavaScript:
18-
fetch("https://relay.bridgehook.dev/...") // ✓ reaches the internet
18+
fetch("https://bridgehook-relay.halleluyaholudele.workers.dev/...") // ✓ reaches the internet
1919
fetch("http://localhost:3000/...") // ✓ reaches your machine`}</code>
2020
</pre>
2121

@@ -73,7 +73,7 @@ source.onmessage = async (event) => {
7373
BridgeHook origin:
7474
</p>
7575
<pre>
76-
<code>Access-Control-Allow-Origin: https://app.bridgehook.dev</code>
76+
<code>Access-Control-Allow-Origin: https://bridgehook-web.pages.dev</code>
7777
</pre>
7878
<p>
7979
Most frameworks (Express, Next.js, FastAPI, Rails) have CORS middleware that handles this

docs/src/pages/Introduction.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function Introduction() {
6161
{
6262
title: "Open BridgeHook",
6363
desc: "Visit the web app. No account, no download.",
64-
code: "app.bridgehook.dev",
64+
code: "bridgehook-web.pages.dev",
6565
color: "#9093ff",
6666
},
6767
{
@@ -73,7 +73,7 @@ export function Introduction() {
7373
{
7474
title: "Copy your webhook URL",
7575
desc: "Get a unique URL. Paste it into Stripe, GitHub, or any webhook provider.",
76-
code: "relay.bridgehook.dev/hook/ch_9x4kf2m",
76+
code: "bridgehook-relay.halleluyaholudele.workers.dev/hook/ch_9x4kf2m",
7777
color: "#ffb0cd",
7878
},
7979
{

docs/src/pages/Quickstart.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function Quickstart() {
1111
{
1212
title: "Open BridgeHook",
1313
desc: "Visit the web app. No account, no download, no install needed.",
14-
code: "app.bridgehook.dev",
14+
code: "bridgehook-web.pages.dev",
1515
color: "#9093ff",
1616
},
1717
{
@@ -28,7 +28,7 @@ export function Quickstart() {
2828
{
2929
title: "Copy Your Webhook URL",
3030
desc: "Paste this URL into your webhook provider's dashboard (Stripe, GitHub, Twilio, etc.).",
31-
code: "relay.bridgehook.dev/hook/ch_9x4kf2m",
31+
code: "bridgehook-relay.halleluyaholudele.workers.dev/hook/ch_9x4kf2m",
3232
color: "#fcd34d",
3333
},
3434
{
@@ -49,7 +49,7 @@ export function Quickstart() {
4949
<h2>Testing Manually</h2>
5050
<p>You can test your setup without a webhook provider using cURL:</p>
5151
<pre>
52-
<code>{`curl -X POST https://relay.bridgehook.dev/hook/ch_9x4kf2m \\
52+
<code>{`curl -X POST https://bridgehook-relay.halleluyaholudele.workers.dev/hook/ch_9x4kf2m \\
5353
-H "Content-Type: application/json" \\
5454
-d '{"test": true, "event": "checkout.session.completed"}'`}</code>
5555
</pre>

docs/src/pages/RelayAPI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Content-Type: application/json
2525
"channelId": "ch_9x4kf2m",
2626
"port": 3000,
2727
"expiresAt": "2026-04-10T22:30:34Z",
28-
"webhookUrl": "https://relay.bridgehook.dev/hook/ch_9x4kf2m"
28+
"webhookUrl": "https://bridgehook-relay.halleluyaholudele.workers.dev/hook/ch_9x4kf2m"
2929
}`}</code>
3030
</pre>
3131

@@ -40,7 +40,7 @@ Content-Type: application/json
4040
"allowedPaths": ["/webhook/stripe"],
4141
"createdAt": "2026-04-09T22:30:34Z",
4242
"expiresAt": "2026-04-10T22:30:34Z",
43-
"webhookUrl": "https://relay.bridgehook.dev/hook/ch_9x4kf2m"
43+
"webhookUrl": "https://bridgehook-relay.halleluyaholudele.workers.dev/hook/ch_9x4kf2m"
4444
}`}</code>
4545
</pre>
4646

docs/src/pages/SelfHosting.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function SelfHosting() {
4141

4242
<h3>1. Clone the repo</h3>
4343
<pre>
44-
<code>{`git clone https://github.com/yourname/bridgehook
44+
<code>{`git clone https://github.com/hallelx2/bridgehook
4545
cd bridgehook
4646
pnpm install`}</code>
4747
</pre>

test-server.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
const http = require("http");
2+
3+
const server = http.createServer((req, res) => {
4+
// CORS headers — required for BridgeHook to forward requests
5+
res.setHeader("Access-Control-Allow-Origin", "*");
6+
res.setHeader("Access-Control-Allow-Methods", "GET, POST, PUT, PATCH, DELETE, OPTIONS");
7+
res.setHeader("Access-Control-Allow-Headers", "*");
8+
9+
// Handle CORS preflight
10+
if (req.method === "OPTIONS") {
11+
res.writeHead(204);
12+
res.end();
13+
return;
14+
}
15+
16+
// Collect request body
17+
let body = "";
18+
req.on("data", (chunk) => { body += chunk; });
19+
req.on("end", () => {
20+
console.log(`\n📨 ${req.method} ${req.url}`);
21+
console.log(` Headers: ${JSON.stringify(req.headers, null, 2).split("\n").join("\n ")}`);
22+
if (body) console.log(` Body: ${body}`);
23+
24+
// Respond
25+
const response = {
26+
received: true,
27+
method: req.method,
28+
path: req.url,
29+
timestamp: new Date().toISOString(),
30+
echo: body ? JSON.parse(body) : null,
31+
};
32+
33+
console.log(` ✅ Responding 200 OK`);
34+
35+
res.writeHead(200, { "Content-Type": "application/json" });
36+
res.end(JSON.stringify(response, null, 2));
37+
});
38+
});
39+
40+
server.listen(5000, () => {
41+
console.log("🚀 Test server running on http://localhost:5000");
42+
console.log(" Waiting for webhooks from BridgeHook...\n");
43+
});

0 commit comments

Comments
 (0)