add phash repost detection

This commit is contained in:
2026-06-13 19:09:36 +02:00
parent 4c742aaf66
commit 1b8860d8ff
4 changed files with 67 additions and 5 deletions

View File

@@ -260,7 +260,11 @@
<th>Repost</th>
<td>
@each(item.reposts as rp)
<a href="/{{ rp.id }}" style="margin-right: 4px;">#{{ rp.id }}</a>
@if(rp.match_type === 'phash')
<a href="/{{ rp.id }}" style="margin-right: 4px; opacity: 0.75;" tooltip="Visually similar (perceptual hash)" flow="up">~#{{ rp.id }}</a>
@else
<a href="/{{ rp.id }}" style="margin-right: 4px;" tooltip="Exact duplicate (checksum)" flow="up">#{{ rp.id }}</a>
@endif
@endeach
</td>
</tr>