{"id":17997384,"url":"https://github.com/thma/piserver","last_synced_at":"2025-04-04T06:20:56.371Z","repository":{"id":46356042,"uuid":"135631385","full_name":"thma/PiServer","owner":"thma","description":"Computation of PI with an arbitrary precision made available as an OpenFAAS service","archived":false,"fork":false,"pushed_at":"2023-12-15T17:58:35.000Z","size":11,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T17:32:47.916Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thma.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":"2018-05-31T20:19:30.000Z","updated_at":"2018-06-01T20:03:01.000Z","dependencies_parsed_at":"2024-10-29T21:47:06.685Z","dependency_job_id":null,"html_url":"https://github.com/thma/PiServer","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/thma%2FPiServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thma%2FPiServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thma%2FPiServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thma%2FPiServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thma","download_url":"https://codeload.github.com/thma/PiServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247129808,"owners_count":20888457,"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":[],"created_at":"2024-10-29T21:18:23.294Z","updated_at":"2025-04-04T06:20:56.352Z","avatar_url":"https://github.com/thma.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiServer\nThis is a demo of an OpenFAAS compliant service written in haskell\n\nAfter running the build.sh script the server will be available in the OpenFAAS UI.\nThe server expects a positive integer value as input parameter N.\nThe server will then return PI with a precision of N decimal digits.\n(The actual calculation is done the HasBigDecimal library based on Chudnovskis algorithm)\n\n# Ho to Build\n- install Openfaas: http://docs.openfaas.com/deployment/docker-swarm/\n  (There is also an Kubernetes version: http://docs.openfaas.com/deployment/kubernetes/)\n\n- install OpenFAAS command line interface: http://docs.openfaas.com/cli/install/\n\n- install AlpineHaskell (A minimalistic docker image providing essential runtime libs for haskell programs): https://github.com/thma/AlpineHaskell\n\n- execute PiServer/build.sh\n\n- test installation \nopen http://127.0.0.1:8080/ui/ in your browser and click on the \"piserver\" entry in the left menu.\non the right press on the \"invoke\" button. You will receive an Response Body: \"ERROR: please provide an integer to specify how many decimals of pi you want me to compute\"\nfill in a positive integer (say 234) into the \"Request body\" field and press \"invoke\" again.\nThis time the Response Body should be PI with your specified accuracy, say: \"3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786\n\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthma%2Fpiserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthma%2Fpiserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthma%2Fpiserver/lists"}