{"id":21039327,"url":"https://github.com/clsty/xopp-merge","last_synced_at":"2025-03-13T21:18:09.608Z","repository":{"id":208154957,"uuid":"720939595","full_name":"clsty/xopp-merge","owner":"clsty","description":"Merge multiple Xournalpp files into one","archived":false,"fork":false,"pushed_at":"2023-11-20T03:00:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T16:42:32.857Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/clsty.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}},"created_at":"2023-11-20T02:32:43.000Z","updated_at":"2023-11-20T02:35:59.000Z","dependencies_parsed_at":"2023-11-20T03:40:49.561Z","dependency_job_id":null,"html_url":"https://github.com/clsty/xopp-merge","commit_stats":null,"previous_names":["clsty/xopp-merge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clsty%2Fxopp-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clsty%2Fxopp-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clsty%2Fxopp-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clsty%2Fxopp-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clsty","download_url":"https://codeload.github.com/clsty/xopp-merge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243482942,"owners_count":20297908,"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":[],"created_at":"2024-11-19T13:39:00.162Z","updated_at":"2025-03-13T21:18:09.565Z","avatar_url":"https://github.com/clsty.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xopp-merge\nThe python scripts merge multiple [Xournalpp](https://github.com/xournalpp/xournalpp)'s note file `*.xopp` into one.\n\n## Usage\nOn most Linux distros, run `./install` to copy scripts to `/usr/bin/`, and run `./uninstall` to remove them.\n\nThen you can directly use these scripts in shell.\n\n`xopp-mergefolder` will merge `*.xopp` files in alphabetical order.\n\n## Known issues\nThe script `xopp-merge` seems to be broken.\n\nSimilar as [this issue](https://github.com/xournalpp/xournalpp/issues/2474#issuecomment-1265735863).\n\nError output:\n```\nTraceback (most recent call last):\n  File \"/usr/bin/xopp-merge\", line 51, in \u003cmodule\u003e\n    pageNb = elements[0].attrib[\"pageno\"]\n             ~~~~~~~~~~~~~~~~~~^^^^^^^^^^\nKeyError: 'pageno'\n```\n\nAnd the author [said](https://github.com/xournalpp/xournalpp/issues/2474#issuecomment-1312756149):\n\u003e The script first looks for the pagenb attributes in the \u003cbackground\u003e tags (which define a \"page\" for the script) which are missing for files with built-in background layouts/models (i.e. those without a pdf background, like the attached files). In other words, the script should not skip the \u003cpage\u003e tags to work properly.\n\u003e Honestly, I should just rewrite it in a complete all-layer-, all-background-supporting and platform-independent way with much cleaner code.\n\u003e \n\u003e I really appreciate your work and feedback btw.! I'll see what I can do with the \"CLI/offline\" solution (unless we want to wrap your solution in an electron app, making it nice, easy-to-use and user-friendly).\n\n## History\nIt's originally created as \u003chttps://github.com/friciwolf/XournalppUtils\u003e, and modified as \u003chttps://github.com/AyushmaanAggarwal/XournalppUtils\u003e.\n\nFor more info, see\n- \u003chttps://github.com/xournalpp/xournalpp/issues/2474\u003e\n- \u003chttps://github.com/xournalpp/xournalpp/issues/2816\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclsty%2Fxopp-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclsty%2Fxopp-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclsty%2Fxopp-merge/lists"}