{"id":20925827,"url":"https://github.com/comby-tools/comby-mutation-server","last_synced_at":"2026-07-06T03:31:01.077Z","repository":{"id":141623738,"uuid":"326317653","full_name":"comby-tools/comby-mutation-server","owner":"comby-tools","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-06T07:43:40.000Z","size":767,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-28T22:35:00.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/comby-tools.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-01-03T03:14:05.000Z","updated_at":"2025-08-30T17:08:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba1e17b1-403c-4074-aadb-20ee5ae3d546","html_url":"https://github.com/comby-tools/comby-mutation-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/comby-tools/comby-mutation-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcomby-mutation-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcomby-mutation-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcomby-mutation-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcomby-mutation-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comby-tools","download_url":"https://codeload.github.com/comby-tools/comby-mutation-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcomby-mutation-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35177220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-18T20:35:22.826Z","updated_at":"2026-07-06T03:31:01.047Z","avatar_url":"https://github.com/comby-tools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n## Install\n\n```\nnpm install express body-parser @iarna/toml minimist\n```\n## Server example\n\n### Add transformation rules\n\nPut [comby config files](https://comby.dev/docs/configuration#toml-format) in `rules`. See examples there, which are used by default.\n\n### Running the server\n\nStart the server:\n\n```bash\n$ export NODE_OPTIONS=\"--max-old-space-size=8192\"\n$ node server.js\n[+] Loaded 109 transformation rules\n[+] Mutation server listening at http://:::4448\n```\n\n**Parameters and defaults**\n\nFlags that matter:\n\n- `--port 5555` manually specify to listne on port `5555`. The default is `4448`.\n- `--retries N` repicks a random mutation in the `rules` directory if the current one doesn't apply, up to `N` times.\n- `--debug` prints out various debug info: source received, transformations picked and applied, etc.\n\nOther supported flags can be listed with `node server.js --help`.\n\n**Testing and debugging**\n\nStart the server: `node server.js --debug`. Then, a separate terminal:\n\n```bash\ncurl -d '{1} {2} {3} [a] [b] (*) (\u0026) (%, $)' -H \"Content-Type: text/plain\" -X POST http://localhost:4448/mutate\n```\n\nWhere `'...'` is taken as the source. Do this a couple of times until a rule can fire. See server output for debug messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomby-tools%2Fcomby-mutation-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomby-tools%2Fcomby-mutation-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomby-tools%2Fcomby-mutation-server/lists"}