NULLPTR
=======

  curl -H 'Authorization: AUTH_KEY' -F '[email protected]' https://0x0.pt/api/v1/upload


ACCESS
------

While all uploaded files can be accessed without authentication, upload requests to
the server requires an authentication token. This is done to minimize the amount of
maintenance required to keep this service online. If you would like to request for
an authentication token, please send an email to [email protected](this.domain).


CONFIG
------

{
  "app": {
    "name": "nullptr",
    "host": "127.0.0.1",
    "port": 3000,
    "uri": "https://0x0.pt"
  },
  "web": {
    "ui": false
  },
  "api": {
    "requireAuth": true
  },
  "db": "REDACTED",
  "storage": {
    "system": {
      "type": "diskfs",
      "path": "/var/www/0x0.pt/data",
      "algo": "sha512",
      "version": 1
    },
    "maxUploadSize": 524288000,
    "imageOptimization": false,
    "validFileExtensions": [
      ".sql.gz",
      ".sql.bz",
      ".sql.bz2",
      ".sql.xz",
      ".tar.gz",
      ".tar.bz",
      ".tar.bz2",
      ".tar.xz",
      ".user.js"
    ],
    "blacklist": {
      "fileExtensions": [],
      "mimeTypes": []
    }
  },
  "clamav": {
    "host": "127.0.0.1",
    "port": 3310,
    "enabled": false
  }
}