Swift on Synology DSM

Would love to read a proper guide on how to get everything up and running as I'm currently looking into getting a DSM as well. If it has some compute power left, it'd be fun to spin up a few custom swift based tools / scripts on it.