{"id":13907805,"url":"https://github.com/5hay/notionbackup","last_synced_at":"2026-01-14T17:45:03.861Z","repository":{"id":144267001,"uuid":"358660870","full_name":"5hay/notionbackup","owner":"5hay","description":"A small utility command line application that can recursively download Notion pages","archived":false,"fork":false,"pushed_at":"2023-03-01T10:24:23.000Z","size":8,"stargazers_count":69,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-18T08:31:21.323Z","etag":null,"topics":["backup","go","golang","notion"],"latest_commit_sha":null,"homepage":"https://blog.shayan.eu/automate-your-notion-backups.html","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5hay.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":"2021-04-16T16:36:45.000Z","updated_at":"2024-12-24T03:00:53.000Z","dependencies_parsed_at":"2023-07-05T00:01:20.299Z","dependency_job_id":null,"html_url":"https://github.com/5hay/notionbackup","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/5hay/notionbackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hay%2Fnotionbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hay%2Fnotionbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hay%2Fnotionbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hay%2Fnotionbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5hay","download_url":"https://codeload.github.com/5hay/notionbackup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hay%2Fnotionbackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28428931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["backup","go","golang","notion"],"created_at":"2024-08-06T23:02:11.160Z","updated_at":"2026-01-14T17:45:03.842Z","avatar_url":"https://github.com/5hay.png","language":"Go","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# notionbackup\n\nA small utility command line application that can recursively download Notion pages.\n\nI needed something scriptable that could periodically download my whole Notion workspace for backup purposes.\n\nI have written a small blog post about this tool if you want to check it out: [Automate your Notion backups](https://blog.shayan.eu/automate-your-notion-backups.html)\n\n## How To Use\n\nBuild it yourself or download a pre-built binary from the [Releases page](https://github.com/5hay/notionbackup/releases).\n\nSet the following env variables\n\n- `NOTION_TOKEN` (the token_v2 cookie value, just google \"notion token_v2\")\n- `NOTION_PAGEID` (the id of the page you want to download recursively)\n- _Optional_ `NOTION_EXPORTDIR` (the folder where the created .zip file should be placed in, **defaults to the current directory**)\n  - Only specify the directory, the filename will be created for you\n- _Optional_ `NOTION_EXPORTTYPE` (\"html\" or \"markdown\", **defaults to markdown**)\n\nNow you can just run `./notionbackup`.\n\n## Building\n\nClone this repository and then run `go build -o notionbackup -ldflags=\"-s -w\" app.go`\n\n## Special Thanks\n\n- kjk for [notionapi](https://github.com/kjk/notionapi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5hay%2Fnotionbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5hay%2Fnotionbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5hay%2Fnotionbackup/lists"}