{"id":19008846,"url":"https://github.com/senz/notion-easy-export-cli","last_synced_at":"2026-04-16T18:03:39.109Z","repository":{"id":261656315,"uuid":"884830022","full_name":"senz/notion-easy-export-cli","owner":"senz","description":"CLI tool to export Notion pages to PDF files.","archived":false,"fork":false,"pushed_at":"2024-11-07T17:37:08.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T11:45:53.947Z","etag":null,"topics":["export-pdf","nodejs","notion","yargs"],"latest_commit_sha":null,"homepage":"","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/senz.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-11-07T13:18:07.000Z","updated_at":"2024-11-07T17:37:12.000Z","dependencies_parsed_at":"2024-11-07T18:42:37.529Z","dependency_job_id":"3ca424f6-c23c-47e0-b256-be603952a0fc","html_url":"https://github.com/senz/notion-easy-export-cli","commit_stats":null,"previous_names":["senz/notion-easy-export-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senz%2Fnotion-easy-export-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senz%2Fnotion-easy-export-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senz%2Fnotion-easy-export-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senz%2Fnotion-easy-export-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senz","download_url":"https://codeload.github.com/senz/notion-easy-export-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240035954,"owners_count":19737603,"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":["export-pdf","nodejs","notion","yargs"],"created_at":"2024-11-08T19:05:36.573Z","updated_at":"2026-04-16T18:03:39.098Z","avatar_url":"https://github.com/senz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion Easy Export CLI\n\nCLI tool to export Notion pages to PDF files.\nWrapper around `notion-easy-export` package.\n\nUses [yargs](https://github.com/yargs/yargs). Ahoi!\n\n## Requirements\n\n`wkhtmltopdf` is required to export PDF files.\n\n`nodejs \u003e= 22` is version this tool tested with.\n\n## Installation\n\n### Using DevContainer\n\n1. Use VSCode or any other editor that supports DevContainer to open the project in a container.\n2. Wait until `postCreateCommand` finishes. It will install all the dependencies.\n3. Invoke the command in container shell. See [Usage](#usage) section for more details.\n\n### Manual\n\n```bash\ngit clone ...\ncd notion-easy-export-cli\nnpm install\n```\n\n## Usage\n\n```\nUsage: index.js \u003cpageId\u003e\n\nCommands:\n  index.js single  Single mode. It allows users to generate a separate PDF for e\n                   ach of the HTML pages.\n  index.js merge   It allows users to generate a single PDF for the entire expor\n                   t. It concatenates each of the notion pages smartly to genera\n                   te a single document.\n\nOptions:\n      --help     Show help                                             [boolean]\n      --version  Show version number                                   [boolean]\n  -t, --token    Notion token_v2                             [string] [required]\n  -p, --pageId   Notion page id                              [string] [required]\n```\n\nSee [notion-easy-export](https://github.com/subhamX/notion-easy-export/) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenz%2Fnotion-easy-export-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenz%2Fnotion-easy-export-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenz%2Fnotion-easy-export-cli/lists"}