A tool for tailing the firehose and matching images against known perceptual hashes, and then labeling them.
1{
2 "name": "skywatch-phash",
3 "version": "0.2.0",
4 "type": "module",
5 "description": "Perceptual hash-based image moderation for Bluesky",
6 "scripts": {
7 "dev": "bun --watch src/main.ts",
8 "start": "bun src/main.ts",
9 "test": "bun test",
10 "test:watch": "bun test --watch",
11 "lint": "biome check .",
12 "lint:fix": "biome check --write .",
13 "format": "biome format --write .",
14 "typecheck": "tsc --noEmit",
15 "phash": "bun scripts/compute-phash.ts"
16 },
17 "dependencies": {
18 "@atproto/api": "^0.13.24",
19 "@skyware/jetstream": "^0.2.2",
20 "ioredis": "^5.4.1",
21 "p-ratelimit": "^1.0.1",
22 "pino": "^9.5.0",
23 "pino-pretty": "^11.2.2",
24 "prom-client": "^15.1.3",
25 "sharp": "^0.33.5",
26 "undici": "^7.16.0"
27 },
28 "devDependencies": {
29 "@biomejs/biome": "^1.9.4",
30 "@types/bun": "^1.1.13",
31 "@types/node": "^22.10.2",
32 "typescript": "^5.7.2"
33 }
34}