Check out the repository on GitHub
TextBlaze to Espanso migration script/package.
Converts the whole TextBlaze text snippets repository to Espanso matches. Use the “Export all folders” button in the TextBlaze settings to export the snippets. Will work just as fine with a single folder. Support of images is not tested.
I use \ as a shortcut initiator because I think it is more convenient to access the shortcuts in a single button no
matter the keyboard layout.
pip install textblaze-to-espansoTEXTBLAZE_EXPORT_JSON_PATH: path to TextBlaze export jsonESPANSO_MATCHES_PATH: espanso/match directory pathSNIPPETS_DIRECTORY_NAME="test_version": Name of the directory where new matches will be storedREPLACER_CHARACTER="\\": The character that will replace the original /. I prefer backslashFOLDERS_KEY="folders": TextBlaze json key containing folders with snippetsFOLDER_NAME_KEY="name": TextBlaze Folder name json keySNIPPETS_KEY="snippets": TextBlaze snippets json keySNIPPET_SHORTCUT_KEY="shortcut": TextBlaze shortcut json keySNIPPET_TEXT_KEY="text" : TextBlaze text snippet json keyESPANSO_FILE_EXTENSION=".yml": Espanso configuration file extensionpython -m textblaze_to_espanso --env-file=$ENV_FILE_PATH