{"id":16683698,"url":"https://github.com/yamachu/scalafunctions","last_synced_at":"2025-04-05T03:23:03.253Z","repository":{"id":42993741,"uuid":"166782614","full_name":"yamachu/ScalaFunctions","owner":"yamachu","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-07T08:11:49.000Z","size":451,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T11:33:57.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yamachu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-21T09:10:50.000Z","updated_at":"2020-04-12T07:31:46.000Z","dependencies_parsed_at":"2023-02-06T15:46:29.412Z","dependency_job_id":null,"html_url":"https://github.com/yamachu/ScalaFunctions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamachu%2FScalaFunctions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamachu%2FScalaFunctions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamachu%2FScalaFunctions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamachu%2FScalaFunctions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yamachu","download_url":"https://codeload.github.com/yamachu/ScalaFunctions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247281742,"owners_count":20913226,"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-12T14:25:48.365Z","updated_at":"2025-04-05T03:23:03.236Z","avatar_url":"https://github.com/yamachu.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScalaFunctions\n\nSample projects for running Scala and Scala.js application on Azure Functions, AWS Lambda and more...\n\n## How to build\n\n### Azure Functions (JVM)\n\n```sh\n$ sbt azure/assembly\n# if you want to handle file changes and build\n$ sbt \"project azure\" \"~assembly\"\n```\n\nor use Makefile\n```sh\n$ make azure/build\n# if you want to handle file changes and build\n$ make azure/build-watch\n```\n\n### Azure Functions (Node.js)\n\n_Now, I don't prepare easy build command :(_\n\n```sh\n$ sbt scalajs/fullOptJS\n# if you want to handle file changes and build\n$ sbt \"project scalajs\" \"~fullOptJS\"\n```\n\n`scalajs/dist/handler.js` will be built.\nAnd, \n\n```sh\n$ cd azurejs\n$ npx webpack\n```\n\n## How to run\n\n### Azure Functions (JVM)\n\nRequired:\n* JDK 8 (func commands required 8)\n* Azure Functions Core Tools\n\n```sh\n$ cd azure/app\n$ func host start\n# if you want to debug jar by attaching process\n$ func host start --language-worker -- \"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005\"\n```\n\nif you can use Docker, use Docker! (recommended)\n```sh\n$ make docker/init # build Azure Functions Java Host\n$ make docker/azure-functions\n```\n\n### Azure Functions (Node.js)\n\n_Now, I don't prepare easy run command :(_\n\nRequired:\n* Node.js 8 or 10\n* Azure Functions Core Tools\n\n```sh\n$ cd azurejs\n$ func host start\n# Todo: How to debug...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamachu%2Fscalafunctions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyamachu%2Fscalafunctions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamachu%2Fscalafunctions/lists"}