MCPcopy Index your code
hub / github.com/chadaustin/photohash

github.com/chadaustin/photohash @v0.1.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.8 ↗ · + Follow
195 symbols 337 edges 26 files 9 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Building

Ubuntu 24.04

sudo apt install -y build-essential cmake nasm pkg-config libheif-dev libsqlite3-dev libz-dev

Ubuntu 22.04

sudo apt install -y build-essential cmake nasm pkg-config libsqlite3-dev

sudo add-apt-repository ppa:strukturag/libheif
sudo add-apt-repository ppa:strukturag/libde265
sudo apt update
sudo apt install -y libheif-dev

Debian

sudo apt install -y build-essential cmake nasm pkg-config libheif-dev libsqlite3-dev

Windows

Install CMake and nasm.exe.

cargo install cargo-vcpkg
cargo vcpkg build
cargo build

Extension points exported contracts — how you extend this code

OutputMode (Interface)
(no doc) [3 implementers]
src/cmd/index.rs
FakeInode (Interface)
(no doc) [1 implementers]
src/model.rs
OutputSequence (Interface)
(no doc) [3 implementers]
src/cmd/index.rs

Core symbols most depended-on inside this repo

unsupported_photo
called by 10
src/hash/mod.rs
do_index
called by 7
src/cmd/index.rs
compute_image_hashes
called by 6
src/hash/mod.rs
conn
called by 5
src/database.rs
with_statement
called by 5
src/database.rs
get_file
called by 4
src/database.rs
add_image_metadata
called by 4
src/database.rs
update
called by 4
src/hash/mod.rs

Shape

Method 69
Function 67
Class 48
Enum 8
Interface 3

Languages

Rust100%

Modules by API surface

src/database.rs31 symbols
src/cmd/index.rs27 symbols
src/hash/mod.rs24 symbols
src/scan/win.rs21 symbols
src/cmd/benchmark.rs11 symbols
src/model.rs10 symbols
src/cmd/diff.rs10 symbols
src/hash/jpeg.rs6 symbols
src/cmd/validate.rs6 symbols
src/cmd/separate.rs6 symbols
src/scan.rs5 symbols
src/cmd/db.rs5 symbols

For agents

$ claude mcp add photohash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page