{"id":21050631,"url":"https://github.com/blocklune/markdown-posts-utilities","last_synced_at":"2026-02-12T10:31:27.007Z","repository":{"id":236713053,"uuid":"793013231","full_name":"BlockLune/markdown-posts-utilities","owner":"BlockLune","description":"Utilities to batch process your markdown posts","archived":false,"fork":false,"pushed_at":"2024-11-06T15:34:26.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T23:13:50.304Z","etag":null,"topics":["markdown"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockLune.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}},"created_at":"2024-04-28T07:15:54.000Z","updated_at":"2024-11-06T15:37:16.000Z","dependencies_parsed_at":"2024-11-19T15:54:40.707Z","dependency_job_id":null,"html_url":"https://github.com/BlockLune/markdown-posts-utilities","commit_stats":null,"previous_names":["blocklune/mdimgdownloader","blocklune/markdown-posts-utilities"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fmarkdown-posts-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fmarkdown-posts-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fmarkdown-posts-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fmarkdown-posts-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockLune","download_url":"https://codeload.github.com/BlockLune/markdown-posts-utilities/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243495495,"owners_count":20299923,"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":["markdown"],"created_at":"2024-11-19T15:39:05.987Z","updated_at":"2026-02-12T10:31:26.994Z","avatar_url":"https://github.com/BlockLune.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown Posts Utilities\n\nI use markdown to write my blog posts, and here are some of the scripts I've used to migrate my blogs, etc.\n\n## `img-downloader.py`\n\nThis script download images in Markdown files and update the links.\n\n## Reference\n\n- [mufidu/download_imgs.py](https://gist.github.com/mufidu/f7b795f844f1ee4dc78e55123d5a398b)\n\n### Usage\n\n```text\nusage: python img-downloader.py [-h] [--only-basename-link] [-o OUTPUT_DIR] dir [dir ...]\n\nDownload images in Markdown files and update links\n\npositional arguments:\n  dir                   directory of markdown files\n\noptions:\n  -h, --help            show this help message and exit\n  --only-basename-link  by default, link will be updated to `OUTPUT_DIR/IMG_NAME`. If this flag is set, link will be updated to\n                        `IMG_NAME` only\n  -o OUTPUT_DIR, --output-dir OUTPUT_DIR\n                        directory to save images\n```\n\n- If you don't specify the `OUTPUT_DIR`, the script will create a dir based on the name of the markdown file.\n- If you want to use this script to update all the image links in your [Hexo](https://hexo.io) posts, run:\n\n```bash\npython MdImgDownloader /path-to-your-hexo-project/source/_posts --only-basename-link\n```\n\n## `s3-uploader.py`\n\nThis script uploads images to a s3-compatible service, written in the help of `gpt-4o`.\n\n## `tagenerator.py`\n\nThis script uses the power of LLMs to generate tags for blog posts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocklune%2Fmarkdown-posts-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocklune%2Fmarkdown-posts-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocklune%2Fmarkdown-posts-utilities/lists"}