github

metrue / fx

  • среда, 15 ноября 2017 г. в 03:15:12
https://github.com/metrue/fx


Poor man's serverless framework based on Docker, Function as a Service with painless.



fx

Poor man's function as a service.

Usage

  • clone and build
$ git clone https://github.com/metrue/fx
$ make install-deps && make build
  • start server
./build/fx serve

now you can make a function to service in a second.

./build/fx up fx/example/functions/func.js

of course you can do more.

Usage:
$ fx serve                                      start f(x) server
$ fx up   func1.js func2.py func3.go ...        deploy a function or a group of functions
$ fx down [service ID] ...                      destroy a function or a group of functions
$ fx list                                       list deployed services
$ fx --version                                  show current version of f(x)

Architecture

TODO

Features

  • no API Gateway
  • no Function Watchdog
  • no Docker Swarm
  • no Kubernets
  • no fancy web dashboard

but f(x)

  • makes a function to be a service in seconds.
  • supports all major programming languages (Node, Golang, Ruby, Python) functions to services.

Contributors


Minghe

Core


Founder of f(x)


Tim

Core


Founder of f(x)