{"id":48186903,"url":"https://github.com/esoadamo/ci-cd-apier","last_synced_at":"2026-04-04T17:50:39.391Z","repository":{"id":275983715,"uuid":"927859225","full_name":"esoadamo/ci-cd-apier","owner":"esoadamo","description":"Flask-like API framework for GitLab CI/CD pipelines","archived":false,"fork":false,"pushed_at":"2025-12-29T19:43:42.000Z","size":760,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T01:47:55.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/ci-cd-apier/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esoadamo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-05T16:58:20.000Z","updated_at":"2025-12-29T19:38:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"51c5af57-37ec-4ef3-a50a-2600352816b2","html_url":"https://github.com/esoadamo/ci-cd-apier","commit_stats":null,"previous_names":["esoadamo/ci-cd-apier"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/esoadamo/ci-cd-apier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esoadamo%2Fci-cd-apier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esoadamo%2Fci-cd-apier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esoadamo%2Fci-cd-apier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esoadamo%2Fci-cd-apier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esoadamo","download_url":"https://codeload.github.com/esoadamo/ci-cd-apier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esoadamo%2Fci-cd-apier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":[],"created_at":"2026-04-04T17:50:39.251Z","updated_at":"2026-04-04T17:50:39.362Z","avatar_url":"https://github.com/esoadamo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ci-cd-APIer\n\nAPIer is a library that allows you to launch its backend code with Flask-like syntax using GitLab CI/CD.\nAll the requests and responses are processed with e2e encryption using [age](https://age-encryption.org/),\nso nobody has access to the data except the sender (web page) and the receiver (GitLab job in memory).\n\n## Usage example\n\n**To see the full example, take a look at the [example repository](https://gitlab.com/esoadamo/ci-cd-apier-example/).**\n\nWhenever the client calls a backend via APIer script, e.g.:\n\n```js\nconst APIer = new APIer(\n    '$AGE_PUBLIC_KEY$',\n    '$GITLAB_PIPELINE_ENDPOINT$',\n    '$GITLAB_TOKEN$'\n);\n\nconst totalSum = await APIer.sendRequest('sumNumbers', [1, 2, 3, 4, 5]);\n```\n\nA pipeline is triggered. Example code that handles the request in the pipeline may be:\n\n```python\napp = APIER(environ[\"AGE_SECRET_KEY\"])\n\n@app.route(\"echo\")\ndef endpoint_echo(data: any) -\u003e str:\n    return f\"You said: {data}. Enjoy :)\"\n    \n@app.route(\"sumNumbers\")\ndef endpoint_sum(data: list[int]) -\u003e str:\n    return str(sum(data))\n\napp.process_requests()\n```\n\nThere also exists Python client for APIer in `ci_cd_apier.client` package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesoadamo%2Fci-cd-apier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesoadamo%2Fci-cd-apier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesoadamo%2Fci-cd-apier/lists"}