jtanderson / onenote_cli

Command-line interface to MS OneNote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OneNote CLI

This project is a terminal-based interface to the Microsoft OneNote API. Why? It's fast, clean, and simple.

screenshot

Status

Disclaimer: This is pure prototype-stage. The code is a hot mess. At this point of my life I'm more mathematician than programmer, but I will do my best to make the codebase presentable as features develop.

Currently everything is read-only, but that aspect seems solidly usable. The sign-in process is slightly clunky in that you either have to copy/paste the wrapped segments from the display, or go to the logs where it is fully clickable if you have a terminal that allows such things.

TODO

  • Basic navigation and reading of
    • Notebooks
    • Sections
    • Pages
    • Section groups
  • Allow creation and editing
    • Notebooks
    • Sections
    • Pages
    • Cache data for speed
  • User preferences
    • Auth expiry
    • Cache frequency/laziness
  • Rendering
    • Use gocui.Execute instead of two-stage data loading
    • Better text-selection
  • Security
    • Propery handle app id and client secret (This is hindered by MS requiring use of url fragments and Golang actively prohibiting it)

About

Command-line interface to MS OneNote

License:GNU General Public License v3.0


Languages

Language:Go 100.0%