{"id":20564503,"url":"https://github.com/tarantool/cartridge-extensions","last_synced_at":"2026-04-21T06:05:20.116Z","repository":{"id":48042090,"uuid":"236485079","full_name":"tarantool/cartridge-extensions","owner":"tarantool","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-24T09:28:22.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-01-16T19:44:31.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/tarantool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-01-27T12:24:55.000Z","updated_at":"2022-12-29T06:08:03.000Z","dependencies_parsed_at":"2023-01-31T08:16:01.065Z","dependency_job_id":null,"html_url":"https://github.com/tarantool/cartridge-extensions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/cartridge-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242174173,"owners_count":20084149,"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-11-16T04:27:20.942Z","updated_at":"2026-04-21T06:05:20.085Z","avatar_url":"https://github.com/tarantool.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Cartridge-extensions\n\nThis module represents new role `extensions` for Cartridge.\n\nAll `extensions/*.lua` files will be loaded as Lua modules.\nThey'll be accessible through\n\n```lua\nlocal mymodule = require('extensions.mymodule')\n```\n\n### How to export my functions?\n\nAlso `extensions/config.yml` describes how to export those modules in\nserverless style.\n\nFor now there're two supported types of events:\n- `binary`,\n- `http`.\n\nHTTP event supports any kind of methods: `GET`, `POST`, `PUT`, etc.\n\nHere is a little example:\n\n```yml\nfunctions:\n  transfer_money:\n    module: extensions.banking\n    handler: transfer_money\n    events:\n    - binary:\n        # It'll assign _G.__transfer_money = banking.transfer_money\n        path: __transfer_money\n\n  get_balance:\n    module: extensions.banking\n    handler: http_get_balance\n    events:\n    - http:\n        path: /get_balance\n        method: GET\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcartridge-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Fcartridge-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcartridge-extensions/lists"}