Skip to content

Common CLIs packaged in containers with a HTTP interface

License

Notifications You must be signed in to change notification settings

welteki/store-functions

This branch is 4 commits behind openfaas/store-functions:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dab6684 · Dec 12, 2024

History

49 Commits
Sep 25, 2024
Jun 18, 2024
Sep 15, 2023
Oct 28, 2021
Jun 18, 2024
Oct 24, 2023
Jun 18, 2024
Jun 18, 2024
Aug 24, 2022
Jun 18, 2024
Jun 18, 2024
Oct 16, 2024
Jun 18, 2024
Feb 21, 2021
Jun 18, 2024
Dec 15, 2023
Jun 18, 2024
Jun 18, 2024
Dec 12, 2024
Jun 18, 2024
Dec 8, 2021
Apr 5, 2023
Aug 24, 2022
Apr 5, 2023
Sep 15, 2023
Oct 16, 2024

Repository files navigation

store-functions

Common CLIs packaged in containers with a HTTP interface

Sponsor this build

About these functions:

  • They are multi-arch - for armhf, arm64 and x86_64
  • They are built with faas-cli
  • They are built and published to GHCR as container images to avoid the Docker Hub's rate limits

You may also like the bash template for OpenFaaS, so you can perform multiple tasks with CLIs or call your scripts over HTTPS.

Using the functions

With OpenFaaS

You can deploy them through openfaas on Kubernetes, or openfaas on a VM with faasd.

faas-cli store deploy curl

faas-cli store deploy nodeinfo

faas-cli deploy --image ghcr.io/openfaas/alpine:latest \
  --name env --fprocess="env"

Example usage:

faas-cli store deploy nmap
echo -n "-sP 192.168.0.0/24" faas-cli invoke nmap

With Docker

Or run them ad-hoc with Docker:

docker run -p 8080:8080 --name hey \
  -d ghcr.io/openfaas/hey:latest

curl http://127.0.0.1:8080 -d "-c 5 -n 1000 https://your-service.com/"

Included functions

  • alpine - a base for running built-in bash or busybox commands like env (use it to debug headers) or wc -l to count text within a body
  • curl - debug outgoing networking or internal services
  • figlet - print ASCII logso
  • hey - run a load-test against a HTTP API, website, or function with hey
  • nmap - scan a network range
  • nodeinfo - debug auto-scaling, find the container's memory, CPU information and uptime
  • sleep - debug timeouts or async by sleeping for a set duration
  • sentimentanalysis - use Python's textblob library to find out if a statement is positive or negative
  • shasum - generate a SHA for a given input
  • youtubedl - downloads a youtube video

Other functions: imagemagick, ffmpeg.

License

MIT

About

Common CLIs packaged in containers with a HTTP interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 47.1%
  • Dockerfile 40.7%
  • JavaScript 6.7%
  • Python 3.8%
  • Shell 1.7%