{"id":15576333,"url":"https://github.com/damnever/useless","last_synced_at":"2026-05-16T18:03:41.433Z","repository":{"id":141675498,"uuid":"194088097","full_name":"damnever/useless","owner":"damnever","description":"A useless FaaS framework build on top of Kubernetes.","archived":false,"fork":false,"pushed_at":"2019-06-28T12:52:38.000Z","size":3818,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T09:29:14.433Z","etag":null,"topics":["faas","k8s","kubernetes","serverless","useless"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damnever.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-27T12:08:00.000Z","updated_at":"2019-06-29T01:07:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"39c5e501-89e5-42d2-b7ce-08c51938c6ec","html_url":"https://github.com/damnever/useless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damnever%2Fuseless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damnever%2Fuseless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damnever%2Fuseless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damnever%2Fuseless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damnever","download_url":"https://codeload.github.com/damnever/useless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243250005,"owners_count":20260931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["faas","k8s","kubernetes","serverless","useless"],"created_at":"2024-10-02T18:46:32.689Z","updated_at":"2025-09-25T17:47:22.855Z","avatar_url":"https://github.com/damnever.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Useless\n\nA simple useless 'FaaS' framework build on top of Kubernetes, since it is useless, hard coded things were everywhere.\n\nJust for [learning](https://drafts.damnever.com/2019/play-FaaS-and-Kubernetes-with-hands-and-brain.html), play with it:\n```Bash\n# If you want to run ./hack/update-codegen.sh, you must:\n#  - go get -u k8s.io/code-generator/cmd/...\n#  - put the current project under /path/to/github.com/damnever/, that is a known issue for code-generator\ngit clone git@github.com:damnever/useless.git \u0026\u0026 cd useless\n\n# NOTE: minikube may fail to set up the cluster if --memory too small(e.g. 1024)..\nkubectl create namespace useless\nkubectl config set-context --current --namespace=useless\n# Create CRD\nkubectl create -f ./artifacts/function-definition.yaml\n# Create controller to deal with CRD\nkubectl create -f ./artifacts/controller-deployment.yaml\n\n\nmake build-cli\n# ./bin/useless-cli -build ./artifacts/what_the_commits.go::WhatTheCommits  # build and push function image\n./bin/useless-cli -create ./artifacts/what_the_commits.go::WhatTheCommits\n\n# Ingress maybe a good choice, anyway..\nkubectl get services\nkubectl port-forward service/whatthecommits 8080:80\ncurl -H \"Content-Type: application/json\" -X POST -d '{\"input\":\"{\\\"count\\\":3}\"}' http://localhost:8080\n\n\n# Clean up\n# Or you can make the process slower..\n# - ./bin/useless-cli -delete whatthecommits\n# - kubectl delete -f ./artifacts/controller-deployment.yaml\n# - kubectl delete -f ./artifacts/function-definition.yaml\nkubectl delete namespace useless\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamnever%2Fuseless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamnever%2Fuseless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamnever%2Fuseless/lists"}