Skip to content

Tayomide/markdown-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This setup provides a way to add/delete/complete and edit tasks from your note-taking app without the need to interact with any other software(like google tasks) or promise yourself you'll do it later

Setup

Environment Variables

Windows

In wrapper.ps1

  • Add the path to the file used for your todo in the $TODO_DIR variable e.g
$env:TODO_DIR = 'C:\path\to\your\todo\file[.txt, .md...]
  • Change the $env:python_exe file path C:\Python311\python.exe to your default python executable
  • Add your note taking executable file to the $applicationPath variable e.g
$env:applicationPath = 'C:\path\to\your\obsidian\application\Obsidian.exe'

credentials.json

  • Follow this tutorial to get your credentials.json file. Remember to download the json, rename it as credentials.json and keep the file in this repository

python

  • Install the dependencies
pip install -r requirements.txt

Steps to run

cd to the repository

python

  • You can run the test.py file with
python text.py

PowerShell

  • You can run the logic using Powershell
./wrapper.ps1

Note

I plan on adding support for other OS in the future

Further steps

You can transform the logic into an executable file for easier access or to replace your default text editor shortcut

Windows

https://www.advancedinstaller.com/convert-powershell-to-exe.html

End Result

image

Bug reports

If you encounter any issues with the documentation or have suggestions for improving the project, please feel free to open an issue!

About

A lazy approach to holding yourself accountable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published