sharex-server

1.1.3 • Public • Published

sharex-server (Node.js)

Usage

You can use either Docker or run it directly with Node.js.

If you wish to do the latter, make sure to install Node from here and follow the instructions provided below:

  • npm install sharex-server
  • Use the following code:
const Server = require("sharex-server");
new Server({
  password: "password",
  path: "images",
  port: 6666,
  fileLength: 10,
});

Sharex configuration

  • The password is to be set as a header;
  • The file form name is to be set to image;
  • The image uploading endpoint is /api/upload;
  • The upload endpoint returns a JSON with a URL link;

ShareX - Custom uploader settings

Package Sidebar

Install

npm i sharex-server

Weekly Downloads

12

Version

1.1.3

License

MIT

Unpacked Size

6.86 kB

Total Files

4

Last publish

Collaborators

  • alexthemaster