Event JSON
{
"id": "0b3924bcbf077385afdc6ad2cac317dba56d9e615e31af858fd93e98cbc47dbe",
"pubkey": "434f97993627f1e61f14eeaf60caa8cfdcec10a592caff8250c825252d548c15",
"created_at": 1729572390,
"kind": 1,
"tags": [
[
"r",
"https://github.com/oren-z0/headers2image"
],
[
"r",
"https://header.cx.ms/image.png"
],
[
"r",
"https://header.cx.ms"
],
[
"r",
"https://header.cx.ms/json"
],
[
"r",
"https://header.cx.ms/json.json"
],
[
"r",
"https://header.cx.ms/json-(.*)"
],
[
"r",
"https://header.cx.ms/json-(.*).json"
],
[
"r",
"https://header.cx.ms"
],
[
"r",
"https://header.cx.ms"
],
[
"r",
"image.png"
],
[
"r",
"https://header.cx.ms"
],
[
"r",
"https://header.cx.ms"
],
[
"r",
"https://script.cx.ms/html/opengraph.html"
]
],
"content": "前几天看到能把 HTTP 客户端标头信息打印成图片的小工具:\nhttps://github.com/oren-z0/headers2image\n很适合一些特殊的场景下使用, 比如获取社交媒体 bot 的无头客户端的特征信息.\n\n昨晚给它自定义了一下, 添加了一些有用的标头和调整了样式和路由.\nhttps://header.cx.ms/image.png\n\n## JSON 输出\n\n- https://header.cx.ms\n- https://header.cx.ms/json\n- https://header.cx.ms/json.json\n\n为了避免客户端强制缓存, 还可以:\n\n- https://header.cx.ms/json-(.*)\n- https://header.cx.ms/json-(.*).json\n\n## 图片输出 (PNG)\n\n- https://header.cx.ms /image\n- https://header.cx.ms /image.png\n\n同样, 绕过客户端缓存:\n\n- https://header.cx.ms /image-(.*)\n- https://header.cx.ms /image-(.*).png\n\n## 应用实例\n\n- https://script.cx.ms/html/opengraph.html",
"sig": "a3d0d6cca0375f737de70d6c9f9ea88f1aabea733eca8d1cfef25406df4c89ce74b14fa60be0c7b1f1fd76f0615f5d879cd33c0d159c06af772d7b22319046fc"
}