{"id":28700740,"url":"https://github.com/tryghost/koenig","last_synced_at":"2025-06-14T11:32:47.344Z","repository":{"id":34865739,"uuid":"175220144","full_name":"TryGhost/Koenig","owner":"TryGhost","description":"Components of Ghost's Editor","archived":false,"fork":false,"pushed_at":"2025-06-11T00:12:09.000Z","size":592377,"stargazers_count":235,"open_issues_count":37,"forks_count":74,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-06-11T01:25:21.301Z","etag":null,"topics":["editor","ghost","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://koenig.ghost.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TryGhost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"tryghost","open_collective":"ghost"}},"created_at":"2019-03-12T13:45:13.000Z","updated_at":"2025-06-09T12:04:21.000Z","dependencies_parsed_at":"2023-09-22T22:06:27.531Z","dependency_job_id":"9f89549f-f159-4c2c-8918-fa504795abe2","html_url":"https://github.com/TryGhost/Koenig","commit_stats":{"total_commits":4654,"total_committers":72,"mean_commits":64.63888888888889,"dds":0.8085517834121186,"last_synced_commit":"47cb98ca6f0eba1dea73e7eb87a6363761160635"},"previous_names":[],"tags_count":1803,"template":false,"template_full_name":null,"purl":"pkg:github/TryGhost/Koenig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2FKoenig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2FKoenig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2FKoenig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2FKoenig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TryGhost","download_url":"https://codeload.github.com/TryGhost/Koenig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2FKoenig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259808828,"owners_count":22914715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","ghost","javascript","nodejs"],"created_at":"2025-06-14T11:30:46.101Z","updated_at":"2025-06-14T11:32:47.336Z","avatar_url":"https://github.com/TryGhost.png","language":"JavaScript","readme":"# Koenig\n\nGhost editor, based on the Lexical framework.\n\n## Get started\n\nThis is a mono repository, managed with [lerna](https://lerna.js.org/).\n\nTo get started in this repo:\n\n1. `git clone` this repo \u0026 `cd` into it as usual\n2. run `yarn setup` from the top-level:\n   - installs all external dependencies\n   - links all internal dependencies\n   - runs an initial build of all projects\n\nTo add a new package to the repo:\n   - install [Slimer](https://github.com/TryGhost/slimer)\n   - run `slimer new \u003cpackage name\u003e`\n\n\n## Development\n\n`yarn dev` runs the `koenig-lexical` package in development mode. Please refer to its [README](packages/koenig-lexical/README.md) for more information.\n\n## Test\n\n- `yarn lint` run just eslint\n- `yarn test` run lint and tests\n\n## Deployment\n\nGhost core team only.\n\n### Prerequisites\n\nCreate an `.env` file in `packages/koenig-lexical`, with environment variables for Sentry, so that we can track errors in the editor. There is a copy of this file in [1password](https://start.1password.com/open/i?a=FTXJSFO4TFAIVNFNGLK6UWNFTQ\u0026v=2zqurhc5fmj5thjoob4oxwfllq\u0026i=gcx3n7g2y5dibdn6n4zsgtm64y\u0026h=ghost.1password.com).\n\n```\nVITE_SENTRY_ORG=\"\"\nVITE_SENTRY_PROJECT=\"\"\nVITE_SENTRY_AUTH_TOKEN=\"\"\n```\n\n### Deploy a new version\n\n1. run `yarn ship` in the top-level Koenig directory to publish to npm\n2. bump the Koenig dependencies in Ghost. Either:\n   - wait for Renovate to create a bump PR ([example](https://github.com/TryGhost/Ghost/pull/21606)) and merge it (recommended option)\n   - or, do it manually, by adding the new Koenig package versions to the `package.json` files in `Ghost/core` and `Ghost/admin`\n\n# Copyright \u0026 License\n\nCopyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).\n","funding_links":["https://github.com/sponsors/tryghost","https://opencollective.com/ghost"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryghost%2Fkoenig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftryghost%2Fkoenig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryghost%2Fkoenig/lists"}