mami-cli.exe demo

Publishing a mami-cli binary, I tried making an exe that doesn't require installing nodejs or npm dependencies, see if anyone is interested.

Instructions

  1. Download mami-cli.exe

  2. Put it in the directory that needs to be manipulated

  3. Add a config file, basically of the form [name, config], an example of converting from joplin to hexo

    {
      "input": [
        [
          "joplin",
          {
            "baseUrl": "http://127.0.0.1:27583",
            "token": "5bcfa49330788dd68efea27a0a133d2df24df68c3fd78731eaa9914ef34811a34a782233025ed8a651677ec303de6a04e54b57a27d48898ff043fd812d8e0b31",
            "tag": "blog"
          }
        ]
      ],
      "output": [["hugo", { "baseUrl": "/demo/joplin2hugo-for-release/" }]]
    }
    
  4. Run the command ./mami-cli

An example project is https://github.com/rxliuli/mami/tree/master/demos/joplin2hugo-for-release-demo

release: Release mami-cli.exe · rxliuli/mami · GitHub

3 Likes