{"id":30720512,"url":"https://github.com/corvusant/splixel","last_synced_at":"2025-09-03T11:02:42.562Z","repository":{"id":285010092,"uuid":"956789761","full_name":"Corvusant/Splixel","owner":"Corvusant","description":"Splixel is a small CLI tool which allows creation of an image diff using base64 encoded images in and html page. The main use is convenient sharing of diffs using a single file, allowing for direct comparison.","archived":false,"fork":false,"pushed_at":"2025-08-21T13:23:18.000Z","size":656,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T15:43:07.955Z","etag":null,"topics":["diff","html","image","images","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Corvusant.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-03-28T21:38:13.000Z","updated_at":"2025-08-21T13:23:21.000Z","dependencies_parsed_at":"2025-05-05T10:42:11.418Z","dependency_job_id":"2acb3d60-e1f3-48e1-9fd3-be855be7d80d","html_url":"https://github.com/Corvusant/Splixel","commit_stats":null,"previous_names":["tabbers/imagediffer","tabbers/splixel"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Corvusant/Splixel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corvusant%2FSplixel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corvusant%2FSplixel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corvusant%2FSplixel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corvusant%2FSplixel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Corvusant","download_url":"https://codeload.github.com/Corvusant/Splixel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corvusant%2FSplixel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273431415,"owners_count":25104496,"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-09-03T02:00:09.631Z","response_time":76,"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":["diff","html","image","images","zig","ziglang"],"created_at":"2025-09-03T11:01:05.193Z","updated_at":"2025-09-03T11:02:42.536Z","avatar_url":"https://github.com/Corvusant.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cfigure style=\"text-align: center;\"\u003e\u003cimg src=\"Resources/splixel.png\" alt=\"Splixel Logo.\"\u003e\u003cfigcaption style=\"text-align: center;\"\u003eSplixel\u003c/figcaption\u003e\u003c/figure\u003e\n\nSplixel is a small CLI tool which allows creation of an image diff using base64 encoded images in and html page. The main use is convenient sharing of diffs using a single file, allowing for direct comparison.\n\n## Installation\n\n### Windows\nPlace the Splixel executable in a folder of your choice and add this folder to your path Variable.\n```\nsetx path \"%PATH%;C:\\path\\to\\directory\\\"\n```\nRestart the commandline and use Splixel by entering the `splixel` command.\n\n## Usage\nSplixel supports 2 main modes folder mode and file mode.\n\n### Folder Mode\nFolder mode can be used for convenience in case the two images that should be diffed are in the same folder. Splixel will use the first 2 images in alphabetical order inside the provided folder.\n```\nsplixel -idir Path\\to\\folder -o path\\to\\outputfile\\file.html\n```\n\n### File Mode\nIn file mode one can specifie the paths to both files directly.\n```\nsplixel -ifile Path\\to\\file1.png Path\\to\\file2.png -o path\\to\\outputfile\\file.html\n```\n\n### Templates\nBy default Splixel will use its internal html template to generate the output file. This template can be written to a file using `-to`.\n```\nsplixel -to path\\to\\templatefile.html\n```\nYou can use this as a basis for your own templates, the only requirement for splixel to properly place the provided images into your template is the use of the `\u003cimg src=\"data:image/png;base64, \u003c{img-left}\u003e\"\u003e` and `\u003cimg src=\"data:image/png;base64, \u003c{img-right}\u003e\"\u003e` tags.\n\nYou can provide your own template in both file and folder mode.\n```\nsplixel -ifile Path\\to\\file1.png Path\\to\\file2.png -o path\\to\\outputfile\\file.html -t path\\to\\templatefile.html\nsplixel -idir Path\\to\\folder -o path\\to\\outputfile\\file.html -t path\\to\\templatefile.html\n```\n\n### Arg list\n* -h|-help|-?|?: prints arguments and help\n* -idir [directory path]: input directory to fetch images from (cannot be used with -ifile)\n* -ifile [filepath] [filepath]: images to use (cannot be used with -idir)\n* -o [filepath]: output file to use (file will be created if it does not exist, missing directories will NOT be created)\n* -t [filepath]: optional html template file to use, default will be used if none is provided\n* -to [filepath]: generates a template file from the basetemplate, this can be used to start creating your own templates. Cannot be used with other arguments\n\n### Example Results\n![Example Page1](examples/Example.png)\n\n## Build from Source\nTo build Splixle from source you need to first install zig: https://ziglang.org/learn/getting-started/\n\nAfterwards navigate to the checked out root folder and call `zig build` this will build an x64-Windows executable by default. You can update build.zig to create builds for other targets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorvusant%2Fsplixel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorvusant%2Fsplixel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorvusant%2Fsplixel/lists"}