I contribute to Fn Project (open source serverless platform), mainly on the Ruby FDK (Function Development Kit).
On my (very rarely) updated blog, I have posted an example, using Crystal, of how to create a function in a language for which there is no FDK (Function Development Kit):