Skip to content

etorth/PyGithubDiary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keep diary on github, by default this plugin creates following private repo:

https://github.com/<your-github-login>/diary.git

Usage:

  • This plugin requires python3 and package PyGithub:
pip3 install PyGithub
  • Create a minimal config file $HOME/.diary.json or C:\Users\<user-id>\.diary.json:
{
    "github-token": "<your-github-token>"
}
  • This plugin adds two most-commonly-used commands:
:DiaryNew       " create a new unnamed tab and pull in any existing diary content
:DiarySubmit    " submit current content

Note:

  • Try :help PyGithubDiary for more features.

  • Don't forget to adjust access permission of your .diary.json file for security.

  • Sample diaries generated by :DiaryViewHtml:

About

Keep diary on github, supported by PyGithub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published