Independent technology for modern publishing, memberships, subscriptions and newsletters. https://ghost.org
  • JavaScript 58.9%
  • TypeScript 33%
  • CSS 3.8%
  • Handlebars 3%
  • HTML 1.1%
  • Other 0.2%
Find a file
Murat Çorlu 4ba667038f
Fixed duplicate size segment being added to icon URLs in embed code generator (#27546)
no ref

Ghost site icons are stored with a size segment in their URL (e.g.
`/content/images/size/w256h256/icon.png`). The embed code generator was
blindly prepending `/size/w192h192/` by replacing the first occurrence
of `/content/images/`, which produced a doubly-nested size path:
`/content/images/size/w192h192/size/w256h256/icon.png`.

This generates redundant paths in size folder for the image

Fix: use a regex that matches `/content/images/` followed by zero or
more existing `size/<dim>/` segments, replacing the whole match with the
desired `/content/images/size/w192h192/`. This normalises any pre-sized
icon URL to the single correct size.
2026-06-06 08:43:57 -05:00
.agents/skills 🎨 Migrated package manager from yarn v1 to pnpm (#27017) 2026-04-10 14:33:31 -05:00
.claude/skills Move project skills into shared agent layout (#27204) 2026-04-08 13:09:13 +01:00
.codex/environments Updated pnpm scripts/docs (#27346) 2026-04-11 14:14:15 +00:00
.cursor 🎨 Migrated package manager from yarn v1 to pnpm (#27017) 2026-04-10 14:33:31 -05:00
.devcontainer Added admin-toolbar to CI publish pipeline and release tooling (#28244) 2026-05-29 08:42:26 +01:00
.github Update tinybirdco/tinybird-local:latest Docker digest to 49f65a4 (#28334) 2026-06-06 08:12:47 -05:00
.vscode Moved dev stack auto-start from VS Code tasks to postAttachCommand (#27547) 2026-04-24 20:29:12 +00:00
adr Moved ADR documents to the root, so they are easier to find. (#24775) 2025-08-28 18:10:17 +02:00
apps Fixed duplicate size segment being added to icon URLs in embed code generator (#27546) 2026-06-06 08:43:57 -05:00
docker Added frontend admin toolbar (#28058) 2026-05-28 09:53:52 +01:00
docs Updated pnpm scripts/docs (#27346) 2026-04-11 14:14:15 +00:00
e2e 🎨 Include site title in members export filename (frontend) (#28358) 2026-06-05 01:43:54 +00:00
ghost Convert topological sort utility to TypeScript (#28388) 2026-06-05 18:01:15 +00:00
scripts Added optional dev supervisor (#27950) 2026-05-18 14:17:07 -05:00
.coderabbit.yaml Removed 6.x branch from CodeRabbit auto-review (#27772) 2026-05-13 14:44:25 -05:00
.dockerignore Reorganized docker files (#25363) 2025-11-06 10:01:30 -08:00
.editorconfig Removed Makefile settings from .editorconfig 2019-07-31 17:21:16 +08:00
.env.example Added instructions for bypassing mailpit with local dev (#26657) 2026-03-02 22:56:31 +00:00
.gitattributes Added automated Linear issue triage workflow (#26534) 2026-02-23 10:21:46 +00:00
.gitignore Added optional dev supervisor (#27950) 2026-05-18 14:17:07 -05:00
.gitmodules Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.lintstagedrc.cjs Fixed pre-commit lint hook routing for all workspaces (#27724) 2026-05-06 17:25:29 -05:00
.nxignore Moved dev stack auto-start from VS Code tasks to postAttachCommand (#27547) 2026-04-24 20:29:12 +00:00
.secretlintrc.json Migrated test/unit/server/services bucket to vitest (#28009) 2026-05-21 01:29:32 +00:00
AGENTS.md 🎨 Added unified pnpm test:watch across all Vitest packages (#28038) 2026-05-21 15:38:23 +00:00
CLAUDE.md Added AGENTS.md and CLAUDE.md (#25107) 2025-10-09 10:23:48 -07:00
compose.dev.analytics.yaml Update tinybirdco/tinybird-local:latest Docker digest to 49f65a4 (#28334) 2026-06-06 08:12:47 -05:00
compose.dev.mailgun.yaml Added instructions for bypassing mailpit with local dev (#26657) 2026-03-02 22:56:31 +00:00
compose.dev.sqlite.yaml Added yarn dev:sqlite command for SQLite development (#27088) 2026-04-02 15:56:35 -07:00
compose.dev.storage.yaml Set up local and CI MinIO for the diskless-redirects GCSStore tests (#27858) 2026-05-13 16:16:22 +05:30
compose.dev.yaml Update stripe/stripe-cli:latest Docker digest to 91f8f26 (#28333) 2026-06-06 08:12:58 -05:00
Dockerfile.production Fixed pack.js and Dockerfile references to deleted .npmrc (#28205) 2026-05-27 18:32:24 +00:00
knip.json Cleaned up final phantom-dep findings in knip (#27952) 2026-05-18 16:22:17 +00:00
LICENSE 2026 (#25910) 2026-01-21 12:04:46 +00:00
nx.json Fixed nx bump causing i18n to be a continuous dev task (#28312) 2026-06-02 15:03:42 +00:00
package.json Update secretlint monorepo to v13 (#28305) 2026-06-03 03:33:16 +00:00
pnpm-lock.yaml Fixed admin search index refetching every keystroke (#28370) 2026-06-04 16:47:09 +01:00
pnpm-workspace.yaml Fixed admin search index refetching every keystroke (#28370) 2026-06-04 16:47:09 +01:00
README.md Updated GitHub sponsors 2026-03-16 17:44:24 +04:00
SECURITY.md Updated ghost.org links 2021-01-19 13:28:36 +13:00
skills-lock.json Move project skills into shared agent layout (#27204) 2026-04-08 13:09:13 +01:00
sonar-project.properties Ignored Sonar tag-plus-digest Docker warnings (#27220) 2026-04-08 16:58:18 +01:00
vitest.config.mjs 🎨 Added unified pnpm test:watch across all Vitest packages (#28038) 2026-05-21 15:38:23 +00:00

 

Ghost Ghost

 

Ghost.orgForumDocsContributingTwitter

Downloads Latest release Build status Contributors

 

Note

Love open source? We're hiring! Ghost is looking staff engineers to join the team and work with us full-time

Fiercely independent, professional publishing. Ghost is the most popular open source, headless Node.js CMS which already works with all the tools you know and love.

 

Ghost(Pro) Ghost(Pro)

The easiest way to get a production instance deployed is with our official Ghost(Pro) managed service. It takes about 2 minutes to launch a new site with worldwide CDN, backups, security and maintenance all done for you.

For most people this ends up being the best value option because of how much time it saves — and 100% of revenue goes to the Ghost Foundation; funding the maintenance and further development of the project itself. So youll be supporting open source software and getting a great service!

 

Quickstart install

If you want to run your own instance of Ghost, in most cases the best way is to use our CLI tool

npm install ghost-cli -g

 

Then, if installing locally add the local flag to get up and running in under a minute - Local install docs

ghost install local

 

or on a server run the full install, including automatic SSL setup using LetsEncrypt - Production install docs

ghost install

 

Check out our official documentation for more information about our recommended hosting stack & properly upgrading Ghost, plus everything you need to develop your own Ghost themes or work with our API.

Contributors & advanced developers

For anyone wishing to contribute to Ghost or to hack/customize core files we recommend following our full development setup guides: Contributor guideDeveloper setup

 

Ghost sponsors

A big thanks to our sponsors and partners who make Ghost possible. If you're interested in sponsoring Ghost and supporting the project, please check out our profile on GitHub sponsors ❤️

DigitalOceanFastlyTinybirdBairesDevHostinger

 

Getting help

Everyone can get help and support from a large community of developers over on the Ghost forum. Ghost(Pro) customers have access to 24/7 email support.

To stay up to date with all the latest news and product updates, make sure you subscribe to our changelog newsletter — or follow us on Twitter, if you prefer your updates bite-sized and facetious. 🎷🐢

 

License & trademark

Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.