Skip to content

functions-dev/awesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

Awesome Knative Function Templates

A community-driven collection of Knative Function templates that go beyond the basics.

For the official built-in templates (hello, echo, cloudevents), see functions-dev/templates.

Available Templates

Python

  • llamacpp — Local LLM text generation via llama.cpp
  • mcp-ollama — MCP server for Ollama (list/pull/call models)
  • ollama-client — HTTP proxy to a local Ollama server

How To Use

Create a function from this repository using the --repository flag:

func create myfunc --repository=https://github.com/functions-dev/awesome --language python --template=ollama-client

Where --language matches the top-level directory and --template matches the subdirectory containing the template:

awesome/
├── python/
│   ├── llamacpp/
│   ├── mcp-ollama/
│   └── ollama-client/

Then build and run locally:

cd myfunc
func run --builder=host

Or deploy to a cluster:

func deploy --builder=host --registry=myregistry.com/username

Contributing

Want to add a template? See CONTRIBUTING.md for the step-by-step guide.

Contact

Reach us on CNCF Slack in the #knative-functions channel.

About

Community templates for functions!

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages