{"id":13771689,"url":"https://github.com/JCN-9000/pdf2rmnotebook","last_synced_at":"2025-05-11T04:30:53.179Z","repository":{"id":50138338,"uuid":"371070618","full_name":"JCN-9000/pdf2rmnotebook","owner":"JCN-9000","description":"Create reMarkable notebook file from multiple PDFs","archived":false,"fork":false,"pushed_at":"2025-04-23T18:46:41.000Z","size":3321,"stargazers_count":47,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-23T19:47:16.898Z","etag":null,"topics":["remarkable-tablet"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JCN-9000.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,"zenodo":null}},"created_at":"2021-05-26T14:50:06.000Z","updated_at":"2025-04-23T18:46:46.000Z","dependencies_parsed_at":"2024-03-19T01:26:32.989Z","dependency_job_id":"495a2038-b8b4-4b17-917b-0ea7fa321a1e","html_url":"https://github.com/JCN-9000/pdf2rmnotebook","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCN-9000%2Fpdf2rmnotebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCN-9000%2Fpdf2rmnotebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCN-9000%2Fpdf2rmnotebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCN-9000%2Fpdf2rmnotebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JCN-9000","download_url":"https://codeload.github.com/JCN-9000/pdf2rmnotebook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"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":["remarkable-tablet"],"created_at":"2024-08-03T17:00:54.329Z","updated_at":"2025-05-11T04:30:53.168Z","avatar_url":"https://github.com/JCN-9000.png","language":"Shell","funding_links":[],"categories":["Other"],"sub_categories":["Template Builders"],"readme":"# pdf2rmnotebook\n\n[![rm1](https://img.shields.io/badge/rM1-supported-green)](https://remarkable.com/store/remarkable)\n[![rm2](https://img.shields.io/badge/rM2-supported-green)](https://remarkable.com/store/remarkable-2)\n[![Discord](https://img.shields.io/discord/385916768696139794.svg?label=reMarkable\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/ATqQGfu)\n\nCreates a reMarkable Notebook from multiple PDF or PNG files compatible with RCU and rmapi.\n\n## Changelog\n\nVersion\n- V1.1   - All pdf pages are converted, no need to split file ( needs pdfinfo command )\n- V1.2.0 - Some options added: Verbosity, Usage, Version; Cleanup and Checks\n- V2.1.0 - Image formats png/jpg can be directly converted\n    - -s option to scale notebook page size to ~A4\n- V2.2.0 - Convert to `rmn` files compatible with RCU\n    - -r option to create `rmn` files\n\n## Example\n\nCombine multiple PDFs into a single, editable reMarkable (`.rmn`) document\n\n`$ ./pdf2rmnotebook.sh -r ./example/2d-3.pdf ./example/3d-1.pdf`\n\nThe two PDFs are now combined and can be edited on the remarkable using all the standard tools:\n![Combined PDF Example](./example/combined_example.png)\n\n## Requirements\n\n- [drawj2d](https://sourceforge.net/projects/drawj2d/)\n- pdfinfo: from your distribution package manager:\n  - Debian: poppler-utils\n  - Homebrew: poppler\n\n## Installation\n\nClone this repo locally and run the `pdf2rmnnotebook.sh` script. Optionally, add the script and the `./var` directory somewhere in your `$PATH`.\n\nOptional *nix install:\n\n```\n$ sudo cp ./var/lib/pdfrmnotebook /var/lib\n```\n\n## Usage\n\nRun the script followed by the list of PDF files, it will create a file that can be sent to the reMarkable using [rmapi](https://github.com/juruen/rmapi)† or [RCU](http://www.davisr.me/projects/rcu/).\n\n**†** rmapi is [deprecated](https://github.com/juruen/rmapi/discussions/313) and no longer supported by the maintainer.\n\n```\n  pdf2rmnotebook [options] file.pdf [...]\n\nCreate multi-page reMarkable Notebook file from PDF files\n  * Creates .zip files by default for use with rmapi\n  * Use -r option to create a reMarkable Notebook .rmn file for use with RCU\n\nOptions:\n  Switches (no arguments required):\n    -h    Display this help and exit\n    -q    Produce fewer messages to stdout\n    -r    Create a reMarkable Notebook .rmn file (default: zip)\n    -v    Produce more messages to stdout\n    -V    Display version information and exit\n\n  With arguments:\n    -n NAME    Set the rmn Notebook Display Name (default: Notebook-\u003cyyyymmdd_hhmm.ss\u003e)\n               Only used with -r option\n    -o FILE    Set the output filename (default: Notebook-\u003cyyyymmdd_hhmm.ss\u003e.zip)\n    -s SCALE   Set the scale value (default: 0.75) - 0.75 is a good value for A4/Letter PDFs\n\nExample:\n  pdf2rmnotebook -n \"My Notebook\" -o mynotebook.zip -s 1.0 file.pdf\n```\n\n### Common Recipes:\n\nCreate a `.zip` file compatible with rmapi:\n\n`$ ./pdf2rmnotebook.sh ./example/2d-3.pdf ./example/3d-1.pdf`\n\nCreate a `.rmn` file compatible with RCU:\n\n`$ ./pdf2rmnotebook.sh -r ./example/2d-3.pdf ./example/3d-1.pdf`\n\nCreate a `.rmn` file, set the output filename and set the name that will be displayed on the reMarkable:\n\n`$ ./pdf2rmnotebook.sh -r -o combined_shapes -n \"Shapes Notebook\" ./example/2d-3.pdf ./example/3d-1.pdf`\n\nCreate a scaled notebook from a png:\n`$ ./pdf2rmnotebook.sh -s 2 ./example/flower.png`\n\n## Thanks\n\n- [drawj2d](https://sourceforge.net/projects/drawj2d/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJCN-9000%2Fpdf2rmnotebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJCN-9000%2Fpdf2rmnotebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJCN-9000%2Fpdf2rmnotebook/lists"}