Giter VIP home page Giter VIP logo

onenote-export's Introduction

OneNote Export

A simple, minimalistic tool to export a set of OneNote notebooks to a folder structure with HTML files. I wrote this because I couldn't find any existing tool that would do this (and didn't require Windows, Office, or whatever).

For more documentation, see the Exporting notes from Evernote and OneNote blog post.

Usage

  1. Clone this repo:

     git clone [email protected]:Sjlver/onenote-export.git
    
  2. Install dependencies:

     bundle install
    
  3. Get an API token.

    The easiest way I know to do this is to go to the Apigee console. There, click on Authentication > OAuth 2 Implicit Grant. This will prompt you to log in to your Microsoft account.

    Once you logged in, select some GET request from the menu (e.g., https://www.onenote.com/api/v1.0/notebooks). Click on Send to perform the request.

    At the left side of the screen, you can see the request that has been performed. Copy the value of the authorization header (the part that says Bearer xyz...) and save it in the environment variable AUTH_TOKEN.

  4. Start the export:

     bundle exec ./onenote_export.rb
    

onenote-export's People

Contributors

dependabot[bot] avatar sjlver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.