{"id":26489984,"url":"https://github.com/meownoid/bender","last_synced_at":"2026-04-24T20:35:20.605Z","repository":{"id":281655149,"uuid":"922224650","full_name":"meownoid/bender","owner":"meownoid","description":"Data bending tool","archived":false,"fork":false,"pushed_at":"2025-04-26T16:06:04.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-26T17:20:35.263Z","etag":null,"topics":["art","databending","images","sound"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meownoid.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,"zenodo":null}},"created_at":"2025-01-25T16:43:05.000Z","updated_at":"2025-04-26T16:06:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"62ba54b3-d914-4ac3-9ceb-6b28b4e68e81","html_url":"https://github.com/meownoid/bender","commit_stats":null,"previous_names":["meownoid/bender"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meownoid/bender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meownoid%2Fbender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meownoid%2Fbender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meownoid%2Fbender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meownoid%2Fbender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meownoid","download_url":"https://codeload.github.com/meownoid/bender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meownoid%2Fbender/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260380023,"owners_count":23000192,"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":["art","databending","images","sound"],"created_at":"2025-03-20T07:53:53.176Z","updated_at":"2026-04-24T20:35:20.600Z","avatar_url":"https://github.com/meownoid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\".github/logo.jpg\" width=\"600\" height=\"200\"\u003e\u003c/p\u003e\n\nAn image-bending tool that transforms images to sound and back.\n\n## Installation\n\nEnsure you have [uv](https://github.com/astral-sh/uv) installed.\n\n```bash\ngit clone https://github.com/meownoid/bender.git\ncd bender\nuv tool install --reinstall .\n```\n\n(Optional) Enable autocompletion by generating a completion script and sourcing it in your shell configuration:\n\n```bash\n_BENDER_COMPLETE=zsh_source bender \u003e ~/.zshrc.d/bender-complete.zsh\n```\n\n## Usage\n\n### Convert image to sound\n\n```bash\nbender convert image.jpg\n```\n\nThis creates `image-xxxx.wav` and `image-xxxx.json` files using the default algorithm. The `.json` file contains metadata for reverse conversion.\n\nSpecify the output file name:\n\n```bash\nbender convert image.jpg -o image.wav\n```\n\nWhen converting multiple files or using `--n-times`, `--output` must be a directory (it will be created if it does not exist).\n\nWrite the metadata JSON to a specific location:\n\n```bash\nbender convert image.jpg --metadata-out ./metadata\n```\n\n### Convert processed sound back to an image\n\n```bash\nbender convert image-xxxx-processed.wav\n```\n\nThe corresponding `.json` file with the longest matching prefix is selected automatically.\n\nUse an explicit metadata file instead of auto-detection:\n\n```bash\nbender convert image-xxxx-processed.wav --metadata image-xxxx.json\n```\n\n### List available algorithms and parameters\n\n```bash\nbender convert --list\n```\n\n### Use specific algorithm and parameters\n\n```bash\nbender convert -a bmp -p sample_size 1 image.jpg\n```\n\nYou can also pass parameters as `key=value`:\n\n```bash\nbender convert -a bmp -p sample_size=1 image.jpg\n```\n\n### Edit images\n\n```bash\nbender edit -a split_channels input.jpg\n```\n\nWhen multiple images are provided, the editor receives all inputs and produces a single output file.\n\n### Process sounds\n\n```bash\nbender process -a delay input.wav\n```\n\nWhen multiple sounds are provided, the processor receives all inputs and produces a single output file.\n\n### Monitor and convert matching files\n\nWhen experimenting, it might be useful to automatically convert new files as they appear.\n\n```bash\nbender monitor 'image-*.wav'\n```\n\nThis command converts new sound files with the prefix `image-` back to images. Use quotes to prevent shell expansion of the pattern.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeownoid%2Fbender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeownoid%2Fbender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeownoid%2Fbender/lists"}