I tried to use today the importer but experienced few issues, fixed in this PR:
Probably initial development was done on older version of Golang, I made the makefile compatible with even newer setups, mine is: 1.12.6 and the go.mod file from repository requires compatibility ENV variable.
on fresh installations of Hugo in content/ folder there is not much, yet the program required things like content/posts folder structure etc. I made the program ready for situations when it's all brand-new + allowed format of the second attribute which might end with a / sign already. Such variant is even suggested in the command help suggestion.
In my personal situation that forced me to migrate from Medium is because they didn't refreshed my domain certificate. Due to that the program failed to fetch tags for posts. I made an optional disable of the certificate verification with an ENV variable: ALLOW_INSECURE=true. Also added this to readme.
I tried to use today the importer but experienced few issues, fixed in this PR:
1.12.6
and thego.mod
file from repository requires compatibility ENV variable.content/
folder there is not much, yet the program required things likecontent/posts
folder structure etc. I made the program ready for situations when it's all brand-new + allowed format of the second attribute which might end with a/
sign already. Such variant is even suggested in the command help suggestion.ALLOW_INSECURE=true
. Also added this to readme.