Ghost post published notifications on your phone.

Get a low-priority push notification when a post goes live on your Ghost site, including scheduled posts, with a button to read it.

How it works

Three steps to your first push

STEP 01

Install the recipe

One click in Studio gives you a personal webhook URL.

STEP 02

Paste your URL into Ghost

Add it as a webhook for Post published.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the Ghost post published webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. In Ghost Admin, go to Settings > Advanced > Integrations and click Add custom integration (name it JustPush).
  3. Click Add webhook, pick Post published as the event and paste your webhook URL as the target URL.https://••••••••/•••••••• your personal URL, shown after install
  4. Leave the secret empty (JustPush doesn't check it yet) and save.
  5. Pick **Post published** as the webhook event. Scheduled posts trigger it when they go live, not when you schedule them.
  6. Want pages too? Add a second webhook for **Page published** with the same URL.
  7. Ghost can sign webhooks with a secret (`X-Ghost-Signature`), but JustPush doesn't check that signature yet, so leave the secret empty and keep your endpoint URL private.
The code

What runs when the webhook arrives

Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.

transform.js
1// Ghost → post.published
2// Fires when a post is published on your Ghost site, including scheduled posts going live.
3// Also accepts page.published if you add that webhook too.
4// Docs: https://docs.ghost.org/webhooks
5
6// Who can read it, for anything other than a public post.
7const VISIBILITY = {
8 members: "members only",
9 paid: "paid members only",
10 tiers: "selected tiers only",
11}
12
13// Ghost sends plain strings; treat blanks as missing.
14function text(value) {
15 return typeof value === "string" && value.trim() ? value.trim() : null
16}
17
18function pick(table, key, fallback) {
19 return Object.prototype.hasOwnProperty.call(table, key) ? table[key] : fallback
20}
21
22// Only link to real http(s) URLs.
23function link(url, cta) {
24 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
25}
26
27function handleRequest(request) {
28 const body = request.body && typeof request.body === "object" ? request.body : {}
29 const kind = body.post ? "post" : body.page ? "page" : null
30 const current = kind ? body[kind].current : null
31 const previous = kind && body[kind].previous && typeof body[kind].previous === "object" ? body[kind].previous : {}
32
33 // Guard: only a post or page going live. Newer Ghost versions name the event in the body;
34 // otherwise it has to be published now and either new or not published before
35 // (an edit to a live post has a "previous" without a status change).
36 const published = body.event
37 ? body.event === `${kind}.published`
38 : current?.status === "published" &&
39 (Object.keys(previous).length === 0 || (typeof previous.status === "string" && previous.status !== "published"))
40 if (!kind || !current || typeof current !== "object" || !published) {
41 console.log(`Ignoring Ghost "${body.event ?? "unknown"}" event`)
42 return null
43 }
44
45 const title = text(current.title) ?? `Untitled ${kind}`
46 const author = text(current.primary_author?.name) ??
47 (Array.isArray(current.authors) ? text(current.authors[0]?.name) : null)
48 const who = pick(VISIBILITY, current.visibility, null)
49
50 return {
51 title: kind === "page" ? "📄 Page published" : "📰 Post published",
52 message: `"${title}"` + (author ? ` by ${author}` : "") + (who ? ` · ${who}` : ""),
53 topic: "Ghost",
54 priority: -1, // Low — good to know, nothing to do
55 buttons: link(current.url, kind === "page" ? "View page" : "Read post"),
56 }
57}
Payload

The Ghost post.published webhook

This is what Ghost sends to your URL for post published. It is a sample, trimmed to the fields recipes use.

post.published · sample.json
1{
2 "post": {
3 "current": {
4 "id": "6512c0ffee0000000000abcd",
5 "url": "https://example.com/ten-tips-for-a-calmer-inbox/",
6 "slug": "ten-tips-for-a-calmer-inbox",
7 "tags": [
8 {
9 "id": "6512c0ffee0000000000aaaa",
10 "name": "Productivity",
11 "slug": "productivity"
12 }
13 ],
14 "uuid": "0b6c2d3e-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
15 "title": "Ten tips for a calmer inbox",
16 "status": "published",
17 "authors": [
18 {
19 "id": "1",
20 "name": "Jamie",
21 "slug": "jamie"
22 }
23 ],
24 "excerpt": "Small habits that add up.",
25 "featured": false,
26 "created_at": "2026-09-28T15:12:00.000Z",
27 "updated_at": "2026-09-29T08:00:00.000Z",
28 "visibility": "public",
29 "published_at": "2026-09-29T08:00:00.000Z",
30 "custom_excerpt": "Small habits that add up.",
31 "primary_author": {
32 "id": "1",
33 "name": "Jamie",
34 "slug": "jamie"
35 }
36 },
37 "previous": {
38 "status": "draft",
39 "updated_at": "2026-09-28T15:30:00.000Z",
40 "published_at": null
41 }
42 },
43 "event": "post.published"
44}
FAQ

Ghost post published notifications: questions

Does this work on iPhone and Android?

Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.

Do I need to write code?

No. Install the recipe in Studio, paste your webhook URL into Ghost and you are done. The code is there if you want to change the text, the sound or the buttons.

Can I change what the notification says?

Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.

What does it cost?

JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.

Ready when you are

Ghost on your phone in two minutes.

Install the recipe, paste one URL, done. Free for 30 days, no credit card required.