Managing files on your server is now even easier with Cloud Commander and Dataplicity Wormhole.
We'll assume that you have your Pi powered up, connected to the internet and have Dataplicity installed. If you need some help to get up to speed, see Getting started with Dataplicity.
Make sure to free up port 80
If you have been going through other tutorials for wormhole you might have an application or a service already running on port 80. Make sure that nothing is running on port 80 prior to following the instructions in this article.
Cloud Commander is a very powerful NodeJS application which provides an easy way to upload and download files to and from your Pi using a web browser. In addition, the graphical interface offers plenty of built in options which make it a great tool for file management.
sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
Before proceeding, confirm that
NPM are installed correctly.
nodejs --version npm --version
At the time of writing this article, current versions are
sudo npm i cloudcmd -g
You might see 2 warnings during installation, these are fine as long as there are no errors.
For the purpose of this document we'll run Cloud Commander as root user on port 80. This is for testing purposes and is not recommended way to run this application in production.
sudo cloudcmd --port 80 --auth
Which will let you access your Pi through wormhole. Login credentials are
root with password
toor. As this will expose your device to the open internet (along with the files), you'll definitely want to put your own password here.
Changing default credentials
To change default login and password please modify
password fields of
/usr/lib/node_modules/cloudcmd/json/config.json file with new login and SHA512 string for password which can be generated here.
For more information about securing apps hosted by wormhole, see Securing Wormhole.
Both of these operations can be performed with simple drag 'n drop from desktop to the web browser as we did with the funniest video on the internet in the picture below. Alternatively when right clicked on a file or in the folder area you will get a right click menu where you will see upload and download options.
Right click menu
There are many more options, features and ways to configure Cloud Commander for which the documentation can be found on the official page.