Skip to content

jmkhael/faas-qbasic-morse

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

FaaS QBasic Morse

This repository contains all code required to run a QBasic program as a FaaS function.

Building and deploying

  1. Build the Docker image.
docker build . -t jmkhael/faas-qbasic-morse
  1. Ship it to FaaS:

Either via faas-cli:

git clone https://github.com/alexellis/faas-cli
cd faas-cli/
go get -d -v
go build

./faas-cli -action=deploy \
   -image=jmkhael/faas-qbasic-morse \
   -name=morse \
   -lang=python

or via curl:

curl localhost:8080/system/functions -d '{
   "service": "morse",
   "image": "jmkhael/faas-qbasic-morse",
   "envProcess": "python handler.py",
   "network": "func_functions"
  }'

or via the UI portal: http://localhost:8080

  1. Run it: curl -X POST http://localhost:8080/function/morse -d "FaaS-inating!".

Now you can talk Morse via QBasic!

  ..-. .- .- ...  .. -. .- - .. -. --.

Check my blog post for a quick dive into Serverless FaaS: http://jmkhael.io/serverless-and-on-my-own-servers/

About

A FaaS function running QBasic Morse program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published