{"id":15021417,"url":"https://github.com/rxrw/notion-blog","last_synced_at":"2025-10-03T22:30:50.001Z","repository":{"id":60172807,"uuid":"533241934","full_name":"rxrw/notion-blog","owner":"rxrw","description":null,"archived":false,"fork":true,"pushed_at":"2024-04-19T13:22:47.000Z","size":84,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T10:38:24.718Z","etag":null,"topics":["blog","convert","go","golang","hugo","markdown","notion"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"xzebra/notion-blog","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rxrw.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":"2022-09-06T09:00:25.000Z","updated_at":"2024-08-09T03:31:51.000Z","dependencies_parsed_at":"2023-01-26T15:40:13.165Z","dependency_job_id":null,"html_url":"https://github.com/rxrw/notion-blog","commit_stats":{"total_commits":52,"total_committers":3,"mean_commits":"17.333333333333332","dds":0.07692307692307687,"last_synced_commit":"0bc8fdb89b349929cb9c14215761c7253e35ccfa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxrw%2Fnotion-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxrw%2Fnotion-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxrw%2Fnotion-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxrw%2Fnotion-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rxrw","download_url":"https://codeload.github.com/rxrw/notion-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235198427,"owners_count":18951501,"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":["blog","convert","go","golang","hugo","markdown","notion"],"created_at":"2024-09-24T19:56:33.393Z","updated_at":"2025-10-03T22:30:44.725Z","avatar_url":"https://github.com/rxrw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notion-blog\n\n`notion-blog` allows you to use Notion as a CMS for pages built with hugo. You can use it as a cli or even automate your blog repo to update itself with the Github Action.\n\n\n## Requisites\n\n- Notion database for your articles.\n- Notion API secret token.\n- Hugo powered blog.\n\n## Usage\n\n### CLI\n\nThe cli shows the executable flags when using flag `—help`.\n\n```bash\n$\u003e notion-blog —help\n```\n\n### Binary\n\nThe binary looks for a config file called `notionblog.config.json` in the directory where it is executed. You can see the example config in [notionblog.config.json](notionblog.config.json).\n\n\n### Github Action\n\nTo use it as a Github Action, you can follow the example of the repository in [.github/worflows/notion.yml](.github/workflows/notion.yml).\n\n\n## Compilation\n\nThis is only required if you are not going to use the repo as a Github Action. The compilation is simple as Golang installs everything for you.\n\n```bash\ngo build -o ./bin/main cmd/main/main.go\n```\n\nYou can compile any form of the app (cli or binary) by compiling the main file in any of the packages in `cmd/`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxrw%2Fnotion-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frxrw%2Fnotion-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxrw%2Fnotion-blog/lists"}