{"id":13935670,"url":"https://github.com/gitfx/ActionServerless","last_synced_at":"2025-07-19T20:33:32.984Z","repository":{"id":54097971,"uuid":"344864037","full_name":"gitfx/ActionServerless","owner":"gitfx","description":"Use GitHub Actions to create a Serverless service.","archived":false,"fork":false,"pushed_at":"2024-04-27T13:20:27.000Z","size":23,"stargazers_count":109,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-08T07:03:26.578Z","etag":null,"topics":["api","faas","github-actions","gitops","learn","learn-to-code","python","ruby","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"https://gitfx.github.io/","language":"Python","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/gitfx.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":"2021-03-05T16:10:45.000Z","updated_at":"2024-11-01T14:33:06.000Z","dependencies_parsed_at":"2024-06-19T09:59:59.401Z","dependency_job_id":"bcd254ae-d56d-4344-82c9-c564417a6091","html_url":"https://github.com/gitfx/ActionServerless","commit_stats":null,"previous_names":["gitfx/actionserverless","gitx-io/actionserverless"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitfx%2FActionServerless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitfx%2FActionServerless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitfx%2FActionServerless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitfx%2FActionServerless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitfx","download_url":"https://codeload.github.com/gitfx/ActionServerless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226677219,"owners_count":17666018,"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":["api","faas","github-actions","gitops","learn","learn-to-code","python","ruby","serverless","serverless-framework"],"created_at":"2024-08-07T23:01:58.793Z","updated_at":"2025-07-19T20:33:32.971Z","avatar_url":"https://github.com/gitfx.png","language":"Python","readme":"# ActionServerless - Use GitHub Actions to create a serverless service\n\n[![ActionServerless Testing](https://github.com/gitfx/ActionServerless/workflows/Test%20run%20funcs/badge.svg)](https://github.com/gitfx/ActionServerless/blob/master/.github/workflows/test_run_funcs.yml)\n\nActionServerless is an action using [GitFx](https://github.com/gitfx/GitFx) to do some computing and then generate a string/JSON file to a path, you can visit the file as a service when in dev/testing, or even in your production. We may take it as a GitHub Actions powered `serverless` service.\n\nIn fact you can do all of these in native GitHub actions. ActionServerless just wraps the steps to simplify the work:\n\n1. you can focus on coding the real logic, no need to care too much setup steps on the languages that ActionServerless supported(JS/Ruby/Python/Perl etc.). With [a template](https://github.com/gitfx/ActionServerless-template) we provide, you even don't bother to edit the action workflow configuration.\n2. use the route grammer we defined to specify a path to store the generated string/JSON file, that makes the job easy and clear.\n\n## Quick start\n\nAt first [use the template](https://github.com/gitfx/ActionServerless-template/generate) to create a repository. Then We start with a Python example:\n\n```python\n# function.py\nimport json\n\n# GET /api/py_hello.json\n\nprint(json.dumps({\"hello\": \"world\"}))\n```\n\nput the file to a path(default is the root path of a repo, otherwise you need add the path as an argument to your actions configuaration),  when you push the code the action will be triggered. Then the program's output is written to a file located in `api/py_hello.json` that you defined as a route in the comment.\n\nmore languages' examples you can find [here](https://github.com/gitfx/GitFx/tree/master/test/func_examples).\n\n## Languages supported\n\nSee: https://github.com/gitfx/GitFx#languages-supported\n\n\n## Documents\n\nSee: https://github.com/gitfx/GitFx#documents\n\n## Real world examples\n\nSee: https://github.com/gitfx/GitFx#real-world-examples\n\n## Contributions\n\nContributions are welcome! You may check the following features in case you'd like to contribute but no idea what to do:\n\n* Support to add your favorite languages\n* Support dependency installation to the existing languages\n* Use this action to create an application and share it\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitfx%2FActionServerless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitfx%2FActionServerless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitfx%2FActionServerless/lists"}