{"id":13492466,"url":"https://github.com/bonaysoft/notion-md-gen","last_synced_at":"2025-04-15T02:45:32.272Z","repository":{"id":37887980,"uuid":"456039057","full_name":"bonaysoft/notion-md-gen","owner":"bonaysoft","description":"Generate the Markdown document for any static site generators from notion","archived":false,"fork":false,"pushed_at":"2023-07-02T09:24:55.000Z","size":396,"stargazers_count":86,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T02:45:27.432Z","etag":null,"topics":["cms","hexo","hugo","markdown","notion","static-site","vuepress"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bonaysoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-02-06T02:39:59.000Z","updated_at":"2025-03-15T03:15:57.000Z","dependencies_parsed_at":"2024-01-16T09:01:27.144Z","dependency_job_id":"3a229588-490f-4176-b32c-f84753400ba9","html_url":"https://github.com/bonaysoft/notion-md-gen","commit_stats":{"total_commits":84,"total_committers":4,"mean_commits":21.0,"dds":"0.44047619047619047","last_synced_commit":"dc328bf00ff01b8b1229c2505a496f7a96329d66"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fnotion-md-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fnotion-md-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fnotion-md-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fnotion-md-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bonaysoft","download_url":"https://codeload.github.com/bonaysoft/notion-md-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997087,"owners_count":21195797,"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":["cms","hexo","hugo","markdown","notion","static-site","vuepress"],"created_at":"2024-07-31T19:01:06.319Z","updated_at":"2025-04-15T02:45:32.256Z","avatar_url":"https://github.com/bonaysoft.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# notion-md-gen\n\n[![](https://github.com/bonaysoft/notion-md-gen/workflows/build/badge.svg)](https://github.com/bonaysoft/notion-md-gen/actions?query=workflow%3Abuild)\n[![codecov](https://codecov.io/gh/bonaysoft/notion-md-gen/branch/master/graph/badge.svg?token=XHG00YHOJF)](https://codecov.io/gh/bonaysoft/notion-md-gen)\n[![](https://img.shields.io/github/v/release/bonaysoft/notion-md-gen.svg)](https://github.com/bonaysoft/notion-md-gen/releases)\n[![](https://img.shields.io/github/license/bonaysoft/notion-md-gen.svg)](https://github.com/bonaysoft/notion-md-gen/blob/master/LICENSE)\n\n`notion-md-gen` allows you to use Notion as a CMS for pages built with any static site generators. You can use it as a\ncli or even automate your blog repo to update itself with the Github Action.\n\n## Requisites\n\n- Notion database for your articles.\n- Notion API secret token.\n- A blog by any static site generators.\n\n## Setup\n\n### install.sh\n\n```bash\ncurl -sSf https://raw.githubusercontent.com/bonaysoft/notion-md-gen/master/install.sh | sh\n```\n\n### webi (not ready)\n\n```bash\ncurl https://webinstall.dev/notion-md-gen | bash\n```\n\n### brew (not ready)\n\n```bash\nbrew install notion-md-gen\n```\n\n## Usage\n\n### CLI\n\n```bash\ncd your-blog-dir\nnotion-md-gen init\nnotion-md-gen\n```\n\n### Github Action\n\n\u003e The installation command tool is helpful for local debugging. If you do not want to debug locally, you can also copy the configuration file to your project and run it directly through GitHubAction. You can see the example config in [example/notion-md-gen.yaml](example/notion-md-gen.yaml).\n\nTo use it as a Github Action, you can follow the example of the repository\nin [.github/worflows/notion.yml](.github/workflows/notion.yml).\n\n## Contributing\n\nSee [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.\n\n## Special thanks\n\n- [xzebra](https://github.com/xzebra)\n\nI based this code\non [https://github.com/xzebra/notion-blog](https://github.com/xzebra/notion-blog/commit/7982bcf0445cfdca1efd250d1f76d9fee07fc975)\n\n## License\n\nnotion-md-gen is under the MIT license. See the [LICENSE](/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonaysoft%2Fnotion-md-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbonaysoft%2Fnotion-md-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonaysoft%2Fnotion-md-gen/lists"}