{"id":21765175,"url":"https://github.com/gndx/astro-md-generator","last_synced_at":"2025-08-11T18:16:25.620Z","repository":{"id":199932985,"uuid":"704338823","full_name":"gndx/astro-md-generator","owner":"gndx","description":"Command-line interface (CLI) for adding new posts to your Astro project","archived":false,"fork":false,"pushed_at":"2024-05-19T13:06:16.000Z","size":4,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T01:43:58.722Z","etag":null,"topics":["astro","astrojs","cli","markdown","mdx"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/astro-md-generator","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/gndx.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"gndx"}},"created_at":"2023-10-13T03:53:30.000Z","updated_at":"2024-02-23T15:52:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"e042fcd0-0f14-41fd-831b-4eb05d149b34","html_url":"https://github.com/gndx/astro-md-generator","commit_stats":null,"previous_names":["gndx/astro-md-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gndx/astro-md-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gndx%2Fastro-md-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gndx%2Fastro-md-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gndx%2Fastro-md-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gndx%2Fastro-md-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gndx","download_url":"https://codeload.github.com/gndx/astro-md-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gndx%2Fastro-md-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269677801,"owners_count":24457876,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["astro","astrojs","cli","markdown","mdx"],"created_at":"2024-11-26T13:10:56.570Z","updated_at":"2025-08-11T18:16:25.420Z","avatar_url":"https://github.com/gndx.png","language":"JavaScript","funding_links":["https://github.com/sponsors/gndx"],"categories":[],"sub_categories":[],"readme":"# astro-md-generator\n\nThis command-line interface (CLI) is designed for adding new posts to your Astro project. It analyzes the content in your `src/content/` folder to detect the structure of your Markdown/MDX files and enables you to generate new files that match your project's structure.\"\n\n\u003cp align=\"center\"\u003e\n  \u003cimg align=\"center\" alt=\"astro-md-generator\" src=\"https://s3.amazonaws.com/gndx.dev/screenshot.gif\"/\u003e\n\u003c/p\u003e\n\n## Install\n\n```npm\nnpm install -g astro-md-generator\n```\n\n## 📝 Adding New Posts (Usage)\n\nTo add a new post, run the following command in your project folder:\n\n```bash\nastro-md-generator\n```\n\nFollow the instructions and this will generate a new markdown file in the `src/content/\u003cFOLDER\u003e`. Edit the file to add your post content.\n\n## 🛠️ Add a command to your project\n\nIn your project built with Astro, add a new script in `package.json`\n\n```scheme\n\"scripts\": {\n  ...\n    \"newpost\": \"astro-md-generator\",\n  },\n```\n\n## 💻 Contributing\n\nContributions to this project are welcome. If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request.\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n## 📃 License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## ☕ Support\n\nIf this project helped you learn something new, or if you're feeling particularly generous, you can buy me a coffee. It's greatly appreciated! 😊 [GitHub Sponsors](https://github.com/sponsors/gndx)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgndx%2Fastro-md-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgndx%2Fastro-md-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgndx%2Fastro-md-generator/lists"}