If you are interested in learning how to build a custom mechanical keyboard from scratch. You might be interested in the journey of Christian Selig who has built his perfect keyboard from scratch and ...
Another way you can build your own keyboard is by getting a barebone mechanical keyboard, slapping switches and keycaps onto it (or getting one that includes switches and keycaps), and then modding it ...