Image from Syncthing

There is a very famous meme over the internet that said

"There is no cloud, it's just someone else's computer"

It can give you some anxiety, and when you have a look at the very big and famous data breaches, it is important to understand that it is not a matter of IF (you are going to have a data breach), but it is a matter of WHEN (you are going to have a data breach).

But we are very lucky because as the open source technology is growing, so are the possibilities for everyone to install our own substitution for very popular services.

I can highlight Evernote for a note taking application and Dropbox to have your files available everyone within your computer file system.

So let say that we want to really own your files and not leave them to a company that could unilaterally change their Terms and Conditions.

Personally I am a very huge user of Evernote for note taking available on a lot of my device and of Dropbox to have my files available anywhere and on all my devices.

If I want to still use Dropbox but you want to be sure that no one at Dropbox can read your files, you can use a software that would encrypt it on your hard drive before you send anything to Dropbox.

Cryptomator is a very good tool that can do this and encrypt your data before you send it to the cloud.

That is a huge upgrade to any cloud you have used. Especially in case of a data breach. If you choose a strong enough password, you are good.

Hint : "Use KeePassXC Password Manager to keep all of your passwords for you."

But this solution can be problematic at some point, because you can't decrypt your data easily when you are on the go, on your smartphone.

And you have the hassle to enter a password every time you want to have a look at a file.

So let's move to another method, as easy to set up but much more usable on the long term and that supports your privacy.

You are in control of your files

I am going to present you something absolutely amazing, that is open source (very important as you are going to give it all of your files, even the most private ;-))

Move from Dropbox

Syncthing is multi platform, it works on Linux, MacOS and Windows. It also has application available on Android (no iOS sorry, but if you are an iOS developer and you find this too sad to be true you should solve this ;-)).

Furthermore, Syncthing can be installed on ARM devices. That means it is available to some NAS.

So if you have a QNAP or Synology (among others) NAS, you can just installed it as you would for an app on a smartphone.

But I am not that rich to have a NAS. :-(

But I am rich enough to have a RaspberryPi. :-D

A Raspberry Pi is a small and affordable computer that was initially developed to learn programming.



But it is so powerful and versatile that the DIY (Do it Yourself) community embraces it and hack it in so many ways possible that the Raspberry Pi is now the go to device if you want to do something as a low cost.

I would consider that you installed Raspbian on your Raspberry Pi.

So now you just have to installed Raspbian on your Raspberry Pi (don't forget to check the integrity of your download through the signature ( sha256sum file on Linux ;-)), you just have to download and installed Synchting for the RaspberryPi.

As Raspbian is based on Debian, you can follow the instructions from that page to install Syncthing on the RaspberryPi.

Configuration

Syncthing is based on Peer-to-Peer technology.

That means that only your devices are communicating between each other. There is no one to make some introduction at some point.

It is very easy to configure your Syncthing.

I love to have a master computer, the Raspberry Pi, which is the machine that is going to be the reference to any other of my machines.

Let's consider the following graphs.

Every machine pushes the changes on the master devices, the Raspberry Pi.



graph TD; MacOS --> RaspberryPi Ubuntu --> RaspberryPi Windows10 --> RaspberryPi

But the RaspberryPi pushes the changes it received from a device to the others as soon as they are on the network. So that everyone is synced.



graph TD; RaspberryPi --> MacOS RaspberryPi --> Ubuntu RaspberryPi --> Windows10

But the MacOS, Ubuntu and Windows 10 machines are not talking to each other.

Because the Raspberry Pi is always on, it is unnecessary to let the machines talk to each other. And it removes a lot of conflicts on a day to day basis.

If you compare this to Dropbox, Syncthing on the Raspberry Pi is our Dropbox. Always on, syncing our files modifications.

Syncthing is working in your browser.

Just launch localhost on port 8384 .

And you have the syncthing interface, where you can discover new devices you own through a code mechanism (very straightforward).

!

Advanced Configuration

You can configure a lot of things from the Web UI.

As soon as you are going to become more familiar with how Syncthing is working, you are going to move to some deep configuration through configuration files.

Everything is described in the very clear documentation from Synchting.

Move from Evernote

Now that we have a substitute for Dropbox that is up and running. I would love to have a note app that would synchronize on my Syncthing folder locally so that it would be available on all my machines.

After a lot of research to find the perfect note taking app for my needs, I come to discover Boostnote.

It is designed for developers with its very neat Snippets feature and it works on every major platform, Linux, MacOs and Windows10, which is essential to me.

Here is a good article on how an iOS developer is using snippets to improve its development.

A notebook (as it is described in Evernote) is only a directory on your computer.

So you just have to choose a location that is synchronized with Syncthing and you have your own Evernote.

You can create as many notebooks as you want. You just have to create new folders on your synchronized Boostnote folder.

Boostnote is a very good software and most of all, it is open source. As Syncthing;, you can have a look at its source code on Github.

I hope that article was of interest to you and that it would decide you to own your bits.

I know that there are a lot of other possibilities to achieve this. Nextcloud is a very good one, Resilio as well, but I must admit that Syncthing and Boostnote have everything I need to solve my problems.

I would love to hear from you and the solutions you put in place to own back your bits.