{"id":17323930,"url":"https://github.com/weblancaster/nodejs-jekyll-to-ghost","last_synced_at":"2025-04-14T16:42:04.990Z","repository":{"id":22142946,"uuid":"25474050","full_name":"weblancaster/nodejs-jekyll-to-ghost","owner":"weblancaster","description":"Takes your Markdown posts from Jekyll and packages them up into a JSON file that Ghost (http://ghost.org) can import.","archived":false,"fork":false,"pushed_at":"2020-05-02T02:47:56.000Z","size":227,"stargazers_count":24,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T06:17:07.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/weblancaster.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}},"created_at":"2014-10-20T15:55:51.000Z","updated_at":"2025-03-20T23:58:27.000Z","dependencies_parsed_at":"2022-08-19T18:00:38.391Z","dependency_job_id":null,"html_url":"https://github.com/weblancaster/nodejs-jekyll-to-ghost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblancaster%2Fnodejs-jekyll-to-ghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblancaster%2Fnodejs-jekyll-to-ghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblancaster%2Fnodejs-jekyll-to-ghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblancaster%2Fnodejs-jekyll-to-ghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblancaster","download_url":"https://codeload.github.com/weblancaster/nodejs-jekyll-to-ghost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248918328,"owners_count":21183167,"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":[],"created_at":"2024-10-15T14:09:36.979Z","updated_at":"2025-04-14T16:42:04.961Z","avatar_url":"https://github.com/weblancaster.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Node.js Jekyll to Ghost\n======================\n\n[![Build Status](https://travis-ci.org/weblancaster/nodejs-jekyll-to-ghost.svg?branch=master)](https://travis-ci.org/weblancaster/nodejs-jekyll-to-ghost)\n\nThis NodeJS module will help you to export [Jekyll](http://jekyllrb.com) markdown posts to a format that can be easily imported to [Ghost Blog Platform](http://ghost.org). \u003cbr\u003e\nIt doesn't handle static pages, and it doesn't do anything with images. You'll have to copy those over yourself and manually adjust any URL differences.\n\nThis was built by reverse-engineering the version of [Wordpress plugin](https://wordpress.org/plugins/ghost/) and  [Ghost schema](https://github.com/TryGhost/Ghost/blob/master/core/server/data/schema.js) to match the JSON file it outputs.\n\n\n### Prerequisite\n\n- Node.js v4.0\n\n### How to use\n\nClone/download the repository then place your Jekyll posts into `posts` folder or create a folder in the root level with your Jekyll posts.\nYour post should be on YAML format (which is Jekyll default format).\n\nTo install dependencies\n\n```ruby\nsudo npm install\n```\n\nTo start to export\n\n```ruby\nnode index.js ./path/to/jekyll/posts\n```\n\nType the name of the folder.. wait for the magic happen.\nIf everything went fine you should get this message\n\n`Ghost JSON generated successfully!`\n\nAnd a file called `ghost-generated.json` was created on your folder.\n\nAfter do the steps above boot up your Ghost platform.\n\n```ruby\nnpm start\n```\n\nGo to the url `http://localhost:2368/ghost/debug/` import the file generated nodejs-jekyll-to-ghost called `ghost-generated.json`\nThat's it.. Now you should have migrated your posts to Ghost format and ready to begin blog on your new Ghost blog platform.\n\nps: I removed all test posts on Ghost blog before migrate my Ghost generated format.\n\n### Contributing\n\n1. Fork it!\n2. Create your branch: `git checkout -b my-new-branch`\n3. Commit your changes: `git commit -am 'fix stuff'`\n4. Push to the branch: `git push origin my-new-branch`\n5. Submit a pull request\n\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Michael Lancaster\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblancaster%2Fnodejs-jekyll-to-ghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblancaster%2Fnodejs-jekyll-to-ghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblancaster%2Fnodejs-jekyll-to-ghost/lists"}