Gregory MS, not your usual showcase

This is not about a nice design or awesome template. It is about how Hugo was a cut and dry solution for a quick frontend to a set of services: A Node-RED server that collects data, an API that is also provided by Node-RED, and a python script that made it all available in Hugo’s markdown format.

The result is an index engine for research on Multiple Sclerosis. Information is collected from 11 different reliable sources: About and Contacts | Gregory

The python script that collects the data even takes care of running Hugo once the files are all in place.

args = ("/usr/local/bin/hugo", "-d", website_path,"--cacheDir", path)
popen = subprocess.Popen(args, stdout=subprocess.PIPE, universal_newlines=True)
popen.wait()
output = popen.stdout.read()
print(output)

Code and technical details are available on github. :slightly_smiling_face:

3 Likes