I was looking into the Neocities API and wondering if would be hard to create a script that would take a markdown file and create a HTML page that can be uploaded via API to Neocities.

The idea would be create a blog in the Neocities website.

The script would do:

  • Parse Markdown into HTML
  • Upload HTML file created to Neocities (and any media file too)
  • Create archive pages and upload those too

Most likely I am missing something but the idea is to be as simple as possible script.