Manager for markdown notes written in Visual Studio Code
Collect notes from all the lectures (by paths provided), add files and images and push them respectfully to different branches of your Git repository with lecture notes
Use Visual Studio Code
and Markdown to write notes from online lectures effectively
-
Markdown allows you to add
LaTeX
formulas directly to the text (it is easier than any otherLaTeX
tools) -
Visual Studio Code
allows you to save images (screenshots) fast just by pressingCtrl+V
to place an image in the note (image file will be saved in the same folder)
This tool is used to upload new notes and manage image files
-
DEFAULT
variant uploads your notes as you saved them -
PRETTIER
variant places all the image screenshots to/images
folder and also helps you to avoid filename collisions
Create config.json
file in project root and fill it the same way as config.json.example
Repo
field must have .git
in the end
Personal access token
can be created in Github settings (make sure it can access private repositories and workflows)
For each branch in Branches
provide a name of a subject and an absolute path to the folder, where your notes are saved
WARNING:
do not use \\
separator for Windows, change it with /
-
Check that Python is installed in your OS
-
Clone this repository
git clone https://github.com/BiscuitsLayer/ConspectManager.git
- Go to the project root and install requirements
cd ./ConspectManager
pip install -r requirements.txt
-
Make sure you filled
config.json
in the project root correctly -
Run the main file
python basic.py
- Open
basic.log
and check that push was done correctly - it must contain these messages for everyCOURSE_NAME
DATE TIME; COURSE_NAME; INFO; DEFAULT: push done
DATE TIME; COURSE_NAME; INFO; PRETTIER: push done
-
Open
Windows Task Scheduler
and create new task calledConspectManager
-
Choose
Run whether user is logged on or not
-
Go to
Actions
->New
and choose Python interpreter as a program/script andbasic.py
file of current project as an argumentOn my PC Python interpreter path is
C:\Users\Vinog\AppData\Local\Programs\Python\Python311\python.exe
And
basic.py
file path isC:\Users\Vinog\Downloads\ConspectManager\basic.py
- Go to
Triggers
->New
and set up the time you want your notes to be checked and uploaded (I set it to0:00:00
daily)
- Go to
Conditions
and allow task to start only when network connection is available
- Go to
Settings
and chooseRun task as soon as possible after a scheduled start is missed
On Linux crontab
should be used for scheduling task (maybe I will add detailed instructions later)