|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Kong||35,980||4 hours ago||236||apache-2.0||Lua|
|🦍 The Cloud-Native API Gateway|
|Appwrite||33,631||4 hours ago||65||July 18, 2023||707||bsd-3-clause||TypeScript|
|Build like a team of hundreds_|
|Faas||23,483||15||18 days ago||31||April 12, 2021||29||mit||Go|
|OpenFaaS - Serverless Functions Made Simple|
|Apisix||12,670||a day ago||527||apache-2.0||Lua|
|The Cloud-Native API Gateway|
|Fission||7,835||1||1||5 days ago||63||May 18, 2023||225||apache-2.0||Go|
|Fast and Simple Serverless Functions for Kubernetes|
|Wasmedge||6,717||7||7 hours ago||18||August 07, 2023||294||apache-2.0||C++|
|WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.|
|Aws Sam Cli||6,372||31||12||5 hours ago||168||July 27, 2023||389||apache-2.0||Python|
|CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM|
|Openwhisk||6,164||3 days ago||388||apache-2.0||Scala|
|Apache OpenWhisk is an open source serverless cloud platform|
|Fn||5,483||a month ago||1||May 16, 2023||157||apache-2.0||Go|
|The container native, cloud agnostic serverless platform.|
|Nuclio||4,972||4 hours ago||65||April 25, 2021||126||apache-2.0||Go|
|High-Performance Serverless event and data processing platform|
Fn is an event-driven, open source, Functions-as-a-Service (FaaS) compute platform that you can run anywhere. Some of its key features:
docker login(Not required for local development)
The command line tool isn't required, but it makes things a lot easier. There are a few options to install it:
If you're on a Mac and use Homebrew:
brew update && brew install fn
This one works on Linux and macOS (partially on Windows).
If you are running behind a proxy first set your http_proxy and https_proxy environment vars:
curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh
This will download a shell script and execute it. If the script asks for a password, that is because it invokes sudo.
Head over to our releases and download it.
First, start up an Fn server locally:
This will start Fn in single server mode, using an embedded database and message queue. You can find all the configuration options here. If you are on Windows, check here. If you are on a Linux system where the SELinux security policy is set to "Enforcing", such as Oracle Linux 7, check here.
Functions are small but powerful blocks of code that generally do one simple thing. Forget about monoliths when using functions, just focus on the task that you want the function to perform. Our CLI tool will help you get started quickly.
Let's create your function. You can use any runtime (ie go, node, java, python, etc.)
hello will be the name of your function as well as create a directory called
hello. You can name your function anything.
fn init --runtime go hello cd hello
We need to create an "app" which acts as a top-level collection of functions and other elements:
fn create app myapp
Deploy your function:
fn deploy --app myapp --local
--local flag will skip the push to remote container registry making local development faster
Now let's actually run your function using the
fn invoke myapp hello
That's it! You just deployed and ran your first function! Try updating the function code in
func.go (or .js, .java, etc.) then deploy it again to see the change.