Welcome to cncjs!


If you see this page, the default mount point for serving static files is working. Further configuration is required.

  1. Run cncjs with -h for detailed usage:
    $ cncjs -h
    
      Usage: cncjs [options]
      
      Options:
        -m, --mount [<url>:]<path>  set the mount point for serving static files (default: /static:static)
  2. Specify a mount path for the static directory, as shown below:
    $ cncjs -m /static:/path/to/your/static/files

The example shown below is a tiny web interface for small size LCD display 320x240 with very limited features.
Visit http://localhost:8000/pendant/ after running the command:

$ cncjs -m /pendant:/path/to/tinyweb

For online documentation please refer to https://cnc.js.org/docs.

Learn more ยป