reactive-resume
reactive-resume
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:apherchin/dsh-photo2dsh-by-lan
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Phone camera → LAN → a folder on this PC → directly readable by the DSH agent.
One tap on the phone (iOS Shortcuts, Android HTTP Shortcuts) POSTs a photo to this PC.
The plugin receives it, writes it into a folder you choose, and raises a Windows toast.
No cloud, no IM app, no mobile app, no app.asar patching.
Its configuration UI lives in the DSH sidebar: Plugins → this package's page.
app.asar patching.# preferred (migratable)
dsh plugin --profile desktop add dsh-photo2dsh-by-lan
# or from a local checkout
dsh plugin --profile desktop add file:D:\path\to\dsh-photo2dsh-by-lan
Then allow the port through the firewall once (the only step needing admin):
netsh advfirewall firewall add rule name="DSH Photo2DSH" dir=in action=allow protocol=TCP localport=8787 profile=any
⚠️ Do not omit
profile=any. A rule that only covers thepublicprofile silently drops inbound packets when Windows classifies your network as private — the phone then reports "the server stopped responding", which is very hard to diagnose.Do not try to reuse an already-open port either: on the machine this was developed on, the only "any program, any profile" TCP port was held exclusively by
http.sys(EACCES).
Restart DSH afterwards (the client half is assembled at boot).
Sidebar Plugins → this package → the config card:
| Field | Meaning |
|---|---|
| Landing directory | Where photos land. A <date>\ subfolder is created automatically |
| Port | default 8787 — changing it needs a new firewall rule |
| Max file size (MB) | default 64 |
| Toast on arrival | default on |
| Require token | default on; keep it on |
| Upload URL / token | read-only, one-click copy |
Prefer a directory inside your current session workspace, so the file sandbox lets the agent read it.
✅ 照片已收到
格式:JPEG(1.63 MB)
文件:20261003232612-4d2b993e-image.jpg
时间:2026-10-03 23:26:12
已存入 PC 的收件箱文件夹
On first LAN access iPadOS asks "allow access to local network devices" — you must allow it. That is an iOS gate, unrelated to the firewall.
To send only selected photos: ⓘ → Show in Share Sheet → accept Images, then share from Photos.
Same URL, same POST + file body. The wire protocol is identical.
<your directory>\
└─ 2026-10-03\
├─ 20261003232612-4d2b993e-image.jpg ← local timestamp - sha256[0:8] - sanitized name
└─ 20261003232612-4d2b993e-image.json ← sidecar: original name, note, bytes, sha256, format, source
link() + -1/-2 suffixes).Content-Type: a real device sent image/jpeg
in the header while the body was actually PNG.| Symptom | Cause | Fix |
|---|---|---|
| "server stopped responding" (timeout) | inbound dropped by the firewall | add the rule, with profile=any |
❌ ... 地址里缺少正确的 token |
URL missing the /u/<token> part |
re-copy the full URL from the config card |
❌ 这不是一张能识别的图片 |
the body really is not an image | check the File field in your shortcut |
| response says "仍是 PNG" | Convert Image is not wired to the File field | see step 3 above |
| the package page does not appear | its loader row is disabled, or profile not restarted | the client half attaches to the row whose specifier is exactly the package name |
| port failed to start | port already in use | change the port and open the firewall for the new one |
Log: $DSH_HOME\photo2dsh-by-lan.log · Config: $DSH_HOME\photo2dsh-by-lan.json
401 never echoes the correct token.GET /) is served only to 127.0.0.1.os: ["win32"]; toasts use the Windows PowerShell 5.1 WinRT projection).node test/photo2dsh.test.mjs # 50 offline assertions, including every real-device failure case CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: self-hosted。