{"id":16233788,"url":"https://github.com/genietim/onenoteexporter","last_synced_at":"2025-03-19T14:31:43.080Z","repository":{"id":42963333,"uuid":"222278584","full_name":"GenieTim/OneNoteExporter","owner":"GenieTim","description":"Export some OneNote pages as a combined HTML","archived":false,"fork":false,"pushed_at":"2024-11-19T06:14:47.000Z","size":419,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T08:21:25.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/GenieTim.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":"2019-11-17T16:35:49.000Z","updated_at":"2025-03-14T07:36:23.000Z","dependencies_parsed_at":"2023-11-24T21:26:57.483Z","dependency_job_id":"bb187780-8f95-4562-bdd2-94ddef48fdf0","html_url":"https://github.com/GenieTim/OneNoteExporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenieTim%2FOneNoteExporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenieTim%2FOneNoteExporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenieTim%2FOneNoteExporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenieTim%2FOneNoteExporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GenieTim","download_url":"https://codeload.github.com/GenieTim/OneNoteExporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244444722,"owners_count":20453783,"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-10-10T13:13:53.850Z","updated_at":"2025-03-19T14:31:42.842Z","avatar_url":"https://github.com/GenieTim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OneNoteExporter\nExport some OneNote pages as a combined HTML file.\n\nAt the moment, it works for me, but may need additional adjustments for your use.\nAn introduction how I used this repo can be found in my [Blog](https://www.genieblog.ch/blog/en/2020/onennote-to-latex).\n\n- [OneNoteExporter](#onenoteexporter)\n  - [Overview](#overview)\n  - [Usage](#usage)\n    - [Using API](#using-api)\n    - [Using Browser](#using-browser)\n\n## Overview\n\nMotivation: export certain pages automated.\n\nUnfortunately, I did not find an easy way around a web-interface for the Office 365 login except for the direct interaction with OneNote online. Read further for the two approaches and their benefits.\n\n## Usage\n\nMake sure to have [NodeJS](https://nodejs.org/en/) and [yarn](https://yarnpkg.com/) installed.\nAfter downloading the repository, run `yarn` in this directory to install all necessary components.\n\n### Using API \nThis approach uses the official OneNote API (resp. Microsoft Graph). \nA webpage helps to choose which pages to download if you don't know their IDs.\n\n - create a msal.config.js file in the config folder, fill it appropriately as listed in the msal documentation\n - Use `yarn compile` to run browserify (make sure to have it installed).\n - Use the files src/one-note-diary-export.{bundle.js, html} on your server. Have fun.\n\n### Using Browser\nThis approach uses Puppeteer so you can just navigate to the page in OneNote online to download the relative pages.\nAdvantage includes an easier application (no need to register this app in your Azure AD) \nand more content (math equations are not supported by the API). \nDisadvantages include more complicated HTML and more manual work, as you have to export each page separately.\n\n - Run `node ./bin/interactive-exporter.js` \n - Follow the instructions in the CMD/act accordingly in the browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenietim%2Fonenoteexporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenietim%2Fonenoteexporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenietim%2Fonenoteexporter/lists"}