Replies: 2 comments
-
Please use triple backticks to enclose the code. Add the language to add syntax highlighting. The GitHub docs have a good example. ```javascript
const request = require('request');
``` |
Beta Was this translation helpful? Give feedback.
0 replies
-
Changes made, Thanks for the highlight... SomeGuru |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi MeshCentral team and community,
I have been looking into both QNAP and Synology NAS appliances to potentially have not AWS/Azure based file storage. I see there is a NPM for QNAP and an API call for Synology.
Is there a way that this code I am sharing below could help facilitate the incorporation of bringing those storage's into use with MeshCentral and the Config.Json file to manage the credentials part of the Modules and API calls?
Snyology:
QNAP:
To install qnap-ts-api, you can run the following command:
sudo npm install qnap-ts-api
Example Module:
Of course I have given just a general script in hopes this can help advance the development on this, but this is not tried and true tested code as I am just new to the whole scripting process.
My hope is that we can tap into these NAS devices for some serious file storage and transfers without incurring large data transfer bills from hosting the servers in cloud spaces. Also to avoid S3 buckets.
Thanks,
SomeGuru
Beta Was this translation helpful? Give feedback.
All reactions