{"id":29828953,"url":"https://github.com/josephcatrambone/pixelbox","last_synced_at":"2025-07-29T08:14:54.907Z","repository":{"id":39962786,"uuid":"346229425","full_name":"JosephCatrambone/pixelbox","owner":"JosephCatrambone","description":"Image Search Engine in Rust","archived":false,"fork":false,"pushed_at":"2023-11-29T18:19:04.000Z","size":95561,"stargazers_count":29,"open_issues_count":7,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-05-16T04:17:12.359Z","etag":null,"topics":["rust","search"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JosephCatrambone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-10T04:20:18.000Z","updated_at":"2024-05-13T12:08:18.000Z","dependencies_parsed_at":"2023-11-13T05:25:04.555Z","dependency_job_id":"a544f1d1-9103-4fb6-a87d-48de11951cb0","html_url":"https://github.com/JosephCatrambone/pixelbox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JosephCatrambone/pixelbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephCatrambone%2Fpixelbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephCatrambone%2Fpixelbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephCatrambone%2Fpixelbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephCatrambone%2Fpixelbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JosephCatrambone","download_url":"https://codeload.github.com/JosephCatrambone/pixelbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephCatrambone%2Fpixelbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267652825,"owners_count":24122100,"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-07-29T02:00:12.549Z","response_time":2574,"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":["rust","search"],"created_at":"2025-07-29T08:14:54.185Z","updated_at":"2025-07-29T08:14:54.901Z","avatar_url":"https://github.com/JosephCatrambone.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PixelBox\n#### A desktop image search and indexing tool.\n\n---\n\n![Demo Screenshot - Filename Search](https://github.com/JosephCatrambone/pixelbox/blob/main/.github/images/demo_text_search.png?raw=true)\n\nPixelBox is still pre-alpha.  Database schema and feature prioritization are subject to change.\n\n### Features\n* Cross-platform (Windows, Linux, MacOS) and FOSS\n* Search across filenames and exif tags\n* Drag and drop search for visually similar images\n* Fast parallel indexing of images\n* User-moddable image similarity engine (!)\n* Portable and inspectable database format\n\n### Technologies\n* Rust as the primary language (with egui and tract-onnx)\n* SQLite as a storage medium for the image database\n* Torch for training the image similarity model\n* ONNX for running the similarity model\n\n### TODOs for Alpha Release\n* ~~Compress thumbnails in database~~ [DONE - 2x Compression for No Loss in Speed]\n* ~~Remove from index on folder clear~~ [DONE]\n* ~~Settings Page~~ [DONE]\n* Start removing those unwraps\n \n### TODOs for Roadmap\n* Better similarity search\n* OCR for images (search on text in images)\n* Editable tags\n* Face search\n* Search on image contents in plaintext\n* Watched directories via notify crate\n* If a model is unavailable, don't perform image hash and just disable similarity search so people can use it for just tags\n* Index inside of zip files\n\n### Project Structure\n\n* .github - Links to demo pictures for readme and, eventually, CI/GitHub Action build scripts\n* models - The final ONNX files to be used by the application for visual similarity\n* resources - Non-shipped experiment logs and python training files\n* src - The main application code\n  * image_hashes - Wrappers for different image hashing methods\n  * ui - Code for each of the major UI panels like search view, folder view, etc.\n\n### Using Your Own Image Hash (Advanced)\n\nPixelBox's search uses the cosine distance between byte-quantified n-dimensional floats.\nFor example, if you represent your image as [-1.0, 1.0, 0.0, 0.1] then this will be mapped to a 4-byte vector of [0x00, 0xFF, 0x80, 0x8C].\n\nThere are two ways to use your own image hash methods:\n\n1) Replace the image_similarity.onnx file with your own trained model.  The inputs should be channel-first 128x128 RGB images and the outputs should be a 1D vector of floats between -1 and 1.  See image_hashes/efficientnet.rs for constraints.\n2) Replace the 'hash' in the 'semantic_hash' table of your database.  This should be an array of u8s as described above.  You will not be able to drag-and-drop images for search if using this approach, but after finding a seed image you can right-click and do 'find similar'.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephcatrambone%2Fpixelbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosephcatrambone%2Fpixelbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephcatrambone%2Fpixelbox/lists"}