{"id":13563126,"url":"https://github.com/elixir-ivcu/ivcu","last_synced_at":"2025-10-21T18:54:49.487Z","repository":{"id":57508904,"uuid":"464742847","full_name":"elixir-ivcu/ivcu","owner":"elixir-ivcu","description":"Image Validator, Converter, and Uploader","archived":false,"fork":false,"pushed_at":"2022-03-14T15:28:13.000Z","size":29,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-21T18:54:17.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elixir-ivcu.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}},"created_at":"2022-03-01T04:26:37.000Z","updated_at":"2024-08-05T17:38:38.000Z","dependencies_parsed_at":"2022-08-30T03:41:04.256Z","dependency_job_id":null,"html_url":"https://github.com/elixir-ivcu/ivcu","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/elixir-ivcu/ivcu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-ivcu%2Fivcu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-ivcu%2Fivcu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-ivcu%2Fivcu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-ivcu%2Fivcu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elixir-ivcu","download_url":"https://codeload.github.com/elixir-ivcu/ivcu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-ivcu%2Fivcu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280317282,"owners_count":26309998,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"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-08-01T13:01:15.404Z","updated_at":"2025-10-21T18:54:49.440Z","avatar_url":"https://github.com/elixir-ivcu.png","language":"Elixir","funding_links":[],"categories":["Files and Directories"],"sub_categories":[],"readme":"# Image Validator, Converter, and Uploader\n\nA library to validate, convert, and upload images.\n\n## Why another library?\n\nThis library serves as a replacement for\n[waffle](https://github.com/elixir-waffle/waffle) which leaves a lot\nto be desired.\n\n1. Waffle abuses `__using__` macro where it could use behaviours with\n   defined interfaces.\n\n2. It has too much levels of indirection where it doesn't need to\n   (nested usings for example), making it harder to understend the\n   codebase.\n\n3. The lack or incorrectness of documentation only makes things worse.\n\nStill this library mainly uses the same concepts as its predecessor,\nit just attempts to implement them differently.\n\n## ivcu_ecto when?\n\nThere is a package named\n[waffle_ecto](https://github.com/elixir-waffle/waffle_ecto) that\nattempts to integrate waffle into ecto changesets, which is a bad\ndecision as changesets are supposed to be pure computations without\nside-effects. When we add effects to them, we only catch strange\nbehaviour.\n\nAs an example, when we call `Ecto.Changeset.apply_action/2` to do\nvalidations, we trigger storing action saving corresponding file when\nwe only needed to cast and validate params.\n\nAlso, with `waffle_ecto` we tie the process, of saving an image, to a\ndatabase action and yet don't handle image deletion on an update.\n\nYour best bet is to manage the storing\n[manually](./guides/using_with_ecto.md).\n\n## Installation and Usage\n\nSee [Getting Started](./guides/getting_started.md) guide.\n\n## Documentation\n\nDocumentation can be found at\n[https://hexdocs.pm/ivcu](https://hexdocs.pm/ivcu).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-ivcu%2Fivcu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felixir-ivcu%2Fivcu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-ivcu%2Fivcu/lists"}