{"id":23714942,"url":"https://github.com/dnutiu/jekyll-to-hugo","last_synced_at":"2026-02-14T02:04:07.337Z","repository":{"id":170739890,"uuid":"646946508","full_name":"dnutiu/jekyll-to-hugo","owner":"dnutiu","description":"Convert jekyll markdown files to Hugo markdown files with this easy and simple to use Python script","archived":false,"fork":false,"pushed_at":"2025-07-12T21:38:38.000Z","size":205,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-25T15:15:23.526Z","etag":null,"topics":["converter","hugo","jekyll","static-site","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnutiu.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}},"created_at":"2023-05-29T17:54:19.000Z","updated_at":"2025-07-12T21:38:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2405186-d94a-407f-96c9-6209ffdf615a","html_url":"https://github.com/dnutiu/jekyll-to-hugo","commit_stats":null,"previous_names":["dnutiu/jekyll-to-hugo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnutiu/jekyll-to-hugo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnutiu%2Fjekyll-to-hugo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnutiu%2Fjekyll-to-hugo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnutiu%2Fjekyll-to-hugo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnutiu%2Fjekyll-to-hugo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnutiu","download_url":"https://codeload.github.com/dnutiu/jekyll-to-hugo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnutiu%2Fjekyll-to-hugo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29431593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"online","status_checked_at":"2026-02-14T02:00:07.626Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["converter","hugo","jekyll","static-site","wordpress"],"created_at":"2024-12-30T20:51:41.241Z","updated_at":"2026-02-14T02:04:07.332Z","avatar_url":"https://github.com/dnutiu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll to Hugo Converter\n\nJekyll to Hugo Converter is a simple tool to convert Jekyll posts to Hugo posts.\n\nI've used this tool to convert [my blog](https://blog.nuculabs.dev) from WordPress to Jekyll and finally to Hugo.\n\nThe tool has the following features:\n- Batch conversion.\n- Post header fields drop/ignore.\n- Links rewrite. (Search and Replace)\n- Author name rewrite.\n\nIt was written in a way that is easy to extend, while I wrote it for my own personal use, I hope you'll find some use for it as well.\n\nNote: This tool is not perfect, it will not convert everything. If you find a bug, please open a PR.\n\n## Table of Contents\n\n* [Usage](#usage)\n  * [PiPy](#pipy)\n  * [Python From Source](#python-from-source)\n  * [Docker](#docker)\n* [Configuration](#configuration)\n  * [Example Configuration](#example-configuration)\n* [License](#license)\n\n## Usage\n\n### PiPy or Pipx\n\nIf you have Python installed, you can use the following commands:\n\n```bash\npip install jekyll-to-hugo\njekyll-to-hugo\n```\n\nYou will need to create a `config.yaml` file in the current directory. See example [here](./config.yaml).\n\n_`pipx` is a tool to install Python CLI tools in isolated environments_\n\n### Python From Source\n\nIf you have Python installed, you can use the following commands:\n\n```bash\npip install -r requirements.txt\npython3 jekyll-to-hugo.py \u003cjekyll_post_path\u003e \u003chugo_post_path\u003e\n```\n\nTo change the config, edit `config.yaml`.\n\nThe configuration file path can be configured with the `CONFIG_PATH` environment variable.\n\n### Docker\n\nIf you don't have Python installed, you can use Docker:\n\n1. Build the image.\n\n```bash\ndocker build -t jekyll-to-hugo -f ./docker/Dockerfile .\n```\n\n2. Run the image. You will need to mount the following directories: config file, Jekyll posts directory, Hugo posts directory.\n\n```bash\ndocker run -it --rm -v $(pwd):/app jekyll-to-hugo\n```\n\n## Configuration\n\nThe configuration file is a YAML file. See example [here](./config.yaml).\nThe configuration file path can be configured with the `CONFIG_PATH` environment variable.\n\n### Example Configuration\n\n```yaml\nlogging_level: \"INFO\"\nsource_path: \"/Users/dnutiu/PycharmProjects/jekyll-to-hugo/my_test_data/_posts\"\noutput_path: \"/Users/dnutiu/NucuLabsProjects/NucuLabsDevBlog/content/posts\"\nconverter: \"wordpress_markdown_converter\"\nconverter_options:\n  enable_regex_heuristics: true\n  author_rewrite: \"Denis Nuțiu\"\n  links_rewrite:\n    - source: \"http://localhost/\"\n      target: \"/\"\n    - source: \"https://nuculabs.wordpress.com/\"\n      target: \"https://nuculabs.dev/posts/\"\n    - source: \"https://twitter.com/metonymyqt\"\n      target: \"https://twitter.com/nuculabs\"\n  header_fields_drop:\n    - restapi_import_id\n    - original_post_id\n    - timeline_notification\n    - wordads_ufa\n    - spay_email\n    - amp_status\n    - advanced_seo_description\n    - publicize_twitter_user\n```\n\n## License\n\nThis project is licensed under the GPL-3.0 license - see the [LICENSE](LICENSE) file for details.\n\n---\nMade with ❤️ by [NucuLabs](https://blog.nuculabs.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnutiu%2Fjekyll-to-hugo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnutiu%2Fjekyll-to-hugo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnutiu%2Fjekyll-to-hugo/lists"}