{"id":21896851,"url":"https://github.com/fititnt/openstreetmap-faas-infra","last_synced_at":"2026-05-06T21:37:07.633Z","repository":{"id":141349238,"uuid":"581683927","full_name":"fititnt/openstreetmap-faas-infra","owner":"fititnt","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-15T00:17:58.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T05:15:56.059Z","etag":null,"topics":["ansible","ansible-playbooks","backend-as-a-service","functions-as-a-service","openfaas","openstreetmap","serverless"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fititnt.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":"2022-12-24T00:03:39.000Z","updated_at":"2023-09-04T13:26:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"581b3caf-a08e-4fc2-ab1b-07f10d1d95f3","html_url":"https://github.com/fititnt/openstreetmap-faas-infra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fititnt/openstreetmap-faas-infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fititnt%2Fopenstreetmap-faas-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fititnt%2Fopenstreetmap-faas-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fititnt%2Fopenstreetmap-faas-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fititnt%2Fopenstreetmap-faas-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fititnt","download_url":"https://codeload.github.com/fititnt/openstreetmap-faas-infra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fititnt%2Fopenstreetmap-faas-infra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ansible","ansible-playbooks","backend-as-a-service","functions-as-a-service","openfaas","openstreetmap","serverless"],"created_at":"2024-11-28T14:14:33.206Z","updated_at":"2026-05-06T21:37:07.616Z","avatar_url":"https://github.com/fititnt.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openstreetmap-faas-infra\n**Non-official OpenStreetMap™ Infrastructure as code (Ansible) used to run free hosting of Function as a Service for both mappers and linked data peers**. With ❤️, from 🇧🇷.\n\n[![Ansible](img/vscode-ansible.png)](https://github.com/ansible/logos)\n[![OpenFaas](img/openfaas-whale.png)](https://www.openfaas.com/)\n\n\u003e Tip: if you're here because of the functions (to run chatbot, API requests, etc), [check the function stores, the openstreetmap-serverless-functions](https://github.com/fititnt/openstreetmap-serverless-functions).\n\n## How to run\n\n```bash\nansible-playbook -i inventories/osmbr main.yml\n```\n\n## The actual servers for the FaaS\n\n\u003e See [inventories/osmbr/](inventories/osmbr/)\n\n- FaaS endpoint: https://osm-faas.etica.ai/\n- Munin: https://osm-faas.etica.ai/munin/\n\n\u003c!--\n- https://munin.openstreetmap.org/\n--\u003e\n\n\u003c!--\n\n## Test URLs\n- curl https://osm-faas.etica.ai/function/nodeinfo\n- curl https://osm-faas.etica.ai/function/env\n- curl https://osm-faas.etica.ai/function/identicon\n- curl -X POST -d 'perfect test!' https://osm-faas.etica.ai/function/sentimentanalysis\n\n\n## Login\n\n```bash\n# Install the faas-cli on your machine\ncurl -sSL https://cli.openfaas.com | sudo sh\n\n# Then setup the variables. Contact operator for what \"\u003cpasswordhere\u003e\" is\nexport OPENFAAS_URL=https://osm-faas.etica.ai/\nexport OPENFAAS_USER=admin\n\n## Alternative 1\n echo \"\u003cpasswordhere\u003e\" \u003e ~/faas_pass.txt\ncat ~/faas_pass.txt | faas-cli login -u \"$OPENFAAS_USER\" --password-stdin\n\n## Alternative 1\n export OPENFAAS_PASS=\"\u003cpasswordhere\u003e\"\necho \"$OPENFAAS_PASS\" | faas-cli login -u \"$OPENFAAS_USER\" --password-stdin\n\n## all options\nfaas-cli help\n\n## Then you can access all the information also via command line\nfaas-cli list\n#    Function                      \tInvocations    \tReplicas\n#    business-strategy-generator   \t13119          \t1    \n#    env                           \t7              \t1    \n#    identicon                     \t3              \t1    \n#    nodeinfo                      \t2281           \t1    \n#    ocr                           \t2              \t1    \n#    sentimentanalysis             \t9              \t1 \n#    (...)\n\n```\n\n## Options\n\n```bash\nfaas-cli template store list\n\nNAME                     SOURCE             DESCRIPTION\ncsharp                   openfaas           Classic C# template\ndockerfile               openfaas           Classic Dockerfile template\ngo                       openfaas           Classic Golang template\njava11                   openfaas           Java 11 template\njava11-vert-x            openfaas           Java 11 Vert.x template\nnode17                   openfaas           HTTP-based Node 17 template\nnode16                   openfaas           HTTP-based Node 16 template\nnode14                   openfaas           HTTP-based Node 14 template\nnode12                   openfaas           HTTP-based Node 12 template\nnode                     openfaas           Classic NodeJS 8 template\npuppeteer-nodelts        alexellis          A puppeteer template for headless Chrome\nphp7                     openfaas           Classic PHP 7 template\nphp8                     openfaas           Classic PHP 8 template\npython                   openfaas           Classic Python 2.7 template\npython3                  openfaas           Classic Python 3.6 template\npython3-dlrs             intel              Deep Learning Reference Stack v0.4 for ML workloads\nruby                     openfaas           Classic Ruby 2.5 template\nruby-http                openfaas           Ruby 2.4 HTTP template\npython27-flask           openfaas           Python 2.7 Flask template\npython3-flask            openfaas           Python 3.7 Flask template\npython3-flask-debian     openfaas           Python 3.7 Flask template based on Debian\npython3-http             openfaas           Python 3.7 with Flask and HTTP\npython3-http-debian      openfaas           Python 3.7 with Flask and HTTP based on Debian\ngolang-http              openfaas           Golang HTTP template\ngolang-middleware        openfaas           Golang Middleware template\npython3-debian           openfaas           Python 3 Debian template\npowershell-template      openfaas-incubator Powershell Core Ubuntu:16.04 template\npowershell-http-template openfaas-incubator Powershell Core HTTP Ubuntu:16.04 template\nrust                     booyaa             Rust template\ncrystal                  tpei               Crystal template\ncsharp-httprequest       distantcam         C# HTTP template\ncsharp-kestrel           burtonr            C# Kestrel HTTP template\nvertx-native             pmlopes            Eclipse Vert.x native image template\nswift                    affix              Swift 4.2 Template\nlua53                    affix              Lua 5.3 Template\nvala                     affix              Vala Template\nvala-http                affix              Non-Forking Vala Template\nquarkus-native           pmlopes            Quarkus.io native image template\nperl-alpine              tmiklas            Perl language template based on Alpine image\ncrystal-http             koffeinfrei        Crystal HTTP template\nrust-http                openfaas-incubator Rust HTTP template\nbash-streaming           openfaas-incubator Bash Streaming template\ncobol                    devries            COBOL Template\n\n```\n--\u003e\n\n\n## Disclaimers\n\u003c!--\nTODO see https://wiki.osmfoundation.org/wiki/Trademark_Policy\n--\u003e\n\nOpenStreetMap™ is a trademark of the OpenStreetMap Foundation, and is used with their permission.\nThis project is not endorsed by or affiliated with the OpenStreetMap Foundation. (via [OSMF Trademark_Policy](https://wiki.osmfoundation.org/wiki/Trademark_Policy))\n\nAnsible logos are trademarked (via [ansible/logos](https://github.com/ansible/logos))\n\n## License\n\nPublic domain\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffititnt%2Fopenstreetmap-faas-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffititnt%2Fopenstreetmap-faas-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffititnt%2Fopenstreetmap-faas-infra/lists"}