{"id":19489912,"url":"https://github.com/ganesshkumar/openfaas-identicon","last_synced_at":"2025-06-15T20:37:23.689Z","repository":{"id":72460964,"uuid":"114566151","full_name":"ganesshkumar/openfaas-identicon","owner":"ganesshkumar","description":"OpenFaaS function to generation Identicons","archived":false,"fork":false,"pushed_at":"2017-12-21T12:23:37.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T02:23:12.075Z","etag":null,"topics":["function","identicon-generator","openfaas","openfaas-function"],"latest_commit_sha":null,"homepage":null,"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/ganesshkumar.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":"2017-12-17T20:25:26.000Z","updated_at":"2021-08-03T22:16:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"d07b8066-af26-49fe-bf62-0efd93e95a6c","html_url":"https://github.com/ganesshkumar/openfaas-identicon","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/ganesshkumar%2Fopenfaas-identicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganesshkumar%2Fopenfaas-identicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganesshkumar%2Fopenfaas-identicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganesshkumar%2Fopenfaas-identicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ganesshkumar","download_url":"https://codeload.github.com/ganesshkumar/openfaas-identicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250882508,"owners_count":21502322,"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":["function","identicon-generator","openfaas","openfaas-function"],"created_at":"2024-11-10T21:10:24.199Z","updated_at":"2025-04-25T19:30:58.852Z","avatar_url":"https://github.com/ganesshkumar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openfaas-identicon\n\u003e OpenFaaS function to generation Identicons\n\nThis is a simple [FaaS](https://github.com/openfaas/faas) function inspired by Bart Fokker's [post](https://blog.bartfokker.nl/identicon/).\n\n## Prerequisite\n* Make sure you have deployed a FaaS stack to your cluster using the instructions on the [FaaS repo](https://github.com/alexellis/faas).\n* Install [faas-cli](https://github.com/alexellis/faas-cli/) using `brew install faas-cli` or `curl -sSL https://get.openfaas.com | sudo sh`.\n\n## Usage\n**Create a new function**\n```\n$ faas-cli new --lang go identicon\n```\n\n**Clone this repo as the function**\n```\n$ rm -rf identicon\n\n$ git clone git@github.com:ganesshkumar/openfaas-identicon.git identicon\n```\n\n**Installing the dependencies**\n```\n$ cd identicon\n\n$ dep ensure\n\n# As of the build stage will throw an error when the vendor code(dependencies) doesn't comply gofmt\n# So let's make sure our dependencies passes the gofmt check\n\n$ gofmt -w vendor/*\n\n$ cd ..\n```\n\n**Build and deploy**\n```\n$ faas-cli build -f identicon.yml\n\n$ faas-cli deploy -f identicon.yml\n```\n\n**Testing the function**\n```\n$ curl localhost:8080/function/identicon --data \"openfaas\" \u003e sample/openfaas.png\n```\n\n![Sample image generated for openfaas](sample/openfaas.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganesshkumar%2Fopenfaas-identicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganesshkumar%2Fopenfaas-identicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganesshkumar%2Fopenfaas-identicon/lists"}