{"_id":"matrix-appservice-wechaty","_rev":"91-faa18415e876682adc17ab810b0c48d2","name":"matrix-appservice-wechaty","dist-tags":{"latest":"0.8.32","next":"0.9.10"},"versions":{"0.0.2":{"name":"matrix-appservice-wechaty","version":"0.0.2","description":"Matrix Application Services Bridge for Wechaty","main":"index.js","scripts":{"lint":"echo lint","test":"echo test"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"matrix-appservice-bridge":"^1.8.1","wechaty":"^0.22.6"},"git":{"scripts":{"pre-push":"./scripts/pre-push.sh"}},"publishConfig":{"access":"public","tag":"latest"},"devDependencies":{"git-scripts":"^0.2.1","ts-node":"^8.1.0","tslint":"^5.16.0","typescript":"^3.4.5"},"gitHead":"0cdd8da320df668ecbc451401a32307b6e39e5a1","_id":"matrix-appservice-wechaty@0.0.2","_nodeVersion":"11.10.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-taki89rcJsFNbP6sTE2sL5SUJRmGIHqskuyPokRLKBrrnBs7sWFzrqHclDxcm4HAq35yHtYbQMQJSgLQTcHpjw==","shasum":"8667b5f13fb6980de15ca92405f39715254af937","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.2.tgz","fileCount":7,"unpackedSize":16356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1Te+CRA9TVsSAnZWagAAkDwP/1KJn8FzvqA7WkK72lcx\nEl5ctbwKBJqIk52S7eUKC9d0FUmYYotrZHdLfUnSKODninPb2ovIbK9CxHMv\nVdAGpXaFRidV1k8a5jclEusX9IS9FTlgPWbsgLdQLR8qAnitY2nQNerJ3zH9\n+i/FoQJ0Nan7k4Utr4Vsl2sBDMyS+AaSNmCfSR24hUmnkwXsNSUd6w8aBauD\nUhdRGYsjU122OI92T63ngws9lypdNeGAISm2wuNYlJP14sk4dgRXRq7irzYX\nFGpHT0EFoRTas50aBomhHlBky8tr4TioYZn9opmiL0QUz0gY94mZRzOIKstk\n6OdDbRxJBTXkh0t+GnBwjnYcyuF93KRk88gfIjUT9jRO5SRDAWoLIrEfl9Go\nCG7IBjHz6qC0Hy7vNQHECjTlGFILs4MdLUeQe/4b4lKhl+JDXj9q5FgrMVPv\nOQVv3RI7/14LyPX3jtdFAWBCzO7TBhfrDoHrT8+tnjMH44oQSMbT7ixISkD3\nGqcIBRBNDMxpbsRJjAY5DoG8HyHinoLI05GCCKtxxyKYQFrZMd/3DtCv6Gu8\n8hMXZwcFjOIa1tCO5OYffGpm2MZbIVS49p2YokW1FlL11hWWDjxx/lqatdNq\nTghM8wYTCLPlyDhsEGxE+etH7YIeh3L8luZRPus6HZcyld9rdL0O/w2vFBFZ\nkduv\r\n=+jg4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmWAvBsfFQrDQoic4l4MkFbJb/KLtNjsPjyP8v3Z72VAiEA0/HtewHU8cFV9B9iPTGKm+C3BQSAwxcoONCCMyM4B+I="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.2_1557477309839_0.736024945263146"},"_hasShrinkwrap":false},"0.0.13":{"name":"matrix-appservice-wechaty","version":"0.0.13","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint src/**/*.ts --ignore-pattern *.d.ts","lint:ts":"tsc --noEmit","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"argparse":"^1.0.10","brolog":"^1.8.3","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.16","wechaty-puppet-padpro":"^0.3.1"},"publishConfig":{"access":"public","tag":"latest"},"devDependencies":{"@chatie/eslint-config":"^0.6.8","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.5","@chatie/tsconfig":"^0.6.1","@types/argparse":"^1.0.36","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","markdownlint":"^0.14.1","markdownlint-cli":"^0.16.0","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.2.4"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"48645c151f3b742794c51ab767e832ac74b7ada8","_id":"matrix-appservice-wechaty@0.0.13","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-aPpwtz4HauaV+3uh04v0pAmVll1mEa7c18Hw6ecJYML+dn7h60omrCmisXJdYB8NZmT5j5djUe+2sIsKqj/VPg==","shasum":"e457c4e552c04842305abc230a07a7cfa2f7ac8d","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.13.tgz","fileCount":87,"unpackedSize":241398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAc2zCRA9TVsSAnZWagAAZ7wP/R8E4O/ePq7Z8k+8GyRG\nqf6rr17gVJSSRu5IJfO9s1URVDPGMXM14XNbVdSxnTtUc19KwGZXZrUECsKB\nx6S/Lgpf0EILrog3mS7zeafHqVW5dIlIwhWLpwkPCoaUT/ankiUPIWOCSo/M\n6ND3zz7OVizslaO0AEITaZi66oI5n80Tj9xqw/aK84DnYwa+YNQ4wHve2kl/\nmxZoeB8mcogAEnMjVdTvG5SPnrE18mC5jCQMVKYZsfINZwA4fM95D98VyTYX\nggEoKAOAINu1gSJQFc9q83GinDRklpuIAzK8eNcX0wQXrcPuD+iZYU0QXKPm\nIRTtfboJwG3nAHFz1BZIbXZGJNb5K82yVcEpXZ4eoW1RAO5zbRce48U2vOaH\n7FXtG4UgjCn405uWCS3rjJHNnwV0VlRmeXx/U4sWJPfpOEMjca4ZB6aiNoDT\nSJ4iq9pIE+D2/oEGT8Gh3wAyT/55qco6Wf+v8ReOYWRMk/Kk1Gk3n552Nq5u\nXgARwXicL43fDwg99cLnFs+cxV/PUA9oYQNqO9s9b4OW/hkgu2Ytuw9Yeq9A\nJxr7Y8AAQktcmTvAsRQ7JCKmPJyyWwtyXFb+LWruKsm1qBWmF5hN2KgM/4qF\nFKf64IGTEyg7FePILGfaIGFcW6BDZ9st6aW4E5ODa7X9sXfMnvqHRMvJYTK4\nKaPR\r\n=GZGq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfT+ogP8NlWC5LeVnX2igJziuHUtE+cg7Z2JBaJ7SZyQIgfm4d6OA71ubww/b592C2pn/bc9mpbXNdj83Vhl8E/pA="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.13_1560399282548_0.48567871360629034"},"_hasShrinkwrap":false},"0.0.14":{"name":"matrix-appservice-wechaty","version":"0.0.14","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint src/**/*.ts tests/**/*.spec.ts --ignore-pattern *.d.ts --ignore-pattern fixtures/","lint:ts":"tsc --noEmit","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"argparse":"^1.0.10","brolog":"^1.8.3","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.16","wechaty-puppet-padpro":"0.3.1"},"publishConfig":{"access":"public","tag":"latest"},"devDependencies":{"@chatie/eslint-config":"^0.6.8","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.5","@chatie/tsconfig":"^0.6.1","@types/argparse":"^1.0.36","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","markdownlint":"^0.14.1","markdownlint-cli":"^0.16.0","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.2.4"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"95929cb58b5cc80ad34757f3c37963d39f6cbaf4","_id":"matrix-appservice-wechaty@0.0.14","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-NDJZ/GnhoQ6q7ltqhxGv0xuLpHFOauVotpEZ5idP4ufEqzTHoCeT2p6vi1I+IhoqDDeAuxbIC8we05wV+ks1jQ==","shasum":"5aee55c987cda77f5201c4b1d606e694a152bae5","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.14.tgz","fileCount":92,"unpackedSize":242303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAc/pCRA9TVsSAnZWagAAqMQP/0ZKnnfeuNpV3+wNUN0T\nJic15UrobAz3IwS9B3UGvg75E6WbsU0TzZ08rro9xGuNs7EjaS95N6rCzhQL\npa0JK86j02PSaUwuOugNkfVeMVcRAUqqIAtqr/0o4ZmlAoFGwfs5z6nDSLzF\nvM8vBAx5TlA/ju4T4gOITGYSCbg5jbNkSQ6mgsd2j+hcorGOelajNtUEy58E\nBdfNpIxxEpqpcYSKIn7oDM0mATfj9q9+etU8ay5M2KSa1W7K0hKA7inbZYgH\nvThpc9jVZic/1ugMBL8bV4qtw/uBrnV25+tl81l3CJR2O0Oof/xeKc1CcJnw\nJMSfaefRpfdRu2Ap7DkyNKKT9gjSKZ26GFou5y8d3k/Dzgt6af/OfYAdK9G2\nR1g0stOGYgAtEjlJJPMV3j5i4AI7R3TxGCKAeBtAWgYKjRNxP6n8SytmQiAU\nrd8ygFaBrFo8253QMOZxOMKlM0AbkpRmhaw/xSiIMEXTJhXPPFuUsY/ixO1/\nb47uyRlGH5pGJCPCD2vM1H9toEWALYQmBgbqP53L16bL8z6Hx5hNqFfYPl6E\nzJ5QQr+8tKgryF50giQcmkRS5aUvw6ME+m8dcNjt8SPEJFa2Vyu0xM7uJwa6\n4bs7g0IShWjbfJW+g701SKZ14qIBZ9CkKrfqyV7zXPvGsTygOQgZS/y4+p3y\njrA9\r\n=NHr/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbKEIKaXpHJewCXpWOiA6ObUeY/sLsvfHqIAbf26i8OAiEA2npManrq0l9Y16wjWn4mQ64xbf8WMJ/p9sFvXtKSEJQ="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.14_1560399849092_0.15989377702885776"},"_hasShrinkwrap":false},"0.0.15":{"name":"matrix-appservice-wechaty","version":"0.0.15","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint bin/**/*.ts src/**/*.ts tests/**/*.spec.ts --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts -f wechaty-registration.yaml -c config/config.sample.yaml","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"argparse":"^1.0.10","brolog":"^1.8.3","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.16","wechaty-puppet-padpro":"^0.3.7"},"publishConfig":{"access":"public","tag":"latest"},"devDependencies":{"@chatie/eslint-config":"^0.6.8","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/argparse":"^1.0.36","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","markdownlint":"^0.14.1","markdownlint-cli":"^0.16.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.2.4"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"b158f0642d7939e858674c555f28d6d48fe84298","_id":"matrix-appservice-wechaty@0.0.15","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-jjp1P9btDCch8bkaTqVQYv0K+4EjxG62K6/fTR7A2HUVsS4BhIiMM9C4Fcq7dfWRV12c6AKza2IThzm7Yq0tNw==","shasum":"20fd920949644764c0f0da3578fd6c0b1b7520db","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.15.tgz","fileCount":97,"unpackedSize":256945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAo89CRA9TVsSAnZWagAAigQP/3CBb6gY5Mb6m7K+cpi0\ngKlhJ1O62+kRJubDQfg9nsCzw263w2wU1egADRRtr7ggcGn7f3dR746yZAf3\npkd+oy3AVfSz5A8PjB4jK6NSw8QtyB3EPFV8r2ryrQc/iCSHVEngI7l9PKFH\nnR3LfxmtPjYqFh2E5kfcVsnL8ipiwBqYKWjsHDFyMA1LHbdP4Izwc7ma8Yht\nKswyb7PpL5Vf+b7SCP03JeQYb+TpL5RNC2PQACXTumb+PKisbqwLSOiGNvRb\nGCBVBMb0fMly8di0TNjzOjpO+VKBdUdxHmK9Vmjmc0dL3LKQnGNqIHTgdQKv\n/cU2r4qqhBQplPGTHYgscFxIa0868VjSACPvgOzUn7+j1iUfWEMEfhCdNNeq\ngF10lXLpxgnW1yuAlGSJuyhZLs7DgBtG8jTnGie/twhUYCrb4T+VBBpjBNLv\nNrH5cLoKnLt18OIOqd5ULIDh3NR82gFM+SbD6fAO0dCucIlBJjtkA3E5kArN\nDaYWxWaZ240C/FI7dHU1/IxKoI5PeTZfFFZU7AHBrP/PkrY7ec3qxmO1eg2q\n1YsVT/3w6ei5MPImbv3wlsTbKVhoZ210JSWkOwcrjX9J6ecbfnjjuJuAXSzg\ncgZpnxLnss3MvxERZQaxtzD3FKYQc1qnXY+x2/anBDx3POWRXiG/TNk52NbR\ndgjM\r\n=pB6h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcGqxK8e0KVchIexcWwD9kS8q//S1LUPsBtw7TeUzvLAiEAxqjdyjmlbh56V67US6Y+NO0rqh5Oh0xatjeynlobwCM="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.15_1560448828496_0.7946644226133572"},"_hasShrinkwrap":false},"0.0.16":{"name":"matrix-appservice-wechaty","version":"0.0.16","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint bin/**/*.ts src/**/*.ts tests/**/*.spec.ts --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.19","wechaty-puppet-padpro":"^0.3.7"},"publishConfig":{"access":"public","tag":"latest"},"devDependencies":{"@chatie/eslint-config":"^0.6.8","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","markdownlint":"^0.14.1","markdownlint-cli":"^0.16.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.2.4"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"cc0096d8dccf741a559883ca2dc4076774eba7e2","_id":"matrix-appservice-wechaty@0.0.16","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-90TMEPmrm4QkWMTHeLG9l9DEou01+1GWmpnGOwy6gtoshaWsrMLKoTNzuom40ULi5T1XRLHnhsF8sRZokHNxFg==","shasum":"5c34fe385969a0687f03fbaf4772935328c21f2a","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.16.tgz","fileCount":107,"unpackedSize":292399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdA9I7CRA9TVsSAnZWagAAV88QAI1/hUYNt3rmr65wUFD4\n3+Y+g4CiwfZYsqK1Bl8Qck2JjEd7E1VCXSQiKwGvfDNhwljDsinbQMctus0m\n0mtvHfyHAR24h7uaFDBwfCH00+5WEtRcfJM7KNjTIqQjGwKDuUkTlez1Hl24\nXjh2BOcfsxA93sY89+SBnbBnIY+MgoJoC6VSHu249MNkArQLiNBg2v15Ue6T\nJM+8BiBdHFMfbgdf3GY3oYPyD7wsYIth7PPh9EqQwWT98nv0xFrnk1+Uk6xN\nyb9nli2QCbC5rmal+3zpZKsmoKGSFuMqsc1eNZfKSP7a8kvZ1qDK/IJjNZNu\nC7ILVQyaxXG42KAl7koD2wmTkiJoYKp4p6OimroObb9yY/kaj2+YfFwOTOYL\nripSE2lxAJxiy3CERA2ygHtT78LtcgU1C6NkFfk6bSGWN6T7eriXN64tJjl6\nBD2r9EiOtG9NF0sGEbsBRvFidHAZDltkxOwVhtlliv96HQJZK+BmlpYoPbob\nRXW8PS//IezweexQ9+ZdrNCla7eQPlp68URq8yQ0UMyx7Ed/S7o496IsRqxP\nxEL0NMJRwa9HICxnGqz1q5R28vhq/y+sbFlsA3/m5rl/HVU9//JTTHIPKF1F\nPo/MMnf/LDVz7geQfhGdRT5c0+9liTR95C+8/wCQ6hnBlDHSjzsUD6BvrM8K\nNGOA\r\n=4qWp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5w+pjxqlBXMCx+5wQkhg9I0NlnfLEquaYuIVeB/xzjAiEA+RlBB3BABNiGRqVMB2Y/65Gia8jLxP3qolyu1YCn3Sc="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.16_1560531514752_0.06298293487842566"},"_hasShrinkwrap":false},"0.0.20":{"name":"matrix-appservice-wechaty","version":"0.0.20","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.19","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.8","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","markdownlint":"^0.15.0","markdownlint-cli":"^0.17.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"dfd36ca8580dd313d7c9b155d768eee77e07cc4f","_id":"matrix-appservice-wechaty@0.0.20","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KSF4EMiJinO6N0dayFzvvha8DCVBQ2ChLVX3P1rzv3esmUEvlSVZl7WkxnkDfMmSn2DMOIa+e3P7TBnvyy5IKw==","shasum":"c9dbeec72c0b06eb37555387e1b50234f64b598d","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.20.tgz","fileCount":127,"unpackedSize":306137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBhCeCRA9TVsSAnZWagAAJO8P/jdW5MzDFBaDi4mQUfqk\nMn+/dApdmWz+NbdVtiiaKBKv8Nkv7WuAwcKchY6U8iHMd0UcpV0If6VOOeyK\nTFSlsxTF5S3hMF/79Z2gnf630W3SMtPeN5rdGpWelX5JR0syWBEJT2Mo7WHY\ndWG9pUlu95XI0Os/lOg3nOgdpFV6vMmBotX0VfrAUjQ1V7HpfgwRVwEICzAQ\nWgGVhEh7BE9OsQ5ZyFfOzcpkTDOnUKgC06Ir8oMQYLq79MElM61kjkUC1eCr\nFnH+xheDXe0tuN/SrbS7oD+nL6nBvQzej7QqVl8/GWu9nEh+svVm1KLnqdGr\nM1vlEns2PBaijZOwJZXCyGUCSzRkLJKWNL+4S+1pwHeltlrzVIDKBMJkcsF0\ntEciDuCqNMKN9rTgrWxQ6PBZsYBZP1pzl5S6uaAFYZqTc8ZSCo8Chrje9Jtk\nwUFjO1QMEzQzuMo0pmR/+FyecqJhtJMf8W9nnkZHlMjZYj1mXc3iUXVLHwLD\nEkvPkdvCpxvFhjbpQsHnXrT0w4weVxpF6QNBw2quZJx2Ih2DqoWyQZFt5Jrv\n0uf1Rl+0ZuLM2NqT3qumbQytjOdDHe4oUZ61dHlDFCzsbMctKqDr7VQjbai8\nnV9j+iKAySsmpbRoK818+jh5/+zBu5F2Q0mq1DQjZX1XGYQBpapTxC3KRed7\nw3j5\r\n=RGjk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAks5JKqaBy/Sw7u0nzZQZfvBAYal/spKOZTne7um3ZlAiEAwm5ARjGzsBGLQgN4noloUSqsVTu5UeJtemRVF/GUPHo="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.20_1560678557833_0.25109232757373334"},"_hasShrinkwrap":false},"0.0.21":{"name":"matrix-appservice-wechaty","version":"0.0.21","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.19","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.8","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","markdownlint":"^0.15.0","markdownlint-cli":"^0.17.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"684dc8921c996fe72d934aa09590a27f7c30f185","_id":"matrix-appservice-wechaty@0.0.21","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-VLLFjEKbCq7MAMWCNqubBaeSrXvnrOtYH96zvmdkI1+T4hl+MLxbuX219VxN4rJYubCWLRzsvYc7FpymKvmKyA==","shasum":"de28601edbee6205cf7d56c27ce6c741efc93693","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.21.tgz","fileCount":127,"unpackedSize":306380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB9azCRA9TVsSAnZWagAAspkP/jo7XgtjCFaEsnFd6ySZ\ncCymZZ/jCLkUsHXQJ9xBauoT8dRkaSo7cYwIBNzSbeCoeZXWfdU1doD1ghMy\nHx+LcBMrGocN5jgq/AVsalDlbHTlxii9GLW/VaN00A5+BdUly/fDoCx8+iwT\nqRn2ReLHqSD1Z2q9ZOc1P4baZDS6GDNcNZo2ioCa4F6H9LoHN7ayS6bNr/6P\nTCmHkCIlJFm6ZU34E0vkda2FZ0uedS74x2bKejysqD1ILXbzEYaLcDZxpkIN\nzR1WV8Njcq7kJNFYhW2GFZiFO1ZSqxPDHDvqQoD8CylFIyr9wj5XnZCidnje\naAJTIzIh/JQhhx/3dZjB/rMvyVkDT99BHGo9+ozWleh43JWbHxFBnrcepMXH\noz6BED8WQq4Aj4dSSz4QkCGllrjWLQX6mLP1if0rv7V0uoH8JaMMqZFHURk5\nIh8NltICTQYUKsimDFOEt+jt+55iNVp1lwbyGcPvMO6VocxOeDoqA/tVvVIC\ncQ8kAWbMvQ+ZnZciyEwIkpo4T8j0XFYOoiVhqo7JVkqFLEY05TDgBpCDC82G\ndovuI04gUCRZk+Y+ZG12iTzaZeVVX63exW8o5PmkhV5gjvWkQlneqAgLnd+4\n/yHcA/eEG1/sK9f9RDPFfkYk/vg93b7U5FPl6Is2Y9L094EYgDG9TBpRdWFt\n5XJ5\r\n=qUhf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7QhgFBhNEvzQsly+kEI6gekSiEoiWiF6GNtthQyFdOAIhAMv35BKijPo2AtYMFNhaa588JSF3poCTcaHtrIiIlDP/"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.21_1560794800640_0.6357734395782249"},"_hasShrinkwrap":false},"0.0.22":{"name":"matrix-appservice-wechaty","version":"0.0.22","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.11","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"25b3dfa0cdaae379433dbca07b709ac60fe902e9","_id":"matrix-appservice-wechaty@0.0.22","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KhGZ2JHCu7pLdU85P5iPUBrr6XY0kW1tVi+PnZ5PZjUXlcX4tYUaKWG66tgz7Rg0KiM+27oHm/K2WokS1dDcOg==","shasum":"b9d01dc926b6cacfdad780f490c414a2c3999f5d","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.22.tgz","fileCount":127,"unpackedSize":306315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB95WCRA9TVsSAnZWagAA+o4QAJuJvHr6ZtajTBofYxCh\nd9SyeQCgqVn9oS6xCHw/3i0zyO9WocMDoRJm7Xlar3JNG329/W8cj21h0RDn\nEBIk+SFU9LacFTtcv1DzTAodZIz7DmjupW5TB2mP2M4MVyIn4UzAzF9tLmg2\nSaHt4+0vXCBDy+0HErEYOVL6Jdec6g5owZlmJqkNMq8gaYKDEWao+M1I5tCK\n9nX4kyBATaUO3oE1r9c3n5Kd3c47CWDxe+ySrtm4zIzsiR69Bs5Fy0spdjrO\nrJJ9jt+QOihPqm2Hfi9TlGaiDOSx9Idepa0Dcw0tXHoyF6VDt9+pYa98th9b\nAjg9Id740TYKu8Jf7ftp5cvLn64HgBPKoBPiVFwZnaSTk4Ki3ClJ6K4zsrW0\nlCGxQyYtBSIBaoaT3Qs3zWCyBVL8NlYnKFDTUpKBqAK6I1cKmGaqcJ8DUsTo\nC0/yM3TAqmg+1JjfIqx2JXiM/eerxNBAVL8mOua0NxjnVuQZMKk/TM59hZma\nHxlwsZI7D+Z7tEvo4K0dH/CQCoqqCR8CbrHP+Mz27zbfztE9lClWjzHfHmYZ\nMbSIo6giEeXxZPzZ6VwumR1gKrIFUpT2QX2BsUOh/0JN//t3fWNYZITLZLg2\nJ4GwbuLOrqtxU/MHgqmWzX7+CCuF+jtD3w01t9tImsRW0uBBBFj8vIzK9iSC\nb1Hc\r\n=6olu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJiuuDGKKv0u3bDjN/4YLlfOlI8PstpPeaMD+CDOIEdAiAWjhIfDt2Kra599FznnoCuH8fGddiJ7eED+SAq7AqLrQ=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.22_1560796757403_0.5098070296412822"},"_hasShrinkwrap":false},"0.0.23":{"name":"matrix-appservice-wechaty","version":"0.0.23","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"d58a2d0d4448bb207e7911e1e90fb75150b96ecb","_id":"matrix-appservice-wechaty@0.0.23","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-NOXFeITUtuuYZWbXQ0bnIjkaKTXLtcSfXs34Ilurv4x7JuLoZ5lG8pVBdvmQjYIUpMipuQ+qKsWJIqYhjmosGg==","shasum":"3c2e2a21bf8cef09007d02a604c1da966ef1c58d","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.23.tgz","fileCount":127,"unpackedSize":306516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCT7ZCRA9TVsSAnZWagAAreEP/jQJwT2YgHE3qs0ektZQ\neVhXrdrzCLXfEEzQiF/zOO0BHAVyPrupgIKdc8gFECIDiM+HCBhY0sSEfea0\nDUjtQbyqWuPizIRuT9ouLulwbfafbOcdzscpsOla3Wh2ZqemT/aAhT9hEsmC\nyyQcGNL/4Vfepu/w5YQbOu1zqEMgsZRRWu0dpH1ig9UXndHO0Phrlrnju5Ur\n8JPDy7ocXGhsXp4QS4zNkViMULFy1N+8FS6nn36f9z1vxOS6bSHlMXpTWXvW\nk/Q+vh3lLg4EkCWc9aZEkNzVWHzvhMwDl5bfozb6xFowHYFpU6pCx8s7wHBg\nLGnvD6JKwp4g6ApfO6gA98qu8r7b49DItTo9869oO+3WNXXSmr+TGa7PSN/v\nBJr5rf0t+tuumaX8FKodRb9D4VGMOHxG1L0OWJAit5qwqBzpUz2FpI0U0CL6\nO2EU+wwaXSKpiOWifEkrBmL6DjswM2LNmjnChCcAuYHTFBJsO7kve5kz5fi8\nVW7jWRdVn7cfZmawBAos8dCl7NWyROtG4KIqv++T0xEYOkdL6dSKcLTchkfV\nux6THc75EVaE87vPzWbV9lDWrXMk5+FzirbRgMvGZ7h2n1kEwrkyT35POFPp\nT3hRBahtbv3ljmL4cQDvtmrjF3DK3zqHau4jJZ1M64FiYLXQ2jpCWL9hGei/\njo2a\r\n=lF3j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnnN25odsYLaVMYZc0XnOFKlaitC6SKSumiClY6sLJywIhAJex5bnvHTLK6gBMau93K4q4UIQ0a6yndkn4xDMGD/ah"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.23_1560887000766_0.17467973463572717"},"_hasShrinkwrap":false},"0.0.24":{"name":"matrix-appservice-wechaty","version":"0.0.24","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"34682a6a17761e6120f9cd08212dacee65f0aafa","_id":"matrix-appservice-wechaty@0.0.24","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-SEIJivsd0BkVffFHEYu0UO7HKzRI3CTSxoAodV1THD92HyIvJh69i0mnpb9d5xSdxUKKoJBvhW2wnC2OeEE2tg==","shasum":"48ce36af87f0606d8a160cbd08176227e263d51c","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.24.tgz","fileCount":157,"unpackedSize":330225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCoCyCRA9TVsSAnZWagAADoMQAI3S7TBLGTpaREuGnCoE\nP4LGW9prsVR94KNCrgXBl8lPu1aKHjHu7TYiPvmwcxfD/DpntCPhIxqbbSln\nqQBqvkzfxTDsbkK85MVKC+sAZ5ROoL+0Pmkytc/EnlVdCcKoDiSecQYLMW/R\nv4t9A5+YbCPvpNRIxofcBJo5xkJmzgqFQzxu4lnn9kVJlUAodthD2kY6Z5YY\neTBvAxILXJdKTP2b54GL7zNYsT1BT6nPZWhlld6elq21crKHnltHTbcJ62lF\nSjT+Lv9k1PN3/pTNMaaZxjf3cBRcuA1ciQyBcHlcUmaGJS4QZb8OfTTknoUy\nccCsiv7NQvF4K1oirb08DPtMTXmfGCxapRiAqLMgcc0pVoqLMv6jRRlqYnft\n4IR4i/oXqMlwUsieIAsZNhKTcM8sroR+0VKYsUz6Wio7bFzc+hFwdczH+Lr2\nxM2TbndQP7zyiX3MifMi3nUq9D8/Xv6GOK2fPUEQLh/zXVoww03Zfbhd4IPc\nFh4bT2AhQEuu6bPtl8VLsZBr/m1FPFwFDRdAB0oD8Sgrd35EhZVxcWeV1Wrl\n8Dzfgvc5jPor8M9rsHwOWmBMkbpGWrys6opU6nUyguaNGktF0SBJzpbV1sn4\nmTptC3vnSYc/FaWzTUK6jscW72JS/f2MFt3W2jJunRwpR2nmeG5yf1GEttvv\n3Cse\r\n=Ckd7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWpwUrs7UyfEwD52/+wqDpSeWPaM4yoJinlyTR86O8sAiEAi4YHjMPMV3XfONZB1cr39t10dHp6gIioONyPtWycUNE="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.24_1560969393358_0.4895782331807943"},"_hasShrinkwrap":false},"0.0.25":{"name":"matrix-appservice-wechaty","version":"0.0.25","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"28ff6c66ad729006462f4d8d2310468c4d8c424f","_id":"matrix-appservice-wechaty@0.0.25","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-02b+3HvjkRtJM4FEdZs7+ObwV5MuInj41SH2+ffZKN4JycKmk5r0QNZ/PKio26PW3B2wyDRzuCkBnOh3nFhlug==","shasum":"66d2b3051299c01cc23d040fc6d0c98716b09a4c","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.25.tgz","fileCount":177,"unpackedSize":352437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC8SDCRA9TVsSAnZWagAACN0QAJku65jQ6cQ4oHRwSMum\ndIgsxsWPy1B++0QqITipw9QXgHmPDa4AKn22vRL5eTNU6+DnT7MyuQSijHMW\nVXCD32/G1olwUGozk9Z4hVXQBcXjxzwlYcd2tnTsGGVACegXiLHZSn+CoN9w\n7ezDKuY6YHKRcQ5RiBhRgUNT1EzFlkfH2CcFplryP2P5CxWM41lIh3EiYiRq\nLAGWQXXclfhKUWqCAckW0QKrc2n/QttkT0sW0ncqNgsxxC3xQU4Wknt8skG/\nXBiEGjrGOGb5VLax7mk5EHJYYlNFYLj6j35/nYAo4KJY0ms7EzDMtR7ggrhu\nMgkKdLIDRX1RRID7SjqE00k5dXgw1rjLFLGww70WfQN+o4P+weOmZuX3IIDF\nmPL0wds8nw3kIuC2cZhrSVS8xWOxProNXsM1LKGVNyTRoug7S/5dGFrJlbDe\nccU2gQfSDRyDTYjOSlNLanYHc2nyBHuPh0wr0mDHWbqtCHTdqhaUk0/gf5dD\n8KusBKlgye93KqQG6mqTkFqhuc55pkENNVJ92+0VWXGSkNdyMWev2hJaZZoN\nDrbWh9BvuFAfKmWlm8NEa5WnlHTfnz6ULro5/KJV4MIP4M3Z2LxWCQmSFmF2\nvQLxZY7Jm0YLMj4p4FV9+XCIz+jYFmUpogP8JtXUXQ26bXScukL1W8u/14pc\nS/Kv\r\n=iqxb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAaNBYH/zx5IFWYguQ/iQxdy6szq+CLhZ8tnDqwEiYQ+AiBmvG068uLiJnonJeBrGrHkpySFBAmj7CHzxwuRDjRQJw=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.25_1561052289497_0.715760052353648"},"_hasShrinkwrap":false},"0.0.26":{"name":"matrix-appservice-wechaty","version":"0.0.26","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"0d86e469d9b6a261113c1b0d549ecfb1240060a7","_id":"matrix-appservice-wechaty@0.0.26","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ot62t7BEPfMhaOIk4Gn8QeQG9eT7PJl38GTBYWygvAddRKtN+tMEkULj25BDhxEzoK7PbDlT2H3IeOMjWG26fw==","shasum":"758ebba15bea178c023c50691557f1197ac20975","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.26.tgz","fileCount":177,"unpackedSize":358001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDzxnCRA9TVsSAnZWagAAzBIQAJ8n2zmX/ihwom3xyezK\n1PXKuCGQHln44+FddjvcMUp1p+8cEcOMX9Cw/tSmKWQXectms3D3p2r6yFXY\ng93OX1FyZT4V2uL4NWb9L16v0xxVxnA7/99UV/AeXUIc9SzRoteW3wucxI52\nl8SyNSNaBWd8MjPoTb3vNVJnzEkrP5zy17VC/VGZ5ifc9MEn+TUO6h8mVDQy\n4K0MoT9ij8FzU31B4sJrFgfLADqMbV4OUckVnNi8CZPl2uw3y2LjOsKk1RLc\nlOyky5mPgNznjSiE74GndIzDMjyQSJjlGvfXuWHAvG+q21chgtZg/qVXGmtJ\n0K8AUbrFBC+9nXc1z0LBUv2lKiWkTB0nEhyyjXpUGr4ndTsKyKWHRRHVJwUS\nlN2gT/sDtfG0h70z/0wm+afI+q/SVZLtz7roK9v+kHWD/Mn/K+nu/ILwthDv\njn/GeDz7i3eGaDBN7HpmcL51dWhe/18x+pHsq1+6sTpxahBuC6ddYD1bqpGl\nwd+56jkdSq1Pmxp502zdcpC7hKynQsTsWxdG1E4HwHN1q8yy+TkkSXZMz/q+\nCSnKkUmPTjALieqcssBE0N71Xq9oDjqhdeSWqMy7loTOLUGPTJqLPANh1KQm\n8a1213Hp8cJcER9JlwCcl0v3abyiTyk+53xKQRJ2nxOB4rWF2O8DFn40ASIs\nNOnQ\r\n=NcGd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQAgsK2QE28dwt7nmDv3vKha9IO4RxxkfLgSHBBkxcwQIhAIzkU+fb/5HKhNyTgPn/ciI7WM+VE+7yrCkfWI1a+3bI"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.26_1561279590828_0.49797963088517694"},"_hasShrinkwrap":false},"0.0.27":{"name":"matrix-appservice-wechaty","version":"0.0.27","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"8003820b4ba6a6677413a7cbfb58d89ce8e19829","_id":"matrix-appservice-wechaty@0.0.27","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KkW0RCQP4Q33zKahoHBgo0eU92GAxlJ/c8YFy35juZZGPXpu2cFhCm1T8xjIKdqDrmmmvmReaocwMM+m4OIQSQ==","shasum":"3e0eb79c6665adab0632be7da765006afd459817","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.27.tgz","fileCount":172,"unpackedSize":356070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEQcwCRA9TVsSAnZWagAAR/sP/jlmlmapqt5HWL/jMj4w\n8QNIGy968wjP/BSJGJko65EDngHAZ+Apbo+GsnBJTLDbX5AK5dTHckp9IGF8\njrw405sYyYVtKxOIPspMMXog+cF2eHutEa5+UMV7iFMXr9/w5cIa+Fhg7v+C\nZqsrsihapX+RNUOw53Iz4HA89B5mpcXZG/jCjziAOrUfv0XubcAgFxzMDhFx\n2YNsGhMK0MJBDrxnV4exu9NEm+yLmc45c2wwXVJDZXdo9s+ZqNjMyHAIXHne\nDfOF2wJl757rzErmiXyOusmnfjkT96D5C6O6TRdOhWJij2XjuDyX9gd+SW/l\nT9GUjVH/m5H5Jf91sXgaoar+KHuAXjWmHO3oDjTcmWtXSYa3leGtYWpFtmpK\nbJK5r2qt0Z8ZkYjTKTEk7lL+o9qOOsrO5PkLr84hmB+4LQ0oWjEYyLPllnOq\nft5ezBjUBqwnZiLxX5Byjhr8/DMCZf3AeSaFqtr4OZ6eE/gS0cxxpqGv0rY/\nCI8vVLBrxNb5c0qsnq5pOeZYqrGcbiGBxdlfcNtZwd9MEfhB0EVCw+sIwjCZ\nqNkAmnYCGB8lXOSurX+KHi1uOuh8FHWeIOebWXR2TNrF3WW4DKd0xX/XPt6Z\nI7dmtaZVGAN0nFqjToDq60VWRvzGY9NQWgvZ1Q9q68wA+1ZLkQHekI0Izhq/\natYL\r\n=yXaQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXxDJf/ALlvO4u2RJybLxlXfo3oLdDL2bWNNJk0Mx78AiAs61qr349Lws2x6+JxmxrV8xxbMP6o3qhruYBSHDBUUg=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.27_1561397039932_0.37010992195846826"},"_hasShrinkwrap":false},"0.0.28":{"name":"matrix-appservice-wechaty","version":"0.0.28","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"b44c5c33f818a282dbc020a79fd272cd5be53b90","_id":"matrix-appservice-wechaty@0.0.28","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-XZfTof+95LwUaNnAIhxKAsd97iz18+ylJCdrcKYqemtYa5OsTWMkFKzfBJWK2YZUomj0QwDTgN7jpTpNX7dsvA==","shasum":"dc46642b365464d7e7c072ab5f10cd3b78f87924","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.28.tgz","fileCount":172,"unpackedSize":355473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFJ9xCRA9TVsSAnZWagAATxwP/i07CRFFFYsrxI3sdmAI\nk8//g0xiLdz5dCz2wgIZbtMsRnG/H4sMoKp6gqH1KEtEL+QEhxDPdjobLEo3\neGYZ0BmkO/CFzRwMbsEn++9vavpRk/n9BP9iXWg010oZrKGOde2twP4R9py/\nI3EUe8gH8Mu7D91z8uKkOPo97UKt/U2zvbA4oskAr386vhPONa/INhfWORM3\nEA+vFgmmuWwSuMOK793ZzfX7e5hTdh/5s6Z58RrtslDYKx0VIlnLfh6zY0PR\nPLeRAfDRL4s8HmuxcxhEZ6a1wr/ghpJG77kE5Qt0Us3YQrpxwDBCf9wmZnQx\nKLUgVQ6qSyxuOfKueJelLqr1MqV4GabQU9GkfEt7HNddA4qZiaqtb3Im2nCN\nJKZQ5Fjfm4G6k3bqcGsicLrI546Z8yx9u9G0TS/80rI1FQjF+qI7qTFUtKgz\nRVF7wiWIF8v4MAth97oXQsz6W2zDGffiWXU1yRf6TFjK2WykYdTrPCIfsgGk\nIbeJ+8IdF0fppp5ZpX+m3n6JFIbAf8WhlOhwBFK/R2I3eZo5Ayh3D4JyNLaN\nT+QAHPhOSYwaf4tGhikGg8eMkFJK9tk3C68hyN6tt+xG/E4WsdPNVK46wVmu\nzDzn9oIdKOnU/t22Id8As6KjAfkJBIDbd4KBVEUZkd8PD0zzmQSGuxhpWq8X\nhZj7\r\n=9QGE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEfW8BScCDp93K2VYop1JRwMAkc7EwkKy2LJLbqB+RcrAiA3jdiS9d9BjMUpC/7ng2SUiO834DiMvMWiE5mSwglEGQ=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.28_1561632624153_0.864578917020659"},"_hasShrinkwrap":false},"0.0.29":{"name":"matrix-appservice-wechaty","version":"0.0.29","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"7831c0c6b7db21a5e1b8ab24fa605ff2b69bac7f","_id":"matrix-appservice-wechaty@0.0.29","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KanjDgD4s73O1W47cbS8KqR5VHkjj5rQVYYZQSr2eHt37bbUi0sfzsoNQFzIR3uInr8oZmHBwR26q5ca5wK0bg==","shasum":"a2cd43b1af67fa305cf3db63fea9d908869d7857","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.29.tgz","fileCount":173,"unpackedSize":392805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFKWACRA9TVsSAnZWagAAwZ8P/2rNGK3CASmSQmaMbb/3\n/fwOYJSYAjKs4qLaVVnpbLabFSDih8Z7/n+2M4HGKH1GCSWEWdOnKoDO2m49\nasfljpqvjyYIglGgupfYBcR7S1Ru1AFq51nKDEK0HzO+bSqxET7p+R0776lK\nClhogvmmBqyQJtTRi4pYIfyG4RHQul4ToFV+F0pZhIeMmySQBL1ylW06KC4F\nNNdW1XEVf5U53ykMfBOgwDp8Bo069UcBt127CzMCTdMmjC8tu3sip8iloGQe\nehwVbLqLc8EKgLVX2lXUSPxNjq+sQHj+ZuYDHzweSo+bpQ6KdusqRC856DZ4\naxhs6wHepy7cuv9eP0PUqqvAEd6PzMNaseSDcgoJ5EH5PwC62uFHiROVcxnV\nd6SQlWA61M5f7ZHmnQRO0zxJdMVoILFYEGaJURM/0JY1bHbxNreKtppZqI+R\ntwgJ1EKyYfyJ5LOfJHuMe3LStY3NPkQyGgrJrBfW37Y99g0wqa83nH4kucvU\nqQLnH0nAVkfqmOq0MoCylUGMIMZkLyU3g/AMO+ptoH1jhCESQmPGjjZy19D2\nzFopj79pEdKkF7K0Y3R/xGDagU1M27oDvp435Zu56EJe4enqD/Jwb8T+7qvZ\nxrbDfZK0sdXgBf/zXYqaSZAbskJLX63ZfUXh3IHV97qL0OtWfc1+TYRDTOMI\n9tur\r\n=6pFT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEaj35I3OvSAWc/DLU9oXwBGR8W2aKPGt4JdW4px2dEaAiBT4DOct7/DePepWogxc+2IwRE+UljQw9M/Rm/UOXEvfw=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.29_1561634175794_0.4321829078262849"},"_hasShrinkwrap":false},"0.0.30":{"name":"matrix-appservice-wechaty","version":"0.0.30","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","as":"npm run matrix-appservice-wechaty","matrix-appservice-wechaty":"ts-node --files bin/matrix-appservice-wechaty","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"brolog":"^1.8.3","cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/cuid":"^1.3.0","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"3c021011bdcfc44977d4842a0069d18e310f39d8","_id":"matrix-appservice-wechaty@0.0.30","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-lsDly9Xz+dza5JHcldb2Y4ikt6HrkMnl0OWefC4mtcUICwHvQUGmAatlzrP43tInO5DxH9qQjUABE4QPtyRzIA==","shasum":"285c74854e778e12512e90fd6337c0230c1dcdac","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.30.tgz","fileCount":173,"unpackedSize":402901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFSlICRA9TVsSAnZWagAA288QAJphUCN/2FlXj6hupOPu\nfCkV7QjW+DDQNS8O2+uOVFdkHVttY3Ca5eeccLpUnHpvJrYvK+FPk6SOdHWd\n1CfYdrOKFWpqPp+Bt6rSOh++/rqjM6qGmNXItqhWL2bjS0RKaJtToSv5Gnv6\ng9F7G/tYgpz6o/taOyPoUyuGWElhXzhlQbQmyAUOd6wEMhRW2xOwYFeI4/9n\n7Qlu40NbO7G4emEugknpZYQwrQbRVrkBUqriFUh9MsXhLxDw/QYQDIC9B4de\nLtbc541/vj+QHAM38h/ZdzmolhkGB7Ek6EXUm1ss/N49DYIl9IeMxVYn+IDx\ncy5PjE86bYSYcBkswx/qg7+YMwsEbOIBPckjLWmHe24zxdeP4D1GhwDEgp0+\neYuhrZkToN2yYAmiE6gUMPSLmQS8SzJ3FDufPY6yDV6UZg/4MJpL/vm4uLZ4\nuOv02qDzeA5LS6ONzWFqI+gmkiIxJ5J5Dgb6inANVR7FYdG25jel77k0+l6h\n9v/20h/fQ3zPXdMkSycychggNF88XE3xFZUsTsDvksWTmEpJEEIeOxABtUv4\nqbVszA6+12G8WsY7usv42cF8XgE04G+RmH8s88aUVpL0tKvbqA+M3Mu8AFa5\nBCEE8tJgOgJYvVj8uIVqFqhGxRfMne1xYPN/awBVkuII0zZKM2BKMfgKtHh/\n5lnm\r\n=2zrj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHWapd8KxfVlFP/4YV2NN4g9GzqeMWykDHY+1sx1Cb3AiAtOHBq6tDLkDVUpxGQF0yjurYv5jb8h+43h1+/sdGuog=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.30_1561667911014_0.3991516664624035"},"_hasShrinkwrap":false},"0.0.31":{"name":"matrix-appservice-wechaty","version":"0.0.31","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node --files bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"5d55aac5f8e95e65aecd97982613007a66dff71f","_id":"matrix-appservice-wechaty@0.0.31","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-AoYXgLT3HPrSHk/LtLRyGRhOu5yCDHkUzcg0EjWY2ha4pJnCZZr+1wDTk7OtTexoOgkaFJO2AV4ncWLuThMzjA==","shasum":"8e1ae4753b82649e5fbdc34a966651c6c1006fb8","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.31.tgz","fileCount":123,"unpackedSize":375422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGjU4CRA9TVsSAnZWagAAPgwP/iQC9VZ16aCWV9Fk+Q7U\nXaw1/b79/oMJUkJCwFhILPDg8utzs5Pfzcv8/Tut3C8noVcAln8jsKkbe7Ku\nfWMduVd64rEmIGzAixwFCNVmggNPYpSrKkZkdo5j74acWqdMKUn9BrRAX26N\niVcXtKzjOJc8bSdoOOgOCaBaEz6YKkActT8RQcZgp8T0kIdR86ofN9bEGI0p\nOJhH3Oz0vCsAUx8qadxXkBinWq6e6nGny4ULE9wUwWOplGHpNnV7be34bOe6\nNerEzFp3B8eL1NYHn2BzocVFMtX92JVAoLwCE0Jc9lm+1Av9AwsLARVZ0OFV\nZNTEB6So1YJAsax8NGri93g3o4QsFFAIa6TmydsMFTqe/F4yTUjaHZGn+C3m\nDvZxtC37myrpq8RGAcCNyrplPtrpQS3V+InUdkUGwzfn5A1lOkFlY8OhlqaA\nANA41tWze4EFRkPUoLilxIewA1lM2n73sDPkvRyGpZZoE4kJD9LJa9VAJbYT\nhW//N4ig5bSXkaz+3bQls+cj4qXrNhQFAaN+TbOimAsYhdKDUEHNMjOBsnc5\ng/Y+3sXIS64JYehUEAMUVlbecm8d0WpDazgfZf8valOqFBo6VDp1tFrj0UAU\nMeMsT5qUObw6xbSmtBU0d9G7zwNCgS3BGK8aJLxdNBJDcWmv6qMoVJy9pbm9\n4byc\r\n=M6Zu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjpHufT+9ZIQaLnYHy6T/HzJBxLVBBySPGxcAeyMoiMAiEArmcglTmbSp2cPjUh2fYzr+2dxZNvyYKLxuzxfejCpcg="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.31_1561998647658_0.8478448366761302"},"_hasShrinkwrap":false},"0.0.32":{"name":"matrix-appservice-wechaty","version":"0.0.32","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node --files bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"af7fd34d83117592ce79d4703d57a8569ad7a54e","_id":"matrix-appservice-wechaty@0.0.32","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-dDENgky5rO2kSIYD7Td2v4I0uPRkNqSZC1glohajHjmwythk+fJADnpK3bdHnE5tjfmqdmQO92DBjR0dbmk62Q==","shasum":"8e1cf3c9906632c0d9c7aace719167af82185cbe","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.32.tgz","fileCount":123,"unpackedSize":375808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGjjYCRA9TVsSAnZWagAAjbsP/1Wd8XV43B/7UX+a1DFD\nV01opW9CQ5Gv7vYAIzjQhTlO6JiF8qAT7GGOZQezk+B2sSqq6Mo5drdW02y3\noUyfWhPR7Gjd/gKGelt/2cD3Nv6gjVGUGsAE+hAUOg4+xm7BS3xngbQ/nHj6\n4RiylIxT3qd2qrSJejb4gRY+bu0qoPFiqYqMEQTM3q9bwO07kck+guMnkPR4\nfYGHAuSpNkshGXiGZuhFM5wI0HpIAQEz+Z1qIw1w+TQapRr/Sa1DaV4AXZhO\nUXvL7fmug2ciLo5D2EA12onrztHhUaMupDI633zPoeolqoOsGUBeMDkx9c2x\nUouMnvxS6+y1bWUThp0+AGHAxESIQ+Khwzb2wOZlpzTo3JVGYow/+5dhRwaJ\nggVhJQ5JzP9WShDSUY0llAAgyoIQNSbBwsFfBHXCp+NZMs381/eh2H0xLb5V\npkdhLqEdXpawlTMTH8ETYbJDDAT51pHsLDVTSvSm8gHSZ2zV2sXW4PNk3zjs\nK/1VpowluNkmKpKTHcBHZvEb18AbLN20J6qDksAJFSQ2nDpfBvnUkSWmIT82\nb+h9MBWA7LMGd96VNVJqC9i6pk2tO4o7ekDzs3sRqyBEYVn7q7AOUtburERn\ngfHfVdEeVi+xUfBcx7A7lofcs0fdZMrobW5jXizJrFsyYgA4kAZRZs0+MEyM\nJZsI\r\n=g4DL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3RFoaBhEMkAKmR/qAQBqq2BnzR0+rXCtI+eJ0D7MMdAiB3tm+Yx0lnM305+W4cEHERvqNGUdGUq6XvzmnUMxb0Tg=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.32_1561999575744_0.49240717896249353"},"_hasShrinkwrap":false},"0.0.33":{"name":"matrix-appservice-wechaty","version":"0.0.33","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/*","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint 'bin/**/*.ts' 'src/**/*.ts' 'tests/**/*.spec.ts' --ignore-pattern tests/fixtures/","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node --files bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch 'src/**/*.ts' --watch 'tests/**/*.ts' --watch 'bin/**/*.ts' --exec './node_modules/.bin/ts-node --files' bin/matrix-appservice-wechaty.ts","pack":"npm pack","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.23","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.6.17","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"7a1de3f0bee86a72e834b001c68f7fb306328735","_id":"matrix-appservice-wechaty@0.0.33","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-LR8cOjjWahadZsZn9e+uyKGz8NzkitQDpDO51ntWaY8VZN9pczPUjwxIAjHTVC9TBlAVrxmnpkZVxmzZugDlxw==","shasum":"a97134bcdd13d48811cc325b1ec33cc6ba9fe352","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.0.33.tgz","fileCount":98,"unpackedSize":369671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHbRZCRA9TVsSAnZWagAApn8QAKRP4Vs6POIWvm//OHS7\n5sJOSIsKNphWBaa42OI+MFj/wpwQWq9SHzJtepd8kDslMxMqtI0+NNfyRwyX\nJ6DwXnkL0dmAHseJly0Hynna0S82KYAxMg8a0/8XcK8hfQB+99JtCR3DiNvq\njLPn2NvPkBf8YzAU84+EeCSHNqxfHk5+ktjdsfO/MmQlrgR1PpQMig04zXN4\n5tWajj/TdrF895fRFdG5p4v4XnqbIVUDOWujtjgkTllOIPMBSSrqReJwqT5W\n8cTE4y3/xOWW60Sqh9eM8f4Ry8qcH2YzuY48JjxXUODyZMVvOpU8N3gKqtXI\nAUYplnoWYD+sUqIpXHZGe2TRNr5nnBivdGVZ7nhGL47sYvz4CULrxSHD8ecH\nc42OR0scVfEqCQD0+LwBPBR/T8npqtyLrFimmUc2g/zx+kEUWWsMuAQHyCND\nvm9E+hrL+zdZOf+UEqdlkziRmJiWgFVto97tzPR9uTV4SXW0/d92euI3h7FK\niJzM7/W22LxASlsXzT0EqaRIPpsWxv817as2t1QgbGtqUVNvsGoPoCHSsuqt\nDyIPrKF1KGctoJrW2u4eroHZQj+1Zptr5UPfkohgmCPZ7paKJxVKW7X8pk4t\n5UyW53fhx6Dr9WpxaMseSmSEnXCb4CPaxjUOU7F3+sLXBokgGqCr4RzkyANO\nSzcm\r\n=hQVh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvdVRoi7arxatgBEG1H6xSpvFyNTBalWaFi1ExpUNo/gIgflf0mXgHiY8UThRLkFC2LaZWnmQMDD17DIY+ZLYa/Z8="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.0.33_1562227801158_0.971771422434595"},"_hasShrinkwrap":false},"0.2.3":{"name":"matrix-appservice-wechaty","version":"0.2.3","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.43","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"433a7deceba6b8620e28249c85c71ad95d8cca12","_id":"matrix-appservice-wechaty@0.2.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-YIgzEXjsAfGcLVZCFYCqNvoMRJWdo9gXsvR1SD9P8JDBG0QPzUoPSWUag+vEcUQCLMNr3U8dgKAA+zmIpB4ymw==","shasum":"b7801f947c94e4ad8dee650e66c17c02a660a0d9","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.2.3.tgz","fileCount":108,"unpackedSize":445005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIjsnCRA9TVsSAnZWagAASyMP/1O4QjAC/XDyjXjLCPAS\nagz34/ymOwQurKOABCHr778LiGtaRAAtaTjq/d4ldWMfkvv0M6XQdTGCTF6b\nmwMGOlP+r+iR7rQeowySB6axCF259d6k5XPlkzt5sv9+ua8TyeFw8K1/TE6Q\nrMf2uoGcnOI7aGCmPEp+C2gPcg48tpJ+tbwkY30mIb+j/X2UOv4okvLOq6V/\nmhTvPeT+bsoF/Ue3aoXawvjNXUfxUDWWg1b1Co0z7LiKpLCYtiMyyCyjfivC\n+6JeAn7Lj/w8t5txs9GBUa7y0xu+sTZfTcnO5q8LtPVvD/QWSedFOCwYcE9q\nB0kfOghzSBayDk6wgDBmWsx7nimnWXWIIG3T9v9ZD5Pu7zYghUc8P5CKLOUX\n6LG4djefwe9OFIPmxmGdngsKGFbDBENvxvnD1hg4mM1YGkPAiPfUpEKbmH5z\nR0FkxV1c3xHi7l3fYjULo//UvmbtAQon8566ScWpi98x5TLrw/9g01xblu+w\nzkmmd4t7aPofawtdYBtLX9Yt2v5G7O5w1/DDkDLt6/OB4Ft62aRmi4p78cgO\nfcZuVKFWObrAYRveLoxebN18gGDRbpZSVc/K3Z6cqAobZO6vGAfpKmx9AqDo\nVx4WvS5ELndHuQq9mkyHmwB1X4exMBDH4OLpPszZIJ9h6EWxMdTReRc9izeb\ni78U\r\n=sH3h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICloaUIwZCtzKcC7204xNzxAe5PjzBBsbc8jD1UcrDUZAiA2Cx+syNtuAohnKnp8zhuVPE3h8YA/Sfk7qWNGEs/ZTw=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.2.3_1562524454410_0.7018341686498166"},"_hasShrinkwrap":false},"0.3.4":{"name":"matrix-appservice-wechaty","version":"0.3.4","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.43","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"36186000deb66655a9e1d0bb28cc2487c7a6093e","readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-blue.svg)](https://github.com/chatie/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![Build Status](https://api.travis-ci.com/huan/matrix-appservice-wechaty.svg?branch=master)](https://travis-ci.com/huan/matrix-appservice-wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/huan/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n![Matrix + Wechaty](https://huan.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n## UNDER CONSTRUCTING\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/Chatie/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> -- Apr 2019\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> -- May 2019\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.2 July 2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## AUTHOR\n\n[Huan LI (李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## COPYRIGHT & LICENSE\n\n- Code & Docs © 2019 - now Huan LI <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","_id":"matrix-appservice-wechaty@0.3.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Px1h4KtoKdF+G/T+4k/f99SMKGu2apy8S/FDkwfJN2jxQ82Ae9P8FgjqQsNr/biurimp8VFWONgIrI5ewLrsow==","shasum":"3c88da87a899efa3c9f7c2aedd356d07292fcabe","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.3.4.tgz","fileCount":108,"unpackedSize":446672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIkdJCRA9TVsSAnZWagAAL28QAIF+5oZzmm2+emsUbovF\nC7j8B0Grz2w4LopawRwGdPH8gX9G3OdPiIT6GpR0abvTQFOWnBg1UKFv0Xrg\nsgjC7LD0sspjMbqWU17BNLWJoqIZAWsamZ1S+RfUBZmjTlL1Ypwq8IaIbwrl\nHHzdCs81dagGcYa2uLx+1G8EH2yC/gWEy7knO6Llbyvc7Chku/ReVCFgmy3b\nUemRTIbtGMu92En7p7TvgfdjFX1VkLJJIVSLaftLZoiq+RF6X2Tja32aWNN1\nQ1DY5CTHBCWt6/BJS0/n3GgBw3o4DI0WJUldub2MHPhQJNRLYyN2NSEJtrhx\nIA1H/eagnHhgjmtJAk6gYiaoUHOjEaTJ7Ygb2uBWwSn7w+yW8LHGuZmW9x0y\nAyvClNBpY59gvbH9z3TfC1PQFaEeCShgZew4PZsjCFQlS45sacsG/1YyLKY+\nvkfMw05hWCPzByHCINOv5JGS9CK8xN/UQ1iCxrJdiNmo9PBPmr2INYG/U807\n0utht2FcqzAmmjl09L8HMEjlEUTL2dOWjpm7up4NLMcwtdeN9Y2bf5z5pGCi\nENe7Ku9l/ZxZCkBIpSieXqZe9/t50dxlSyIpmGQO+MT4C5PCFCFk3LkRv4W0\nJFmx1E2deoo/P0hXQTqopSFsmg8FOYxtKs+mOL/dwWtTIVg2SKQY2IXDOQK8\naBrX\r\n=2WQe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7ddTM72oWHuHn/JPjH8oZuJjLwboq7Ym2WDLhpFnIwAIhAI2hjwY6DiQ1aTop1Z4wkcpL766eOu4bwjIRHCkWZlgz"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.3.4_1562527560519_0.4175354651461347"},"_hasShrinkwrap":false},"0.3.5":{"name":"matrix-appservice-wechaty","version":"0.3.5","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.48","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"44242f416933529113c3734412fd97588c83f05e","readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-blue.svg)](https://github.com/chatie/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![Build Status](https://api.travis-ci.com/huan/matrix-appservice-wechaty.svg?branch=master)](https://travis-ci.com/huan/matrix-appservice-wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/huan/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n![Matrix + Wechaty](https://huan.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n## UNDER CONSTRUCTING\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/Chatie/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> -- Apr 2019\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> -- May 2019\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.2 July 2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## AUTHOR\n\n[Huan LI (李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## COPYRIGHT & LICENSE\n\n- Code & Docs © 2019 - now Huan LI <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","_id":"matrix-appservice-wechaty@0.3.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-DmzI4g5E96TDeuj7G/i47XCCQJTmwYWAup5K6vcLJW24E/mMokmZtnw5gVmGyDJQQeobTaGh5Xzj1TIjAzGQ8A==","shasum":"96d72cf0ed3443d2de540c85ea498a907655aeb0","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.3.5.tgz","fileCount":108,"unpackedSize":448941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKgRjCRA9TVsSAnZWagAA/xoP/jgBi/g9qXxoO4nQmHKu\n0CSmlFr8ygD4MTPvDvyVZkUSYBtW1LlaQemucBt+bVPY3zzaP2U6u1Slpj5q\nQGuVDxryjMjfQvntab6GqWOpVD3IMSLFFt8ANaXveZJu4JBYB/rVv1uNWTcK\nc9Nh6Mkzxt49p3gAHGzaRePjH5YWOsz9/eJowJuu55cnmFeVOGo+0GkGsIju\nHvc8Qp5bgb3xwDI5fsMUh6cp3o5lwTZomjhs2F386uWuakZvAFivPxhOuAju\npAMjdjmer58V1SFPa4iEbeMLAVO0LKNlln0lVdNvxWobBCB+MID6uUhBtRD0\n/eLWNOs6WZ+VkGPpyV5U7woW4R7LpjpsUYhQ+R71t4dDr9k3z0idcrPuLJRn\nyTBP8+eS03/TJ/oqBMjmgQ7gA7dhrzRvg7NQOwlqwbVFTx5CZvEPwV24YHSN\nboQjdwgscQaX4Pzmp3NBVW8O/Nw+5gHoLbn7rN830z5YtXadgRkQBhK6MTV0\nGcSXHzaMeyRf2s+hYq78En02fiVv/QWf/t/ILsbORRmcSFP6feiXm0oCQ6Kv\nNbzCI278hRuF8E0h6ZwOCDe0P97bJqqm9cyGbxoQRH5dP6BLB4fqcQc1hjMY\nn2rQ9bci1eieF6kFaqWjgUDH4V82/MoUY+yYyVFXeAEjL2hqpmvMKpFG6gog\ntzPo\r\n=n6ZF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEb8NyLdHXcygY9YdiBc/Lae3E9Wfoo/4PcOpk6VBtNgAiEA4I92e9ES8wxsthglNd0EN3eYu+HzQNOCogo3lLbh8Bw="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.3.5_1563034723021_0.8388599805715404"},"_hasShrinkwrap":false},"0.3.6":{"name":"matrix-appservice-wechaty","version":"0.3.6","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"b71ecced26f839c6eb6b1538ef7b5f637e0e24bf","readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-blue.svg)](https://github.com/chatie/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![Build Status](https://api.travis-ci.com/huan/matrix-appservice-wechaty.svg?branch=master)](https://travis-ci.com/huan/matrix-appservice-wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/huan/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n![Matrix + Wechaty](https://huan.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n## UNDER CONSTRUCTING\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/Chatie/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> -- Apr 2019\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> -- May 2019\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.2 July 2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## AUTHOR\n\n[Huan LI (李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## COPYRIGHT & LICENSE\n\n- Code & Docs © 2019 - now Huan LI <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","_id":"matrix-appservice-wechaty@0.3.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-nd8Lf1zkMoRpEQx0ogxhic9dhwACPbQRuLgnAS6wq8Il46F3QQnHK0s7cT2gW+WpahWl85hgDFbkpcmtZcvB6g==","shasum":"3bea6e97431d67db41176c171192858a548ff16e","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.3.6.tgz","fileCount":108,"unpackedSize":446322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKhcxCRA9TVsSAnZWagAAMBwP/RqRZWschXi/Va7QfWDs\n6XAprJs0w4+v1gvn30w+dqn59tMcMRsD60PqAPeON6YwEkpLjh+r9PK+2+fG\nxNA8m13pVrQ3tgq6s4O660a8hCvt0zSxqpDsbyO2HEU4HxmOTCN2gr2G91Zn\noh3qziMnsZ5RuO+rzlcL8gPK52/QZYzX1ct4FrYmCKqx5M0JJuU6UmIo9vkh\nCA22ihjAj3f8HsDoBmF6v91lLTfy9kEV6XICDO/7pHKZc0OpQ/yvoLW24zwQ\n1sXaDlT/xdV+CLeHW1krBPp3OvdQBooStx6Dm9xufkQ7FYp9ZxVOW+kHTasa\n6deFq2oQPOFmRNibLq+uICeKCze4Gb2jHWlijhA4D7QoIKAXLMr4wEAn47uH\ndC20eYsgIFXsea7xWYjmFfysjLefIjkXL9CW93Pl/tgiL79JpESeGYV8DdPu\n1LZlW0y+PNd/kX9FstlH4K+KSPuyh0K6PysSGGktLBNmZ3KEfCHu4tKJIq70\niuGfW3+P0Hw2TBxoH2ccuVaznwW2xXPeToHYANtaVZ1gSQm8ab2aMqW1/iJg\nlKfzDqpiYbT0YuKzm9mZzkr6uosIKkP9irJlo+jTpqPOw5QeYiaNw5wDX8AM\nvsVlzvx/tW7VT0fzxy8VnlF90EY4FDWMzQIg4Biymogn9sO91LF4AH6IHXGX\nmyJj\r\n=b6fq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6UCew/Z5ICxHIR1z0YEmGe8i9paDPUHlXJQgrCGwLUAiEAyG3ZfjfGH2PUUsQ45tFou30+6QG0qfT7Fm7FziwEMg4="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.3.6_1563039536867_0.14121953713683522"},"_hasShrinkwrap":false},"0.3.7":{"name":"matrix-appservice-wechaty","version":"0.3.7","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"69fb8a8a6fc44e42b081f5a1ae64b217225867b5","readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-blue.svg)](https://github.com/chatie/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![Build Status](https://api.travis-ci.com/huan/matrix-appservice-wechaty.svg?branch=master)](https://travis-ci.com/huan/matrix-appservice-wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/huan/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n![Matrix + Wechaty](https://huan.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n## UNDER CONSTRUCTING\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/Chatie/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> -- Apr 2019\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> -- May 2019\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.2 July 2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## AUTHOR\n\n[Huan LI (李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## COPYRIGHT & LICENSE\n\n- Code & Docs © 2019 - now Huan LI <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","_id":"matrix-appservice-wechaty@0.3.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-iaU1p5j8N650MZ7aokUOa2PntNlqtnL6+078QPj+l4MnoOZGg9ODxMUiUQOpEpQKJc1/S4K9fFMS8fPYf+ZX+A==","shasum":"95f4ceb32c2909c8ad9677291ba3140b9f154e96","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.3.7.tgz","fileCount":108,"unpackedSize":448124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKh0/CRA9TVsSAnZWagAAY9sQAIPtPJwtpF9Hr+U8g2Pb\nUjz6NHOJ7uMW2hIQ4PK4w5EOz9GuaJ1iWF4I3u8P5zqAJWqCXBjVElvfGlBM\nmV0sU2oWrPfP67jkfW4yrvseVVlTqX1XOgrOAHp1w98dVZokRhUR9PCLLA4i\nBH0HQB800m1nIl75eJAwReFuH3UPLGVCc9ardWRT/0qI18ySXwIFCQWnumRP\nR2U9ILlWbwPL4P/bd8H+t6ryjnm01RJTyJV0xACaqHoNxrBrXYp3B+Rcy732\nr88qDpxOx3LuUWIvwvGcHdtuxE1LSjD6TpIsj81yOpE7PT4s0YI8N/0SskDp\nYRWbfkmGn7SweWLaRlTnZlxQcGesoITU7NdDNTwjosu2fBld4QfTctxUQVLW\n22pi4L8DygK+0hFxbv2RWjNxyIUHCIT5exq5/mvQ3sU0DG2UuhOJgN3Cr9Mk\nusXvuq+XWZFiaaB92p4LJO6TQkmSIC9mbDRJP5zETUchC3ZSDPiKQTNmu60s\nJymiON9loBR1GVTstc6uNiRulnqfQaboJwSOVpspaexld5HHPqK1MNhm4xvv\nxz6v+XIAwoWfCcpKWGkbd9BO5s6R+AUuHurk0mZrWhtw7x+oX5wRlOOsEIW6\naVFnx+eU0q8ier0/14y8/7qlOxtjKImL5D3NTDdTqs40K3NyadiFgMe8WTpi\nCxu3\r\n=r7uL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGr0SC3DBGgPO4V96KkcrDm0UpCBJb2M8Ecw4G9Q0RiBAiAOdz/koWX76b/cegp+eEvhOALGtIw5JQW4ckF8szZnTA=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.3.7_1563041086397_0.31403645502709976"},"_hasShrinkwrap":false},"0.3.8":{"name":"matrix-appservice-wechaty","version":"0.3.8","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"f480311a9df1ed699f2889e67bdcaeb2be3ffa0a","readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-blue.svg)](https://github.com/chatie/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![Build Status](https://api.travis-ci.com/huan/matrix-appservice-wechaty.svg?branch=master)](https://travis-ci.com/huan/matrix-appservice-wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/huan/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n![Matrix + Wechaty](https://huan.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n## UNDER CONSTRUCTING\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/Chatie/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> -- Apr 2019\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> -- May 2019\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.2 July 2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## AUTHOR\n\n[Huan LI (李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## COPYRIGHT & LICENSE\n\n- Code & Docs © 2019 - now Huan LI <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","_id":"matrix-appservice-wechaty@0.3.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fY/3E8K4hkz9VFpOGiFuFGnOkEUKxx9g10q57X85TkRPz7atEKpHRS+ktniwheuJGIRolXmZKJBok+h/CmcHaA==","shasum":"82070e04beb276aed8bb7c9e16a21d8c7515bb7f","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.3.8.tgz","fileCount":108,"unpackedSize":448712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKiXjCRA9TVsSAnZWagAAqssP/RyrwNfDbGQ7JcWfUgeT\nl6p5sjj4ahVxnXeFmyrtH737lsKvw38ZCYs6NC3sKncpo3/+wLUv2hzryz+Y\nUY536w9U/MYgYSfa0ePJbfQmdmHtAlmbTxsh3jGRNu5Reatccpp+/dDpqJgR\n7rqQ83n3ZrlWwXM50Mxmd3hngs35LbL3xZaew8JWHMrXbb05NJ98wuR9HoiS\nFVfQreHUqq+x1q6ti2FFIEdpvR+JlbmxzY2mSR8VH3I2rAV78LaOhvQRuhwy\n03Auky1bmKy8MrN2TvQa9nhivb7EsJksHK8LtsKOl46u5QuqeyjfnxNi1OvU\nhQwoBNK2/dOGjUCvvAYY1lZ7HIv4qfVJhgfDPfWBNah6Eo3ZDTKwVbegCPhw\nAnLLwp0kQHW0rPOeBQIKNMJ7eI/Sr1R0vMwIe5hkglnZlWMuG6uspxYvFa6w\n1hciktGsMWNteOG6tzgZtL7qr9Mt9KW+AcbM/1s8rlDqYT+NabB2XeVMfYt0\nNGandUbfo7xoBefCd0cEZrYMRfU8aVulJkmWmgVMT/LYCsFn1QcJKbA1YrzG\ns+YkwA4QHYdNUzY/gN2dqztiHTmtZbK7Dx9T6IPfVODH+pZ6OOeI+SXcNqiZ\n91vEtjtOeAl9a7zRo0hU+wYH5rWSWw6RvzXO3sfvHE7h8UZ2wWFVHV/iwQYJ\n62rv\r\n=YiJ4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNtKcZhIRR/PfzMlB8lG4TyE6sZEIqjglcNVXD/o7SFwIgXCRJv2u1OYgZko48L0y3kNCdUeXSKAkODeBdyMDum9s="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.3.8_1563043299259_0.22609139856001415"},"_hasShrinkwrap":false},"0.4.1":{"name":"matrix-appservice-wechaty","version":"0.4.1","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"5de48706d581f544d253ddd794fd53a2186b0f60","_id":"matrix-appservice-wechaty@0.4.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-srLdH+z8jPSjIO3KSDyj9Y4FCWVWYhKqFtd7WdDQps4uKD5CwqKVIqdJFnlxzh2RrHOaFu3QTIFMt1kQB6pVgQ==","shasum":"c2c37467c09de4282f1b94dc62e4b633a4bec703","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.1.tgz","fileCount":108,"unpackedSize":450556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKiveCRA9TVsSAnZWagAAHlgP/R7lm0nxpX73lBuf2swo\necOg5Aofl1a4Fr2lbVQCKtQ/2D9myLik2k6XmvyWvmE8IrQYzVqsZS4gm+WS\nDX/yx+cvNKVqLwJrIbPxe6jCdtUclkLe6NQCW/TAuqJhOjxpCGPCwVDvIf4e\nom9vaCrw9sWFo1fmbDlNc6EobxeSHwwB8E1KxlOaliaR7YDshtTtBBka1qne\nWdQbhzDsdIyIwC8YDR+nO8+DSTpll/TmWxRxrmXZ1gR79YA5YN9m5Hvjij5a\nAf4ljxihSllOHLsb3mpRsB8+LtBzny/sS+UadZ7dPWnoQRuTmwE/qU7vi8BQ\n2mqto0r0WYSZBdiAhnSZug3uHPvvLQMKk14OQHTK22ty4W6oxA67wj7++xql\nL1oR2H+TRZyERhYhZBvbeMNC6P+akqEaoCBvhaI7aoyUhSNYLq4nuliDS+Gl\n+3JX9rPRHDek27HnEGcxilm8YK2kZik8ZDJX59GlZpp2iLBYEnYw5SaJeFD7\n9HW7I7QpFnd2pV8gu0xLnLMt9r2qBNIfYyLNWDvvWBAdge53h2/V/gLJJpwn\nAnEsaGNSSZ8eDHdwnfb0lcznL7xVTEIeBwcjv5qWzJ/1vNGoMVGqF65UbKZH\nqoHbzOM7jWyWbhtrtTyVwmaVRVgqmuGSviQP5uVd1cEovuEj7lagnveeI8WX\ndcHE\r\n=BByl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvGYuzSzPrz3b89+bYhseEeK3BDQYTkcUG8Pn2lb1NqAiB5Ic+lVlikXRZGa3XaKuDwz8Z0YbZ5+jtopAyBjqM2sA=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.1_1563044829640_0.12290138349995394"},"_hasShrinkwrap":false},"0.4.2":{"name":"matrix-appservice-wechaty","version":"0.4.2","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"f295d81a70546bde18e10ba288508eaf075891b2","_id":"matrix-appservice-wechaty@0.4.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-tSEyLNv1xXtbMzoCCGY7saDoH/6tf5z3+Bz/M+PqGxttyPWGmk9Xmrx6K95+RM1E4JnkUQZkLA30kCTvUGc6sA==","shasum":"7ed6fb890643034723866b3a511f95dd3cc95fb3","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.2.tgz","fileCount":108,"unpackedSize":451156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKi+GCRA9TVsSAnZWagAATRgP/2o4bDSBJ93RZYTNSR/W\nSGMLxUfuZi36xPCP4wLgzW+WgvmYfHCj7bgw1NKxYP50BX3pkb210WNoY9wV\nBXslxv8ebY6hlKaLR43Cz53QnrajWEK0dP71e5+aL7by2yt93j2YvPZxp0vz\n/iTC/xHBX7ET69WaC42BvDFIx+xNWKW+E5uCW3wykYHK8V1FddRk7q/v0m5h\nEolR1SH+KAmu4JPEUEFAFXanCwrABc3Amnu8oVZ3Z+VDHLaPzzGAfGqa0ZZf\njs4DdkaxN5ipdpRiIoeRfRlpgaj9P3CCP5eoI93ZMzh233Vxr/wtog3aiRXa\nb7Pw4su8RLbngjglQaGgg/5+zjrydCmR4pS3MyZ0tSq4f8a7TqhpuXzWMRmf\nUCeN2rvkCEp5icDjxqdNR+o6IBW7+c1PivjW5f3pXnAtNJVIBRdbpQoMF243\nlrYaWvunZYi3jtdESe8qOkZc5+5cfVpHTUCrB2FK+ecbjbdct2DcKGK04Lrm\nG1afzQ+oiaBAbYXs3RTu0sKVxwVndqZqvgafNAVWix/tbF1iAMSoMwOprrkg\niYFIpOguUWRqKRnu/UMavA5QOz9gVHPyPFuFcUbNdJoz/GTiL5XoqymllKYX\ntMpE2Pq5hG1sn40mmZPj7N8INiGTlPvkkVoHwSuhgda1SDEcsZZcdklrL158\ntEds\r\n=nwFg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA5Fm2PxluUeegSBNi3QUJ4ADkaJwVcB0KVxioAs9fSAIgU+VfqiG9CMgvoARxDiUfCFHzRdPr+wRPBw2BbXtJozs="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.2_1563045765595_0.012886582378394129"},"_hasShrinkwrap":false},"0.4.3":{"name":"matrix-appservice-wechaty","version":"0.4.3","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"42d95e6501fb82c0cb7aa42d6aa50a3e27c1a0cf","_id":"matrix-appservice-wechaty@0.4.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KO3kr98qiGDpEP13FvsT77Isr6QfPpe7xQOfwwM6v+NuubjlQ4H6/cgp4pOjHPbyMaNmjMa0exOsodOP8XN+/Q==","shasum":"4fbc38cd9a838d13da2f4cbddc4e98a61fddf7bf","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.3.tgz","fileCount":109,"unpackedSize":452099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKjfFCRA9TVsSAnZWagAA0O0P/1DsucPrs9kJTeUCqzky\n6C9jybcYMUkLVrCz40DYd+xTyL4nxC2NjY8n1/7abVX/Fh4f4CQ4w6HXKwHQ\nJHOzm3v92cwFSwu9kmovjcmTe6weX1xaXE7Tehm79OkOe2lvK0I/2V7U1RKl\n3sOlE7XY64LHKj8Pe0bLNMB+nGtdn6UUuPaUu3/4DDE+SblIFG7X0ckvx+Z2\nJZAtHg0atYAQncOnNNxkTXHvg08ClJ+NwQvXHIrWOIj8mJ8mUbpxkqkGXBTN\nn7HiR2fhkZB+75IE7YR7ukThUa2qxR2TH4Ta50Qnx5bnropV4dougzfJ6/F3\nOQW9ob7oo8YQODHYAFrXj0TcVs42RhKeT1i0SNir0yS13+UsImqMxo/UuUZb\nC5uxl+OgHojfq7E42YY7sg8UYWQPpVlhH4Bj/JmYmZip3k0uiEIwzedOd1qT\nN3H4scji/CIN1zkgK/G0IantAwGYMLK9Kt8p6SxHgvK3xHW3352V+1y3IJaP\nAt8Id/M0qUW4mvh6o2fcH004Te22yVuzwkuZ5gAaD947qxgLbBdo7S1dr0tq\n9ujzPlHekwAfYzlDnMnOgOfFTL44ILoTyVa7Ms+t8B1yuNRaOT9Va2coViUQ\n1zhQ/nI7QgzLMuwNTwB3F0Cd9Duyp9iUnD6HjH2obRJ8nDbXA4jcig2RNsw3\n2iGK\r\n=mJDI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYULJAWp1gnoBP8O83P44mpV5o3YqotHS1qCOKFxqL9AIhALNu4DIcbTqLQm02b0LAq7SFJruqQ0QU45Qe0ZvF7zZi"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.3_1563047877130_0.3520987110308187"},"_hasShrinkwrap":false},"0.4.4":{"name":"matrix-appservice-wechaty","version":"0.4.4","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.8.1","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"a926babb28fc24681829d32832b9ec0109184857","_id":"matrix-appservice-wechaty@0.4.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-6ffY8qYof/7JUqoiET5/QpWPHSxKOQLKyjNpBFR1HKQDV61aBRy8z+L8znowgviAk4HOLHvml/ECbw7agAjOSg==","shasum":"0209f7b8b5a6246cc8a09d7cf1abebf3b047e95e","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.4.tgz","fileCount":109,"unpackedSize":452504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKjt4CRA9TVsSAnZWagAALboP/2vSEUoJhZnLDT8cXIoq\n4I3dDmsAj2e1XtjOgs5DN6yzYgak+TUT06DLY1vH5fjcg+0vhn7J1rNcQ7Uc\nl1giZWA79yPw781DItCCg3FwOgfu7a7H8DXe+vuMKmqGTglaR4aKLWlb6bEF\nSBpDHyzmJD/8JEKEAI+jn92QcZvyveMWoIAlOi97o9/aR93JXZXtYFMXtUwp\n01TnwycZtISrt/ipt9697Q1PVp4rJFOdRq9s/UK89bS9CgTjWlkpSYcUhI92\nK8jT0hSBf9lTZ7eAuqsRV0BRZaqDF8t2MFAdxTRBqFaexoPQBGV5d156XwRM\nwUiU06r8jciiFmJ0w/TDkvET4Sc6krvJWKUFR6iDXVkUfHO2B6+47STJRXPj\nB6n1V2LDlbj7qPBiY6Y2P7oMrMv8IMEs2Fc7NiIrR6ZBV6eS3h9rF/qFrJWA\nBBOOkapsOz4p+90MwLd/3akW0JJ/ZgfkALPCzJP9ERu67j1Hekk6Pz7MTltp\nJwmY/c08DAwmjKwx054spLOhc3zvHD7ohc8kN5NGn/NdZqOIHKNHO8pJrsKL\ngWI+MIUyzL6/j1c8m8Kjdn6sIHkq/QiYwTskSm11OLiWtAxKR6f6yT8+FQ/h\nMMRxAJYGwiiucrK9RI+f0TMvCVWHJLhE7Oi3Y6F/jICoLKnODuNHn5pjj+Np\n4rx5\r\n=/sVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDToHcMiDc/hS9pEDkyMH+/cGUGdZIumZ2H2z7+HgVQxAIhAKM/37VMlpyoo2a+8a858S3by2ni+cedTWb1kAETkp87"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.4_1563048823716_0.5414208352583325"},"_hasShrinkwrap":false},"0.4.7":{"name":"matrix-appservice-wechaty","version":"0.4.7","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"matrix-appservice-bridge":"^1.9.0","cuid":"^2.1.6","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^3.0.1","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"b78fcc3699428c8972a71096c8fd1d3e895d061a","_id":"matrix-appservice-wechaty@0.4.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-enfWzDJ4QfXrCQgPCwfZ4clSuT9XnySIbqT9DW4xzqKpZzwX3W6TEHlDgjhbr+79TIXEJEuqmKC82fdC8FLRcA==","shasum":"6290f416c2e3bf88309ad91a73d6419cf24b8286","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.7.tgz","fileCount":109,"unpackedSize":459376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKtjtCRA9TVsSAnZWagAAUsYP/A8ysU/MjuFawrb2b5C0\n68QS/5Q3Tp4p8JOhjyeeC+L0JacfWD0uYUyico+2AbPfkh9EplE1mDW1OZxh\n01UZG0aAjjbWkrmHmUFNO1fTr7AAw6C81/TUdvuy7mbS5Ybz5hHhuQQgv0QO\nVNC0+pl+KTe/3nw98rWuivqFxSu4Znh8HCbp0t/wE3+umGnRChPFf2EaJ5UZ\nymo1AH7m9qp4Xvdh7p+rEAoMUqMPGO2XCeuB6rZ6r1wqXczfhpZ8QvF/YeAu\nSwfhMyzI3HMYLz8zYCu2aldfn02MQP+20j2lyguXLsSR5bb4RSvjmTJzyDhY\nfsbBNvYhu9hziX970T3E3VESUydY8wr2Mjofh36k6oL57XwjsX/hSKwU68uG\nEA0wTIXvqe5FVb0PXIdgl3VNAaiueep+JUKkYKlrXK3WvbukbhnuJoyhiQAg\n6eMTy/s6YiArPxYUP9W/NOtW1VXZ+COlBwfeqE5/nkG8Xfqq8LX/ww7+JREK\neMuEGFDgFwJYju/JcAkAkOLHtGS8fhT0vh+Ucz3VqrtljcFrpjBpd+0pMssX\nETLGgnpfacuchTMwHPf+bWKvSd6k3oDlR/CIQDAz8q+zufCY5QTnpgxZItIK\noMpxq8i+647EZ2Pzzq7ua7prAbIV8X7KBVGVgnVjF7ryFjk42MXUyYnK2snR\nM2io\r\n=/kjz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5IS8G5zVW3Jx2vZ4lX3pbkFGiG6eZvHM1Q6Ev3R2FnQIhALy7IJRye+12sRuhWEDrqLTR4DlAD6EuNJWCjeGyleCv"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.7_1563089132966_0.03402494080737695"},"_hasShrinkwrap":false},"0.4.8":{"name":"matrix-appservice-wechaty","version":"0.4.8","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"matrix-appservice-bridge":"^1.9.0","cuid":"^2.1.6","read-pkg-up":"^6.0.0","update-notifier":"^3.0.0","wechaty":"^0.27.52","wechaty-puppet-padpro":"^0.3.7"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^6.0.0","@types/update-notifier":"^2.5.0","nodemon":"^1.19.1","pkg-jq":"^0.2.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"722c21b4fa46b76fae7f60f69ca96780c11e1270","_id":"matrix-appservice-wechaty@0.4.8","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-h5JCr8ji/ZB+4D9V7KV9U6pa4VuhPZEoqxY3rZE0d3jVwJpEdkB6WQmhlgPeGUFtgguRgvixTR5ToSZ9rK2xMw==","shasum":"a486dd2d6b7c1abdbbf9be5f05460b4973bdfbc3","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.8.tgz","fileCount":109,"unpackedSize":459409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZlEMCRA9TVsSAnZWagAAAlkP/2V1IRJ+d5C1cShtSzfB\n3Wi/yyX4rP+kmG3MvpuZrwNTkhQDNKdeJAzhBw8fxcagyuwN9DoN5tpFC/3L\nFSyp9uTh9AVSxk2SmeKhV0VJMRoKFt4ngecYPRsgV3LSycY3IXZfiOdpSFiZ\nDAF/APDgMsLyIrT0iWUYzRT4OANs8IjoXJtdcM+YlE/dGrHWuT2Tw+ef50Ku\nFLQmqqhIZJ7KW99g3mXMRzBiTFSo09khQ+sYRJcsM82ZF8liM6DTT9oeBtHd\n8E2VmGPIpnWzUPXwNDJPQDPvwzWjE8jhT1jWUHHhS0bWGLlVvYiXlMf/JC6t\nz+8oSGhpnBC8ViPnoznV6kjpwr4Dv7argVahe76AzmjqcGjMTF5lxV5HCFpj\nJ1Ipflpm1xK93fWGXIG4mf/VpS8nu4zvYHLqjiFWZnqzIYxiqiieho+K2my3\n+lE7Mygf/GSHgJwCO24Et7cjLOyOPD8vcGHSZIg+JvawJKmuyqmYdtdisDYF\nMRi0uwEN8nlQBeI5Cwxi3TjfW7ny/cz2r4wpz19q8TcFC8u5uyJw/UTGXUs6\n/o3AIU0BqnDycOo4J/3MqqPIkC2xfA6agkZmBItDXMp5eEKfZFNtTF+oo0QT\n91xFxBb1b6rtQhsKhW0lmj3E1Sd5TBz4+V+dmFIMPAS/CQWAP2D2Uzk6JfkZ\ndauf\r\n=MR//\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTVfMzOb2KSCJEt4+d0jUjmNmAyH3JfcLIL59wfCkh7AiAf1EvUdH/02b7TuyQN1ZWzNtgBRjntVdjnXnqnY92r2w=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.8_1566986507627_0.7164551043816045"},"_hasShrinkwrap":false},"0.4.9":{"name":"matrix-appservice-wechaty","version":"0.4.9","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.9.0","read-pkg-up":"^7.0.0","update-notifier":"^4.0.0","wechaty":"^0.31.22","wechaty-puppet-padplus":"^0.5.12"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^6.0.0","@types/update-notifier":"^2.5.0","nodemon":"^2.0.0","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"d52dc3d0d2734b2ce4b6beaf8a6414c20dab39ed","_id":"matrix-appservice-wechaty@0.4.9","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-4xfuHNcEoKnuvJsGd5zqh5q09z6LbHNowLlnuv/xV1RVvpV9LlHPIT8DHqByesocm1urwhOdYX4MhrP6TWm6pg==","shasum":"059d43b3e33e30f6df79f852e3bf2936bf817831","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.9.tgz","fileCount":109,"unpackedSize":460255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVJKzCRA9TVsSAnZWagAA3uoP/0oHHE27X44o1xBPeXmP\nNF1AAz8CoVYNxHwgMNR+j1ISpKD+HT941WlWp0vG9/qv8IAbpxdG5SerXJGK\nquunAwvx+r7IhGIEvwBVWyat4O4Tj0DDAPf6f9R5z+ZN5rnqNh+LckQLAxUj\nm+VksR7l8uSbN551LaTNVqB91h25UEynCD+MHbAO48XA2XHQ/VkDsht9UHyi\naWUFxB7+9WO4DneHXkky+Qxh7H8WM2OIADGZyKSRzWnl47oPuwWlOcgtVZCj\niu+uhNq142dZRrWIKExwTJ49T+L8/m5q2ndgwHqgNqsemQMJa70JVed13YVN\nlkpsvbBEMnBdv45XaAXiAJO0LOEubd7S9+ko2wDtG2min2ptLf/+gL0GOKCN\nSWdBAlxl/Cf24nS3uim8E+0dJrqDqvyjZ33SbwO2dSPuGLgT2PJtAyQk1J8w\nDPGwkCN4V/L7GDnRKr6IhtKUN4Hw7ldHOHynBOXTI1468Lq3JCr7b4f4Vl7j\nL6tbUDT0LGFu4P/t0hSJaYtRyymYJevjIO4LovhdzTgegf6fUWOk7vEKz/O6\ny8i2PpLTQAT/iSvyfcCno5eAM+obxO9kI8lMozLcVnEWuEoFIzbsDfZ/NNGE\nuwfPZekVwO5OtlLHOjdR4f0Cy6uGn/4fr/pLj3lgigHcMGCLC1MU6TyI4SRb\nPIgP\r\n=2ykS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFM0yRwBg5heHEheeiR/EvYa4acVF+2Y7ujfLagmkAozAiEA2lyglwYHQJE+pGwI5aZALI9yN7GAR//6HPR3QYLg2N8="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.9_1582600882428_0.41685291885915143"},"_hasShrinkwrap":false},"0.4.10":{"name":"matrix-appservice-wechaty","version":"0.4.10","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.9.0","read-pkg-up":"^7.0.0","update-notifier":"^4.0.0","wechaty":"^0.31.22","wechaty-puppet-padplus":"^0.5.12"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^6.0.0","@types/update-notifier":"^2.5.0","nodemon":"^2.0.0","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"1cecb6a552f2c37b681427a32911dba27e4a5c05","_id":"matrix-appservice-wechaty@0.4.10","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-dNJswjeFiY5463al85yIZVh7yjJwAVKDaMkEcly/QnzCBQ2XGmf27oQoEp2OEQTz4w848dnZTzHIkMdCDFyDGA==","shasum":"410a0c02cc154144844965c500cd9144fa7c4caa","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.10.tgz","fileCount":109,"unpackedSize":460273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVJNwCRA9TVsSAnZWagAAYUkP/3DxGg9pYyYxa3cjNA/X\n1RPiH4vzXWkP2vci0LPNjgAdLKEfJEnhqiz+3JtKllcY24nkmeNcbd43eNzH\n5ueprMDIFPhI5Pn+twh8+Kfk9LOx6nOKt8ZpmujwMrodlSl6p/4vUG7zP4qj\nr2tDEE/oBHGzREd+NpXlwziKIIv+Ld0F9fUUbecLkHrXj4bBQOQ3suYiwyTK\n7CRHqKeVrRRfpV3Xwx3UE3vASBu0OzmzekoukB7WeNMpaKxtjkBAyNzwPchd\nWTT/ou0XklzEfvafTNejWMlAWXJl46i5hyQ8Hwl+vMdbh1UvzzdZnGD8Podx\nNqtVdp9BuHI2pk93HS+O2Dz8b6ISkScXRVg3iw4lfMDSrxsXnH45HSdGkh45\n0H0znemM3GelkXlaOei35H34iNXTYaL17xTGE0H9/NdMu9Fk+TDO2+i3XyXX\nrVC7Ruwfamp+GP9NK0QJfmRuA4wocmrHIYL38A4pMUwd72LMlbWpGudk4QgY\nrz5VzZKwL6uKmMhnI5SS0y4+5/Vy82Qkmz0OkAzg+VGoAy9JgcO4P/KxPQng\nrBLxsWz5cPzve0YK//scEUAHUd+L+hUXtVORxJpsFDEhYBEiRJAb5ygQ8PEk\nas82M+BYa+Na9oH5gc0y7gDYVKUwtK0EoiI/Fk7ntQaI0rGMd07FI80l4N+W\nwL8T\r\n=xrpO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClp0afFYSYPbzbmXyO5nGaf5SLs0O92xSsGQlARkXu2AIgB3o8GtUTt3OAcDGoA/9nQjamD+KcSiAgJ0p7/NcQeQI="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.10_1582601071775_0.857320857674059"},"_hasShrinkwrap":false},"0.4.11":{"name":"matrix-appservice-wechaty","version":"0.4.11","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.9.0","read-pkg-up":"^7.0.0","update-notifier":"^4.0.0","wechaty":"^0.31.22","wechaty-puppet-padplus":"^0.5.12"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^6.0.0","@types/update-notifier":"^2.5.0","nodemon":"^2.0.0","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"8143ced4a14c9ece038986d9305d0f75fadfdfc3","_id":"matrix-appservice-wechaty@0.4.11","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-BkhTS2uO/dD/Q1wcMXCkTniPQ88H8JSlwhJ0aZiGgkHpcbpq03ayBaKpzL5JLKqLXekDh80KzysBw1vYjF+S2g==","shasum":"4ecafb8e1b8e0682d1c91cf0df37f0ee71b346ba","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.11.tgz","fileCount":113,"unpackedSize":463335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVJjyCRA9TVsSAnZWagAAr7MQAJDKfDbeCiosjQ/xmDuK\ns2Z3psukpigwT0cmbw4PYvMYqHgLdangXUyps2y4fB8AaS/iWlaXNey4MfAw\nWsbWIHd2SNtfnC8RVI9T1u7PZtTax5tUEsVX7auO17yCxu7FEO0lYXQXLgQ2\nzOcp5SeCQLVT6RsBLYBZtVUQvsha6ECIJlJ3OLEnfy0Re8HGwWiYaiKV7zR0\nMumpIz8dkx+XrO+8F6TuvPRmhInis2QVs1x/hHkoRLfQ+TlG0IRG9qlvQGU8\npD/F2/M3zJ0AarCEOoGf7qCiizdNlOAau0FGVaGKnMXROMtOtZCuBGtt3bal\nyhnZnGv23/vgXKGjjOvsethnmKehHVQzXt2A7Uj+T/6sOkdmkSnAnUDTQ9Bd\nnAnYwLQbsv0KZvlpv4Cpd8PyVMqz+dFx+9mJg6otWTJ0CJuQgWgw4oLczePy\nD328A4btIqt69qoSpqbLXU8Yi6bMbM/CJPh1Sv7ixrQapM/vm7k9NhnaC+Cy\nBz+BXXeSqGcksI0xPEJwpCpEgD3yW7fZnhNBGyyz2v+SwbfuVetbOj8xSlYW\n7nKUv3mv48WoV/ac8HF1scJzOU0C/BRafz7gUMuDkGlnrBWe1z2G2Bm+297B\ngVuJzSYu8B625gaJOmlQKjGTdnrzVY5H/qsprTNhsMXaMQ06bOSyCL0XxCVK\nP3xQ\r\n=LDlb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExI0Onc3MvkIcnKcUzruBtmXYJWxa7GqU4rjfyQSsnoAiAhOCfAB6xGk7xJcvO8BWODENBYHmFQcHcQcrI5EjyKWw=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.11_1582602482332_0.5627438390029691"},"_hasShrinkwrap":false},"0.4.15":{"name":"matrix-appservice-wechaty","version":"0.4.15","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.6","matrix-appservice-bridge":"^1.9.0","read-pkg-up":"^7.0.0","update-notifier":"^4.0.0","wechaty":"^0.31.22","wechaty-puppet-padplus":"^0.5.12"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.4","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.6.1","@types/nedb":"^1.8.7","@types/read-pkg-up":"^6.0.0","@types/update-notifier":"^2.5.0","nodemon":"^2.0.0","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.1"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"fa8a60fac0d5bbc3ade3a48a434b254be6409f53","_id":"matrix-appservice-wechaty@0.4.15","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-Lkr+IISrLfSDiX3wN+8XGOr9MfdVb1UVD87UrxT1H7PHictFKjqcUG39cFuyBgq1Z0lUlGnVlOwul3ZiZ4AyWw==","shasum":"51ee3e7cb0429e29cd58314ef21b051fb0242149","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.15.tgz","fileCount":113,"unpackedSize":463410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVJ+yCRA9TVsSAnZWagAArmkP/0EoARzBCTRKqgm8EYLT\nAWJ/MwX3eHiWsAUDf0ZlC6Wv9M+n/2Fj/1nxgLsmrRq6q+daKlZP/+YuYxkH\nImOLOI2gQWzChkrDFWw4+6jIX7ntjbhfH9MfCdvZ9ibHOTuJaLM3dsSEMaz1\nTD9K0lsgnKKhrw4tS8/A56ZXZOI6hjG6EMdelbi7K4trC15SPPHUUDqYK08B\n/vho3W1IMmyyFO4EGJCIWnzRCxy2c1st08vX2Jyw1A2FqlwJNfuywHCa0vdy\nnHp32ygWtREj7AU8KGq727HaqfTBjNeTb0jydmQ1KdeuMckzfZkHiGqnRmww\n52aLeADdFo+Q13tMww/iJy16qB+EKhmnNO0igG3iLo+vb9rQit2g9zqn+jg8\nXDFU+zhM4mBGG8z7zCMvCd26ChIvXWCR1rAsIdkL+eFeEZRg8HsfF+5uDBBb\nODDriODIq2ZibJM7XJHqR6bUcSBl3POe6cVuKwzOTklSM6LkMEbBv+L1ev/D\n7NPyDmwzi0mel9dtSDqH4QnGmc5nSqxZ06+i+ESulwHApQDBySyGvtW8efLk\nyRf2X1Q/Oq/5SXUbH60Lk0qCh5NdgOl4wuyx92X2WBrBKd9GF2T1IXAC4ci/\nlu8AZiGUQi7UgHsBOvAuklqg1JlLa4i90dHxL/uMUexlzlKkSEQiJmnJ+tKv\nRc80\r\n=kGuv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjvkN6Gb8pHBWMIrsdBSQuhKc4V4qCTo15Ujxo63fSwgIhAPNiHK0BmANhAv8Aa7I3qy2+CWh2B4DkEayUkSp3IYm1"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.15_1582604210078_0.7645065480894835"},"_hasShrinkwrap":false},"0.4.16":{"name":"matrix-appservice-wechaty","version":"0.4.16","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.31.22"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"a456d85afa281d674f188f77245cdadc6b2a5846","_id":"matrix-appservice-wechaty@0.4.16","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-k4PMozC9q/WInEjBDPD5Nu9madL31//4oPdX0VfFskJpwpwONPi5BTwahE8zFFNLMANfROUEo0g/B2ewQ2VtlA==","shasum":"2ae3d2000a4bdb41bb0bef3b34f2aa903b63486a","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.16.tgz","fileCount":113,"unpackedSize":463583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVMjICRA9TVsSAnZWagAAQZ0P/iw3cUrKtOVL+DiXOLCA\nX58mxObkPb5/PAYKzSvfZg1Lzze1I2EjeXBA1mcD4qrsjmSQr5MWVk5RVO0r\ndpyUKHlTPX0I9jOgCreP6bVjZUj4yD/6hMMq6sjuihm7goMBNI+2TXlxU+pn\n0D8iC7l5ZDBhRYdPBpnoCFJie64oJ9YU5ku3n6my5L00oDij5pGf5ER4F2Nz\n9F1t65sVLxzfZmK19K8MhGla303Z7zdnj8EIclvB28KjiIBRo32fPAt4spgV\n1x+XJ/tRPYdu1hLIUgQCEkVxW/gJXKbi8p6zp/sJp3hDmaAOmPbOVQouQqr5\nQj5Hez54LHEUWSSmao8ROoXXGTVL36nDNKkCGQysnVayG9DZsA+u1GZulhb6\nd3JdTs4cnmxjZHKxD53Ek/q9E+mka35yJti0Ig8KtvvpCIK8M5uNHvpRTYsK\nuCZe2JipHF9A2h/f8PCPP+BcUO2ShpJNzyjyr+8Vw2FqpEvhLdtCQailkDaJ\nXTJ7cdosewc7NIB8ShW0IjF5e6MYIvYwNQfWcIs2RmiXVPxaDXNGY/yx9NH1\nXSTg9muDXR+0u/Nkb/s0UEmAPDcrYVBXVJU5GjD8EOiAbTfW+ltcmh5H/s7I\nGL2x5WLsebb1FGnSoNLJwfrDE1bqf2yq5yLDKDDfrkQM0hSpAdbvU2vEst5J\nzbJ6\r\n=AMT8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFibMF0G9skl75zAnfwTOYvacSp3WE4NSwzMta4Xe8pOAiEAgYfujY5sNwzHTYUbKreJhvWtAryVu0h+N2M82UMGgOE="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.16_1582614728229_0.3512474077369081"},"_hasShrinkwrap":false},"0.4.17":{"name":"matrix-appservice-wechaty","version":"0.4.17","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.31.22"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"e45406bc56b044565c47dd3503bdb3d28d527915","_id":"matrix-appservice-wechaty@0.4.17","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-tAtMcrvj0qcD8S+0Ammi3uGWOB3JrDrQJx4CcEM2HqbA1+OKaM5vlV6xV+QKT7eNML/RP/qZAi0ZrSlZc+gKag==","shasum":"0d179afb8a179fd3ac5d9d861c8bdc6dd4079936","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.4.17.tgz","fileCount":113,"unpackedSize":463649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVPY1CRA9TVsSAnZWagAANH8P/1eAtsDxGi8f/kcXAIqJ\nxtS6HIOW+GJN8wpTlSShsTvbGCu66HtzCcip2UMHRONoDTHnKGzYBVXd3TA6\nqej1LJ2mkRTNHMJ+jZP9V0XAdCCogBD+dEneCy7v/25suy6dcbrs0EX9qtay\nhAHWcDNNA8ZljgHDq6JgRir2tarDrATCMEFjZGQv1rBaPnUaVKLxbXNmdq57\nYe9krQ8Z67lj9OKjoLl35rwJ6Uv7ZvqFcZJXXq1SwPUn9CxNDeRmxGvdiPIa\nP00LsgGyED+NtvyhEwg21/VLQxZL+BgPy2/xe9f2PkYn+WI1dT+nz77IWPJM\ngr5QD0KZkOjefUYmF/v/5hQVQ8Po90actr5L1vxskmWvxVRlb2pmHj4TaP8w\nn+mQ7Ik9qetCsD/iT07P6eDGD3EXgQxB905hhLYNLV3C6XoRONrzp9w0SeGR\nitvVoAvqVEewp3z3JZ53F0GbkLvzW5RGc6lxIYmqCFw7EfT/BqS/i4u3LHrD\nXHSZ9YPMf0ZxStL7wKTSLCY57YJwqMS03AkJYBSxbo9+08tc4S9Maj0CHlW1\nd+zoiq4Q9ALssH1AFAzCvlbsCPKZ3xiqNNqTqJCFJDXf15KlrRMwntOyHZv/\nW5cHSjCjkSkQozRDDma0bCQG3VJlnwi6qdm2jgQ3C0jDRVIk2FEkwXwcfgCW\naTyy\r\n=+Svj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyqpDq3FUf2viTCyPkDULvaouK33U6ygtpPGfEVUYnWgIhAOxdey5Ms6uuVTG+F0E7+BdZBullF4NvoAdgRard39br"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.4.17_1582626357016_0.3973385370316953"},"_hasShrinkwrap":false},"0.5.2":{"name":"matrix-appservice-wechaty","version":"0.5.2","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.31.22"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-green.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"657e5f321bfc73aff9407958bfced8db2a4c8818","_id":"matrix-appservice-wechaty@0.5.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-LRFzhAatVUkQvugq+IFHEWnTv7LzcGUMMruq1qqNnxmxAJNNrliRnduQbMFG2etvzLkEbZIJFAT6n/JbMPpQKA==","shasum":"50f65b07bffda6524a653d670daf4c5070a6ff4b","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.2.tgz","fileCount":113,"unpackedSize":463843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVPk9CRA9TVsSAnZWagAA5J4P/irjKgck97L9cPC/d0e9\nNdhJsYZu3W55rxgu1wFWnBASd5UcnrnmOSk182mDIJfmoru9yrT9VwWNhkt1\ndTkT6vNQJekU+Suq3xGggTFgHaRfIMFUK0XGMZ1Cgz4u3LLuhaHUmseIDgyr\nDcgp88yGs/sqZXngX1Ie7++nBUoTB5GG9NgPKu8fvIG7CsRQxs8qR5+34jh0\ntvoFLoW9pCM2GbUNLUFLwN0wGydSjPhcu/1qk3c06VJg0Nf17gdFtWQiH4qD\naMAA3bEsUiwjrzvsY2CX7FzWhZeo3OAiIh6zA4iU6hyoeVYCpPID66oRtycd\nFRNd+mpZ93pJP7VC3fNNErbPIbCtv/LLzKdrdmouvTYjLswZZ6csxk10egvA\ndWf/pvbw/X3ZIkTv32n+u5wdMd/Aa9KCXQvSx7mLMWAdfyLidYD/sewRHCKV\nU5CBhJWAczyeJoA8M1w6AMuf8WiUfOKsHfOpyr+/QUPr8Zw80qBb4YPLL5Kr\npgPEeYOoA4U9gKTDqpshgiEFkQfDRTfVER28p9xktNSXvaAi7r3X3tTw+rM4\n0qrxJU+zbchP6Blzhdwb4VieorO5xxfxcoLdtFB3E+egK0834esxuxuQvKHp\nCH3lG77Hu8Plx4Yj4u2fXhd76YLBzNQsyD5iipIgPZzaVgyveJaNBM4BGbIj\nQkpd\r\n=J1Oj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWT+tRh8qkNBViPZkfCmsDsDHZzFXr3DeR9G7IPbYH3gIhANXI68l+jLVh4KG/Ua09r/+4+Vq7w8kD3/Kh/laFUz8C"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.2_1582627133082_0.4464136374592036"},"_hasShrinkwrap":false},"0.5.3":{"name":"matrix-appservice-wechaty","version":"0.5.3","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.31.22"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"62212d1b89d8b0bb7c6f254e3abce5a06892443e","_id":"matrix-appservice-wechaty@0.5.3","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-M9FHsNRC0aBz9AWGcD2AjLMAf+NFnO0UtMGDq7Onzf0rDoB3hdB+DRHE2QXAbjJTtIjpqRKkjCpJozbjlaHssQ==","shasum":"35180ece4a441b0e60d3b0b1f1321c8a566cfcd2","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.3.tgz","fileCount":113,"unpackedSize":463696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVTbpCRA9TVsSAnZWagAAw3MP/3wg1PuG+H5hcbzRFW1N\nHWrK/i2IP22zHVQuPqy7wtIsEr+3uTgLxneMQyXXUlN4Oww4R97DaXr95+e+\nSruqJQtC35srlGGXoEp7SbR42DJAcNKh+VsYmOqwksyPxlN951ksX3CDquCI\nk4nmkjEx/hjQwVO1ZzPbVdfml5AJqkWQDX1nKhUd+DnsRsFM/SDl0T/uwc93\nVGSnBAUNDNV4KOcpeHMFooNFwwr8HbJ0kjvceIDOvlpzqNeJeKXdN22tLnYP\njTzo3zVYuZt78YJMCKvkckzhcIkgZe+RCp+k5SNQ1JUQwtUg9cLqJ/joMIB9\nkxSJfU7inZyJPljlK8sSRWTx3ZbFz6gw9DW5SZ4HxqjQ2lS3VqaLFLsWZHm4\nGeUYMzMl52bc39JR8AjtUaKDrxmzTGviCha36QasnJrqY+wGgwiFzMFPA8Yh\nz46akbdkoCnn2GsjWYJ7qUuUJnL8cFS9ljC5XUJlB2b1gnP45LSXZin9X046\nx8cg3z7fKLrFiy9di3l7BDn6L5BZtfRNX83zQrTWzNvpfk5ztIV739nil7N5\nIIc590ZDZPCQ1+vfpky1f0ztfVQdyOmzoJJRoXXbivQnNL1RyuCs7i8bvqya\nywihOqnCAsPu6NgJiuoVf6RpuSpLRo6bI/P2nuUEPkZBtFsa2yaDUPXAF3La\ntnWN\r\n=e4Px\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+nUEszMHf6Qm0lmihd3uyhnN4Sw3b/qbhwr8Rl/Z3HAiB0LkFaZU1jfAnNMm/sZtbCVQSgXXAq3wkuNUblw8za0w=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.3_1582642921158_0.38888329453872816"},"_hasShrinkwrap":false},"0.5.4":{"name":"matrix-appservice-wechaty","version":"0.5.4","description":"Matrix Application Services Bridge for Wechaty","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.31.22"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"c0045bddface711bb07f82b2cfe2c481c2f9ad6e","_id":"matrix-appservice-wechaty@0.5.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-shq35RRsoyfJhHwFKy5Y0Fq3rwn4/stv0cuDPwR3HR2DLwoDTFD3fJq1QbN2NSXL14SrHZxFTPckq1t2EwWRcg==","shasum":"84452d033e857e5f6af2f955d45e7edacac3d7ad","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.4.tgz","fileCount":115,"unpackedSize":464204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVUG6CRA9TVsSAnZWagAAAtgP/jk63Ih0Nd5/+3eAA5Yy\nifGxloUZufWM3TLQhLkM+X8exNAKRO2xWonkeTsE9984DPdGvrt5hlL4lVD0\ny+jhB1iXdrKQ4BE6Qt1adnS+BJIrqJ2GV4tiEna8O/59qCpTJSxuabBZIfpJ\nHfZqdg8VDyLZjwQj85XoTmxJt1bX3yRil7bvBS9LYDEgMLldZjJg0wOUsBtc\nf++bngnuq+Ff/ILrO1E99FRP56t0/ARaIrnxB0WZLcT4Jr6WUJ0d6+XZ114B\nWVx2BSZ6SqxfvDdDPXeHR4j4HzyyTC0MNvHUlMD4fDEBUXdyzO+bOeVPYSDu\n8bwM8ohAmi1KsP1eid91VOVI5b5JzIJoe767/0xHctrOutLFXNe4EbzGaw3v\nja4hBN30VAoZYf/bK5LRBMMeY/b+cDWEaHBsZqLJ5/fgiYN76qJC3uR6JWy/\n2vl+C4vKwARbxmtfdq1a7eXbpcb0ZIWbt4pf7HDF+m63AAHco5HTDF+mSolw\n36d+Gw/esmEipGp+x+bv+bvEbbMfW6DegUWlot8t5n0aUoVnOpDwjTVF80wJ\nszPpqaunsIgf+1CL/ffV2wCqxnWlaYj2QdLUP74a7Gcv1A/jo/jnN4jPTq4B\n5IvmO8bhz0LH+FuHg/dqcsyi0sbNFp4q2CQggCozOKh38ytSkUZusFVMr+Ve\nTjtB\r\n=6YTH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1sLUUi62ICI+/v/jyjhlz3xOLl+pPeXeoXI+0z+WBQAiEAz02pTb38MDQ+fTQsQFZVgcfsBUG9TIC5ySYWmO0YIQQ="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.4_1582645689983_0.9653431833196029"},"_hasShrinkwrap":false},"0.5.7":{"name":"matrix-appservice-wechaty","version":"0.5.7","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.1"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"a7d347585250e07b4eb296c14ba191cbc8ffb75f","_id":"matrix-appservice-wechaty@0.5.7","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-CLXhN4AgmZqRO8dJrK8CzviFC6dyEhUsipCQn84bVRqot9oxdwPopU9SC+AiEBGPALsCj00XHIucA7dfJEpudQ==","shasum":"1e90558fde0799e4f277e82f63acaf4b27bd712d","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.7.tgz","fileCount":115,"unpackedSize":464202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVVMMCRA9TVsSAnZWagAAzBMP/3vBXnxm2RCFxo9RiNpc\nbCq+lrOIdfhy8u5Ut5+i2kOLHDgW3ZWJ2fPUSsMrtx956OuNeoDe3e2ocv0N\nvRkMip3w4Gu3uh6uedn1h4ZCvwpjQuREyTB40IWnn7/rrE2XO2O+n9yzOwU+\nrBeSB+9D+dK2GFanbO079GNqP2kWtoEOluZyoPxsPmGsYPivGF4Tid4Y6FEd\nEVxl+PNYEaYdXWrYHCPiXAA5Lg2NLsDyaid2RAVvvEoPGK+D5SFoVkvdWZAN\nw0LYAQFUmEKBMP864PX4MMJVn0j9O8/hmAzUZdqPsJrZjwS8AnNj9y3wz5AW\nDH32JW360uyC4tS/+BrkGRTWubvmtU2wi3xbU9FQCG/AnnanoY4y3EqKHuup\n7y01d0DZlfFXkQqg9MD80THo7yrG6QSOk2XyFSYYNURpIAYH0d5ODlM9Sns4\nZrh4GjI4HMDE8HgUcescMXsA1+nnmVB975SDbL9BJ8/hAGz8xQjzLm1ByXR5\nvhgdgFrCsq5MizV7P4ZF8spZstHwf6WuM3Ocr/yntH6dLC1hcIKq0NsZc1FB\nz9GO8HOpevpu29+Em8eqoSSbRCDmBEUA+zkFuFmzLNazdNmM1SLetR9H/EA9\nGlE9O3OUYbHde0WlA9SISW1+aVUFUHy+uSdl51Im+p9FF2k/D50JOMk93LDT\ntb8i\r\n=1DDX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9GizVK1AoW41Zhkcvlgp95V7q82SwAcJ57seo9TW2IAiEAvFvxknH2FuLhQX0CeaqP6BpG13q+WXNGPaNHmOYmQ6E="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.7_1582650123121_0.0054499166836046165"},"_hasShrinkwrap":false},"0.5.8":{"name":"matrix-appservice-wechaty","version":"0.5.8","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.1"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# MATRIX-APPSERVICE-WECHATY\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"7e2b56482adabb00d3f9da40c80dcaa85bd71be0","_id":"matrix-appservice-wechaty@0.5.8","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-J79d6GJFystkz2beIabzxa92c8y8CC7TTMLObH7E772jNvdatoFYXmcgRLzScOtvc3vrrGFbfuOV4S/ZrGK0+g==","shasum":"46fdf4f82d493c7bea7e1f15c86c8bf93b996241","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.8.tgz","fileCount":117,"unpackedSize":464606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVVO5CRA9TVsSAnZWagAAnhsQAJZF5oaAfOL5/Zux/FDZ\nZTsvKGPSLsmMl3cCuebDiVH9SOboyrAOlGSBOvbiLyxLTOwbDPQWydAZhKgZ\nD4mb8vHlVgf7z093xnn3Dx84dsIN5EBy6uwhaRKeep8h38V2FOHLHQVXlXjV\nOE55npmDPs+1h9MV3YiA/Ebha2/21+y2KZ0RUDY70CUiQpiWeTv++N9Xv++Z\nf/STMMbKKqk3eVjkMlym9TQ0UaYeey2LgEGNfIKyZcaeqvIknXqLjl0jTkPI\nA0hi4oZ7sdFbjR4NoUFPPmmQ4P5OT9oResGC4anj+5YPwAQBVkxG2RuHrdyI\nP7wUQpKS6A+LCb2203b+iCFKu5uDtkDPWpU9i1M/CQP7ixa4c18myc81m8u+\nVU0r7YQlMh6Zw5YNdre0LpNg3yatic7wOfykgj/uVUMXf6yweqrqtZrmoqOC\nrVTj0bz5ZaPwhs+jiAOpxwSETuM/Y5jiInLhgJELArCeYZxRsixG8QvXq9fS\nj+eYaDz7AW/zRnfBREoKbxafYRScRXgVBHBlBMdX4lBtgPOHcTU7ZDPnTyuL\no8MMVjYXYrrKkkwJzgaTyCGxw3FKHEWG8jaVwSs87FYTPduasAorXPKRu8id\n/+RoxH05SXBN+vB4qrUl+5FmWXZbghjqdUub1xMv9/8S2bdCotwcCEQqRGDQ\nE14z\r\n=t10x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHN4lvvINrvHSkissqzam4XawJH3yk9XnmktvLHMXiDAiBMTaTAHK3KB7PGwOB0vXKGVZ5ued0uC9sZmuziY/NV7g=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.8_1582650297109_0.6371843154378272"},"_hasShrinkwrap":false},"0.5.9":{"name":"matrix-appservice-wechaty","version":"0.5.9","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.1"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![Matrix Chat](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org?label=[M]%20Chat)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"c248edfbdfb2852b896964286a89196a80cb8a7e","_id":"matrix-appservice-wechaty@0.5.9","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-awjjhblF6B4MBsidr6oL1THcrZ8f7HJIDcRQzYSTH5jNe5dvnNfWx52vk0VaBzfHD5VUy4dHoJuCJo5XDGRXOg==","shasum":"14ddef2ca552884873654a8c7988b0556283c7af","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.9.tgz","fileCount":117,"unpackedSize":464766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVVqjCRA9TVsSAnZWagAAlXoQAIvl8u3qVCHbftjVKua/\nl+MAJqTeC7fm92wXEyAbH1EonHlB65DiMuKQenBuU1lLVWZB9hF60QqOWcXK\nBVjg8y8wAyR4Ww9suPalp0G+QnEtA8KLaAoWXMmUpkqS/+77Mw2Ogl2a7TL5\nDVb8ehLejDM7hKnK+hFBDTE6VeqrwutlfNayvWDGbc5ncf8/jtTex8DhdPEj\n92hpxhS+B7IVh+4afMLp76pvTfpUgz1j3133CA5zztl5P7KBJitl9ODPF0Bm\nZ3Z+sO793aryrlCOeLnYszUwPLk6rdcC1G2ZW7i7mn06HZJna15HiQVU+DNt\njU26E89ILrR06Cli0C0RDJ7HCm63Sg4wTn8A7tyBWVWPMdnfAc/aMkyjukbw\no2FSPk8FHobYzk4BhsmC9Rh4mW6/tDQOGp+LhMa+cuzPFwPbAH3yzKHRTD9a\nQ3IYh6NqssHUxlCWfYrMXzNzRn4rBfmPG1fQ2EwL/NtBrKN2/+B2R9s+L0KC\nPih2C1WbcDKLEFnZhBNBBiR1HkJ6Rf7s3WsH6O+hSg+bzUBbBzhHDqIaaJyt\nDusYqiPIBKHMJcUuywE8VU19Aft6O59L1poekqHbc13v2lCrZjzODN8BAYcZ\n03ikmvkI7k0uzMo6Tfb6mInUngGEPVGitSOucmR94LjZBf1gSgXbdNlRhNtd\nFWI/\r\n=p8BV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClEoSpzVxeHvHFmxaP/PWv/dEl4zuPprQ6MF9aFe3BvQIhAKT33gAGwSxrtu5QpOHcbOGwAXPjhFI50HAMaXwbq8xC"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.9_1582652066327_0.0029126883916161805"},"_hasShrinkwrap":false},"0.5.10":{"name":"matrix-appservice-wechaty","version":"0.5.10","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.1"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![Matrix Chat](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org?label=%5BM%5D%20Chat)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"533a47109c67ff6689f2281ce17ce067cd8620de","_id":"matrix-appservice-wechaty@0.5.10","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-oAoUZztEPnagB4TqPCWlHr3gPmKxdd/iepl/1j3cko/LD+yxQOmD/rxkdXpsglDJuJPIZSo2dKCKqVLbeAdYhg==","shasum":"04dd5fdece303c4ce7122e527bae991a261e5a35","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.10.tgz","fileCount":117,"unpackedSize":464773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVVuVCRA9TVsSAnZWagAAKW8P/1DQnhXGoQ9IVdBwJaK+\nvuDjN1Xbaklt7LC3A3erUs1qo5QJW2Wgbh7ZqWl+iGuRAYmpxWuPHpuUxsRk\nzbkhHcvZXu0HJRksTEOKWnvcuOEPj4y2DF7IHg+lxPKifOtJO8Kbx6CViCx/\nA/VL6bi0RN0RYsWm+rDhoIEGVNnBGCRqZ1SjLrZof/ELb6peIV7PWZn6wK8q\ngl6vE2/isDl2W1hBVu4bcigu3+MhA/cOQ8LtwnXlvOQSxcI6oZnu2QynQbZI\nX1DObiSTSkiSB1QJidPwWbiDsR4WfucNR5okTjZ6cXmfQdOGBcFbs5tseoo/\n6zGC3utvR9j2IVXth/QrZPxgI/ponMs82jce8JTqm0WvzcAH8RGy7ROzvYpi\ny0fZMuNToid2ggCR3WlJ+O3hMOKiKqnEOqKbs56uhYqGm77bAws3LVX5CH50\nckQciO57Bizjlzoa6FihdQnTqZ0EzXq9GWT8O23lxa4/3+9DbRozH0Hl/AJu\nXAYO9iYipDQXdPWHzPQc8d+W95m7X2I1hjyZHaNNgKy0d4yRCJIeWYf8zdq4\nkKAtG302qo+r23h16TPpTPorbMZfTO9EQB0ok7d8jH/PhmGzA0RjrYiJ7c4c\nJhTM1q2aVoYDjSrScHzQSHDch0jFb3aTgXDzbyxYy+M35sIRjM1XM2Dy8pLh\nBWNV\r\n=lbQ2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqJtDwA7QhYDweb2oZFeMfbM2m+iH43ll8IbZnkL5/CAiBXZlCGf88cFPif8/rZowzYa1j8Ssp5EfMx21HfYXJ5SQ=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.10_1582652308961_0.22992952772871522"},"_hasShrinkwrap":false},"0.5.11":{"name":"matrix-appservice-wechaty","version":"0.5.11","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.1"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Chat](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org?label=%5BM%5D%20Chat)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"22ee1a0fedee280010fcff175a1c16a4b4ec51c9","_id":"matrix-appservice-wechaty@0.5.11","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-iexO0gnThUfJncRYDCQrjeLmvYZgkNLVO5i23V5YiJ+f70m3dXs/GJ7tuNgFTMCAPC3YD38nhc9SDm4qoZ8z4g==","shasum":"0b13d22624c83ff8035d6bcbb59993e510efa4a3","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.11.tgz","fileCount":117,"unpackedSize":464770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVVvECRA9TVsSAnZWagAASlYP/A1UXrcFDJGqh5wiMe6O\nAT5je9QrCW1VwZh7Qdkfsiz7YgB8o+nTFgPqraHYMMqh3S/tPlnveNy1G1xQ\n0nUdTKjhLYLsXwbh6a35fjeO9kb5LP7VJXbiJEZhLSd5B/fE1If911+Sac7t\n0TTbbShyrd4iGl0bRR3lFDoVuKuE6Evi745+k1HIXTExN9a98KWVywAQf4ve\nqk7HBHDmupde/OXraRxYrj3RQ4zpAYccR8WGpnJLoBcZkmh52m2mDa3pScwe\n8/A09lH9gwHAUAjq7GNoLez4h4A523R+mGUaFckqV0R60pIGVP+zZQH3oPLa\ngfgESOZ9SxcbXNchuVkeKKJ6g2yEQsCiFE6RiRXhgNu2Fwai58meKu4GFAeE\nDgc90HW6VMDf73WE2mjrfKIYxsgwxFKScvsphCEqGRXi5LGEI4tcvO+5ThxA\nkfTUvMdYRETbrzbSjVia32UniS2YgMjiydhFgSFFBN2qC4TpUud/Bgz4SDmm\nDwU9Lq6wDmUD6DuUVlu8KSQtFHWDN9cLbH0QyLeYm6WjCH26N5kq2QtL4vQm\nxM5/bi5ir6Ku/sjowHPoSBuk6YQTBF2gfzOuluZGSN1cn3C0n3f3sBVmOv9B\nCJ+al7vJEQQFtVVjhfQkl9e/C6WF5GAXKqttfZirnJoTgdO7g6LKsciOQCDn\n9HpQ\r\n=HvTe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFUjsJbXCfOCRq143RwcpDtDtbvpYPJu0/DPrKz8vjINAiB0rMUs1TSkA3qADBdL/2QYlqfMbLg32cWucHURWgM0Hw=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.11_1582652356332_0.2834911615687481"},"_hasShrinkwrap":false},"0.5.12":{"name":"matrix-appservice-wechaty","version":"0.5.12","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.1"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org?label=%5BM%5D%20Matrix)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"417f2f0c7c5bbaf5c6ca8b76a483ab88bfc5bebe","_id":"matrix-appservice-wechaty@0.5.12","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-6ipoXYj7EVCleWGl5ya1Z7sOMh+fL8wuX11PpfywIw+9OuH3TC8HXVOlQXim/FxYoX6JhscPaGd5ud2VvNnmxw==","shasum":"af7fa44a78ab135565337924953c400409bdaa72","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.12.tgz","fileCount":117,"unpackedSize":464774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVVydCRA9TVsSAnZWagAAnUgP/1x1yj28qFX3fdnpz3F5\n7GP9Bp04nnUvozGGkEB5yUyvz9jrrJLwj+fl08MyPFrHD16ep1YcogtSKrlf\n3hL5iTgYfH3Md4S7ExxY76X7LoAq7rjI+UDfaULVWuSHLd7c4oyZNGFZtXxH\n5v7niG0/YBY0wjDhCi0my7GhDjAC6fpcxLgK3j1TQycKktKxRyRaIsDDNM0V\n+IIvxdrZ7PftIaxZ9zKfcD9arAJ1ya2cUeetWl/GBvalf0MlBgtgPMe/PDgR\nUpmhdEG260whsJaBp6htF0uNGJ+xsn1Gjqe7X+qJexG1j7gmwFYGde9qRqhb\nr2y8ZRWRHZ75TFX/Uh/OXEuwoj79n/27J79tyOwDq7cNAQKTeFddSMGTrroZ\n4+QnMw1z/gOGaeOnDYCUzejhDbTRi+sKlpV15g75a9NpNazY1Z4182aL05WE\n2ui7rkDQggv4CK/mawrInnfMZoUL2vKo4DcCBJjjx23rrmUHg+MREq+hKqUf\nLDJxoo5S9xxCHSQLC5x9HJEl8+TpT+37XmIrGDM+p83csv4zIRCLiHFk8U9M\njWnHMPB7Vv9Hgu+hPvVOe+nOCp7W2S6BAE3Z0wQBxtedbijkoCzdBRpoumZi\nJib8q6ofDo9QEn212GIbJ11I2+FH+TNKHoauxVq6dp9yJRNQHx2/2eB0t97q\nRliE\r\n=Rnuh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgnBHT7SEGHLmTmgXGwJQ/ZQQJheb24qufKEZDl1KxjAiBGp6ADn+4Ak85Z2aGYbcVJwxUkVCIo+pdCyBIog6FOyA=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.12_1582652572493_0.4469148439840547"},"_hasShrinkwrap":false},"0.5.13":{"name":"matrix-appservice-wechaty","version":"0.5.13","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org?label=%5BM%5D%20Matrix)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nMatrix Application Services Wechaty Bridge for Wechat Individual Accounts\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## INTRO\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## INSTALL\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## USAGE\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## HISTORY\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## DISCLAIMER\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"a80ec38e85bc5ac71929db654357a57ceb8134f5","_id":"matrix-appservice-wechaty@0.5.13","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-Lo36W7lBFfW9lzJRVh7ZsMxmpuf60FiA/nsxMdaws2VjXWO/yFGL3plef4DsR+AZS3fG5AZ2wkdRy6d9QeWxBQ==","shasum":"ddb2b2d46571173b6252fe783ec9e18e99ac76f0","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.13.tgz","fileCount":117,"unpackedSize":464778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVdn/CRA9TVsSAnZWagAAbH8QAKP2AYsk0gZoblDHIghp\nGevlW5h4STqdcZ+h1ySqxx8hEXABH2X+v2mzA9UJGDSK7HECs9ut+QQEDhjA\nBPU2tWJf7ook8m847Qxz5qS1ZLQQX3iXLFWIV0sC3Iv/mErFitSlpHV4Xtqp\nfqkCp+aGQo3bf5PeOlav5w45dehMvch/aK0NRsVt/IhcNm4hoCGTbHuCzKYO\n+3MR95xji45vL2VqwGJOkai0BhTJhbaNldaH8pXtOgY/3Cnhk51uwrdpnN3q\n0YMr9Ji2a40PL9IH3KwzEEl7RWyArScmQw1ZrLCEA8LQMWGrurMGpWYBNL8M\nhijQua2ijelx+ExHtjhY6mNLyKH8BmYHYN2MoHy1odpqhglXIVm8o55f+CuH\n4sk749BMaRS/xVBwfEKVzRJGyOUNXeqY4LOuahJhPnEibPNm7W0bO3yAspOT\npgLtyMJ5ZHibruwMTt9QuJ4hZQCRSXlMHPoM7anXb221PO/XbWkIiWRXlNrN\nMzp0rQJX4d6avVEFqqDqCc5KwLJO0irWTIz70k8h/h7t2sZK9bSC18R291BR\nB8I5AEybUvgtNx1rzMsn67odnbs1JQl8mkeWAtayn0IB/uydDO5Mm6Qbe4za\nTipcfK/FbI3QGHnIoF2CIMIF6+4uXsQqwEIG3DWB5SYo+UvBdo7kER7qV/vV\nIh9e\r\n=agD7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZJQmZ7woRSQ4094yNJiPTb0pHz02uHlMPiCS051vvuAIgQYC5HRFpu1b7eLCsbt1M7Ytrg2eyYZtYLYuQPVbQPcY="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.13_1582684670675_0.7291210630726981"},"_hasShrinkwrap":false},"0.5.14":{"name":"matrix-appservice-wechaty","version":"0.5.14","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org?label=%5BM%5D%20Matrix)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice/)\n\nA Dockerized Matrix Application Services Bridge for Wechat (微信)\n\n- [Matrix Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n- [Matrix Bridge List](https://matrix.org/bridges/#we-chat)\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n> [Matrix](https://matrix.org/blog/index) is like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## HOW TO USE MATRIX\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n- <https://riot.im/app/>\n- <https://riot.chatie.io/>\n\n## Install\n\n`matrix-appservcie-wechaty` is a very easy to use bridge for Matrix. It supports two installation methods:\n\n1. NPM\n1. Docker\n\n### NPM\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### Docker\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nTo be documented...\n\n```sh\ndocker run \\\n  --rm \\\n  --name matrix-appservice-wechaty \\\n  --mount type=bind,source=\"$(pwd)\",target=/data \\\n  wechaty/matrix-appservice\n```\n\n## Usage\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## SEE ALSO\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## History\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. Testing and refining with Eric @[ericmigi](https://github.com/ericmigi)\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"0955f7ef455c1f6b05ab96e3b3db4c2e2f2ef846","_id":"matrix-appservice-wechaty@0.5.14","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-ovSZzTnHuXIIy/8M8Bm9Z5Aa4cWND3Bkw2aGGKeLdQTWHMouL+X0bsn2Kh4RkaQXBhdJ/ppEf1kAKNktS91IQw==","shasum":"0d5c7530cdc933bc9e287f777f6484273907c7b1","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.14.tgz","fileCount":117,"unpackedSize":464777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVeIhCRA9TVsSAnZWagAAVzMP+wTYVmt12/3Adtbw0WyJ\nrbXh3ZZ2rulsu0e3GBZLw3WQ3mDvxNH5sSkgJZf2oP6l9OjPQzo33VZr8ART\nGfAE+09gVhFq4lmYKZ4IRiHCyiCZATxkD5299jsmBu5wbZ1T0DODJt5WCqGn\ndCX7hdHSmuzHy7KRODepP3saxUUbap8C0kpKpu1sGYjuSt6F1XdUIWYcjfqT\n8dsaBVpcnGcdddrgEPtS3FqW46mgByUG0qK/r8Y+gHMpRaxwoW2wc7Bd1Yl6\nHHnn70k6gMSGsa9yvOjKor29I3V38PPyYTo1jrfb+AKMQOXBTGajOocUyCAo\n+e5J8GHAevTPHfPWVipm6dd0kobVy0fifaB+gpchkS0idOsP19ov+MGxAEMJ\nbkDjG02LoXB0jcKq/cAq0abl0EYolfzli4yNsWwtujSa0LYoC1tX97c7ISkz\nicCCEsz0TQOmuKNChj0izeKznahRDYDp7nHfo/nOqyxeBrjh/atwExwlMjtA\na4thiOWzP0zlJYOLnBC/jbeA0if6yjaEiQaucQiJ1yqA0h87A3R++rfjpoDI\nqKUg4x36OWjP6HBQ7dbU2kPsuMi03yGMjvLxif/0XlbdfmfVexiBiGdCdVj5\nSOqZIrjjrRxpaWqpllhot3iTiEY1OktcAuyALAsjQw3C5GMV9A0+t869hBoI\nGu+Z\r\n=7iEP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0dQKPAYOOR30G1qdL1G5WgaRwr2Mx1tFYaOkp/14IgAiBLP+gaEsjeaNXD+aZBfkLrA7s0Z91I834sFavYkqRfoQ=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.14_1582686752499_0.2098921965870988"},"_hasShrinkwrap":false},"0.5.15":{"name":"matrix-appservice-wechaty","version":"0.5.15","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/badge/[M]%20Matrix-8788%20users-brightgreen.svg)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\n### [Matrix] Clients\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\nRiot: <https://riot.im/app/>\n\n### `matrix-appservice-wechaty` on [Matrix]\n\n1. [[Matrix] Bridge List for Wechaty](https://matrix.org/bridges/#we-chat)\n1. [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n\n## Features\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an `Simple Puppeted Bridge` with `Portal Rooms` because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n1. Support connect to Wechat via Web/iPad/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n`matrix-appservcie-wechaty` is all you need.\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/wechaty/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVER_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVER_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVER_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: http://matrix.chatie.io:8008\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nAdd the following settings to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"-c\", \"/data/config.yaml\", \"-f\", \"/data/wechaty-registration.yaml\", \"-p\", \"8788\"]\n```\n\n## Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## History\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"1e73435227781de08f4184c961bfd8014ef5a9ad","_id":"matrix-appservice-wechaty@0.5.15","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-xC0EGYtCBbYvTt0JgINmZ3zbhw9UhdmZs5X4DADy6bHdY8MU0Y3gVbSSpnNRrhoiu4E15Rg003hr9UJ2x6QgFw==","shasum":"12caa228ee190cfc9ecb1f18c04768456abeb301","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.15.tgz","fileCount":117,"unpackedSize":469282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVqw2CRA9TVsSAnZWagAAZWwQAIWWBhIMU3xwunDPINkk\nVMhLxI7hEpmZO1iBi1htkrVVGSI7ydNEXznQVXkliL0Aa15eqFBSPdR6Yhlf\n9wRjfJ9wDO1Sggq7BhmFlNPhE8PrLr/+eh7QsFXD+h1y+VNkXSBq4EKDNgZK\nf7l1jNuNZyMN4/XjvFKUn5nN4Po0k9qdlW5O0D0xYLFXUlV6dU8f+iQv6wt3\nGkuftKDKTD65VmVCHX9m17K96bf0GXSIG2zzQUkRXq937lh7PJ6KZP1J30Td\nJcP9qEWF1MbAERa6Omky8wmpBhKTa5llWMTaFsJ6fQz2jSp0yLWZxjiyVfxC\noFoRapRfCfNrKLeowEr6HruAI6sJSUHvrgG2LmCMLJmXZko/C/kJ9A3Kn/S+\npyWEdzBou0EI5VV45swbMdWp/U1i7aF4EJG1nD5HrSsZc+DfSKcv9ESPHIBu\nIIHFfBXeBVi4AW4he6OUkO+ltdASaR5FJ+YQy+CkrGUH8chozrE86RsJ/0Ek\noNICgu4IGcqQtuttp5xe9/GzdUtl9hC7v1To4fBifM2JUTKY6jtc+vDWZTeA\ndPnMza9JEsEXbYbWaquS1rv23OQUUK8I4UpjDxJ3BdnxcikM7o+v0EStimZP\nkSyLFcFeJxhbZQFTQKd2ZFPTW6UaQiw3GeR9iDeOEUTce3RckGQ83lfwzfxc\nVRBW\r\n=Gsoq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmRluB0IRlaNKYPz5y7MHlYW2qAHTJ9GacGIYG6dEFvQIgabOhDGi9THdcbo0lWb6tQdNL0dlSDlexDixl6OaPQ1E="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.15_1582738485618_0.9372542609753458"},"_hasShrinkwrap":false},"0.6.1":{"name":"matrix-appservice-wechaty","version":"0.6.1","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"ce1352aebe7449a4ac269b689f1cd08611439ac0","_id":"matrix-appservice-wechaty@0.6.1","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-NN1ce/zHbzRwfB09JFoY/ftwDoPD7teU6myLhqtPYBPbW96TidSpFp47PMezwNNWPH0ASCweXL+/dn9prSafSQ==","shasum":"aa493ccd9631fba59b6e71c33b3c77a572d8e5ae","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.6.1.tgz","fileCount":117,"unpackedSize":469778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVq63CRA9TVsSAnZWagAA7oEQAI+JH+PIlc1xpyJicUbe\ntmSzaLI6ZlSi7nxTMuHeBpQXO7WifVkHYJDlB1bT+VxHxwuGF/YaA6Mi2gty\ntMjYXMf/ztelL2V8femE4zVBdlgVaN0ERqdgk4SsALrZf9dAPorcFZBQTEu8\n3BTVQa5UkHIwX3evNCXtabuJgg8G8IxxVDeM3cMwbMvTWOlbnEHnOifltJRC\ntmqs0ZzDzE9McL0lJw8e2e7iq9a3DCgrVru9y9MMvrT31WSqPb+Rtds1utNK\nbNHQCVVaXfai5YR0vo4yoc8fVlhALZmEdyEZcc9Ysjq1dAO7vUtkEeXA3ibM\nJJmHOfIWepyCyMAjsYmlMgIi3et6+/3mostMXCecdMJn7KHbU4JU5ctKvQGr\nIg4rlgEhS/Gu9u6fuXo+GmYNymO9dBnC/mzbSq0/4tamY5bMduGMr8BLRkHY\nOQ0FbdLktL1kZeSB2qKDUZe5xrpwqAKBpx7Rws9n2PxJARhhLFazY+6TuwV2\nGfL2ecw5ZscM9mhHyz0FPcL6Hp4kwE6eaCiogY/VeP2c4Zt/hhgVjR55qxhz\nT9W0Sh3SxRFsCMmcH62vBtW+uN7Kbb2s03QFDVcuIff8Pc2Qz+zvUrXEfx4f\nLX1M+tThnK5ef3UOC2r2JYqpSB7ClJo7HaGu94Nr9u4t3aSFwiHuvIOD6zpb\n0zaG\r\n=8E2r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbZ9K9p9KbsvT+8Y3Ec0MTtWeG1UM4vpFRIU18VNQK+wIgWOzA6jtlqPifudOkC04ZzxXmV+q+WEXt40+JoSmXeF0="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.6.1_1582739126665_0.07045876854204969"},"_hasShrinkwrap":false},"0.5.16":{"name":"matrix-appservice-wechaty","version":"0.5.16","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/badge/[M]%20Matrix-8788%20users-brightgreen.svg)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\n### [Matrix] Clients\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\nRiot: <https://riot.im/app/>\n\n### `matrix-appservice-wechaty` on [Matrix]\n\n1. [[Matrix] Bridge List for Wechaty](https://matrix.org/bridges/#we-chat)\n1. [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n\n## Features\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/wechaty/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVER_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVER_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVER_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: apply for token of wechaty-puppet-padplus from [here](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: http://matrix.chatie.io:8008\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"-c\", \"/data/config.yaml\", \"-f\", \"/data/wechaty-registration.yaml\", \"-p\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## History\n\n### master\n\n### v0.5 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"89f02febc7696b9cb6f5bc3183b25a180b70b992","_id":"matrix-appservice-wechaty@0.5.16","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-kng9SPpm80GfA0gY0yd5ExipnQ9wqVZYWyo/rkxnOAhDKTYp18Jk7r7cYf+Hwyu1ehvmnfAF8Gd1Ryvr8yosxQ==","shasum":"e5ddb556b6b541c55da64ebc8dca8c96204fb928","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.5.16.tgz","fileCount":117,"unpackedSize":469779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVq69CRA9TVsSAnZWagAAWiwQAIQ7m30c2P7tFDc0EkrK\n5DhTif9agksoIjWbVjZQ6mtlHiaKCg2u7pwVevu6kJ4hngQOBD4ehR1UN6j6\nvcUtT2BjlVa+TvCKvY6xHa6Ji23PZ68cXbQn08UPEJIwq1ikt1Wz54sElq7j\nSc/Lsij3v0f7P5DZTwKOj1bWKsIl4GZpvfd++Fs3wE8LKIY1jngCBjcUllfd\nHsHz2v3HEtqiEsEZd1JYMq2rGeYTHAKz84zjcCLNUaYvqVlE8kal5R3N9/6q\nIIXYiyp854pTbEwdZsA/rf0SANy9lPuGnXHam+SWYEN6+zx8NYPlxHWuk4zM\nGUTGV8HkQYb4RkNDTI8cxaBc1tBYkWkWtNKWhvYsW1IcXEnE+3Btk0b2fv6D\na0QPK9VoNxUVz2ponOxx769Vpr5Z30rjQ5DsEWhhRZBCunYs+1bjx75pat/E\nM2oZ30UV9+v+G5EU5hbLBHhZalm8c2s9oqbHd9XkMyum1/Ck0TZuxknQ4u8c\n9rlqCksWWA/+v8LQhe2CboBIgfQcW9oSxWzfn0FH3bIMmm9dK8J4Hw033Bjs\nXRG2Y6HvhvUt0cNJsTFS/mZ0Qdab63DtDEiARZuvdn4tw48GYVlLdfNwY9LO\nt67ka0EkNG86e/fgs1AtGxBLyLBM6LjZIZHiAQd7/5apkKsla0mtWXRWQFkz\nJ/Z0\r\n=YpFO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIMMdF7gcm+I8NY9AQW+72WRQ/7DyKBYhdaYAlicMhqAiActRTdj1amMlUvid9evCAM0ATR2XEPX+plnZCZZ24MGQ=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.5.16_1582739133043_0.7522357738861818"},"_hasShrinkwrap":false},"0.6.2":{"name":"matrix-appservice-wechaty","version":"0.6.2","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"65bc713a4b4b06b8796f085390fffeb1c6d527af","_id":"matrix-appservice-wechaty@0.6.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-qwGNxBbyXVh4+GOazeQRfkOmnw3CC5UxTi2q8v2v1JtK1jSHKRUKtu+8q1gDobZ0S74vfQKnOLGlVldCPazdGQ==","shasum":"5c7223c0a54690bd2c5ef2b6ae183eeae3624a61","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.6.2.tgz","fileCount":117,"unpackedSize":470129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVrU4CRA9TVsSAnZWagAAZaEQAI4iUYVGkdkTwR9K74z6\nHhu8y8Qr9S4FGbfjDDQbvqvf++W6M8USTdKpmwmiaEZV+Fa/hZWzLba3CzXJ\nb0tyPlO0U85B8cP1Mc2XUb61D8DIff9BgWBew0GNUytZevJ/ABX/SZ4moIlf\n4SRiUI4xoJ0xNYkBEufGtDwR5zYK0kGJ4emRlWHJ4wCqu76VHvCNuwxO9A2r\ng9AHXF/TU2Oaz42gVeX6LOQz5t+XzMz5tgCDh452/eI+wTpVPsMizTGGWq18\nssVVBsT/uu5bEw8mFyDVNfom57hslyRdiX90JG5y988Q8VixQoJfFMMHIC0J\nVv+0xx1b+Zlq2S1M52sEVruLppAA0pMaP+mlAqORlt+SrZtqHunB/FOSDolu\n/K5exps7wjCtfQam1c9WiPNkvEw2NL/TDjpa8igoA+j3cvctZ2aCVspTWzoc\n71FfbE3SofpyA0pgxVO0dARhkFUJ2hVbWZhjfMTBT1q8G5jFLJI/PAOXavDt\n5Fe1XRiH7xAvHUeaMh+bFvWGxybJWsx9nJXbnuwaaaI03cNw1pgnuDoA8kn5\nXqNaXbJMVvVss5/1/pqDAeOay8o+5VMa44g03looPerySnM73UhjUbnfGL+6\nLxfGGvWxYZNh/3we/PtuNI8WKTY7fnemzlvtQUlPHxgezUQJyPxe6oE0SOL4\nG40S\r\n=ZwIe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDturdSBFiDRBjc6JItz+2gkFPTbdgQzJDuC7ZikZuw8AIgOaWp2sTn57EC+2TYllUECRNDMJl2ifS+cF1toYI7YhI="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.6.2_1582740792032_0.4620845333481485"},"_hasShrinkwrap":false},"0.6.3":{"name":"matrix-appservice-wechaty","version":"0.6.3","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"7d35f080c022752b88a87178c3ed1fbd9dc59552","_id":"matrix-appservice-wechaty@0.6.3","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-0tNElrrVwU23DzxMBmkgdeI/mtqBgnWfQPC5jotUmj6WSzhipSwbX3L7SMH0H56tIiCB2kuVrqSZzl2acqJRQQ==","shasum":"69f8619396c0c98626bcf1fab6d9ca601204b0cd","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.6.3.tgz","fileCount":117,"unpackedSize":470129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWTWfCRA9TVsSAnZWagAAGUMQAISu+XbHZRoSsIQyWczk\nGlkE9jWFDPs+PvMo9VbwwzNR4QLvxh/rQlyNoBaYrFBSpKJe706jvgWhO62v\n+h+e40FHPbOaIYGsR9NYebgtgqJrGmnV7bduh00g+PCIs6jayL9wXBdOLRfv\nvD6kPFhtEfLJ98gXLie9RWoK2JVfYxa5pYOmh2aVdZpGxzCeYfUuSU2dK3FZ\nn7uTWomDGRb+1Ilx7XlS0ACj0hqE5GmafqQOBsQGrCa1vWTg633UFCAWRRR8\nv83pvhclhRBSbV+zJ4bQQt302ETQmAM6zbq6dfvb/ex4NBJpM/CD3rVKCUU8\nS0QXSKNLV6xw5HzuZB1KKDtZzIVe9kvEfLBIVY3xV5/r5pccXimv5Zif0ZeR\nktbWHdNeyStDn6NVzyTkKufjJ1Fa48jv1wZiC5fagFt/t+GscurLH8Vtbvyj\nWSnGWrQe3PbQxRA7AZ3SDtUP3H5v7QLiio9HwM/q/js+1APF7P7H9qmQ+Zvs\nL2iIfxiUDChgw8dFE7ci2I4V+xOtMrMoCxJA7aeEJmViNJ9Sl5iN/vsCO28M\nmQRDPSbyj/l/7GfoURDoXiQXNDegtpSxzdbawJJ77rK4YPbg0WgCR5qO8Juz\nyaQMB7pSs0h9qHEW3cbdo2FJJMbi0hnPygr41Xk3hWjiS/6voPPVJj45mdmL\nrFwW\r\n=lYPa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/ToCazwbSwakbRoSm01GN9VG9TcULUo291XmcNS93WAiEAkw4O+AjV2IQmxWdRCpk69jYaBzXwwHKbap9nPbXN7D8="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.6.3_1582904734948_0.7925030008719438"},"_hasShrinkwrap":false},"0.7.2":{"name":"matrix-appservice-wechaty","version":"0.7.2","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/badge/[M]%20Matrix-8788%20users-brightgreen.svg)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\n### [Matrix] Clients\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\nRiot: <https://riot.im/app/>\n\n### `matrix-appservice-wechaty` on [Matrix]\n\n1. [[Matrix] Bridge List for Wechaty](https://matrix.org/bridges/#we-chat)\n1. [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n\n## Features\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/wechaty/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVER_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVER_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVER_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: apply for token of wechaty-puppet-padplus from [here](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: http://matrix.chatie.io:8008\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"-c\", \"/data/config.yaml\", \"-f\", \"/data/wechaty-registration.yaml\", \"-p\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"a541e9eb61e66fdb82f5912fce0d5500fac829da","_id":"matrix-appservice-wechaty@0.7.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-GInty/plbaqARs+ZGo7RIMjfSo39ZiHd7sc8dXKZnEtf74IsggPe+ej3hX0enJUeOZiwZaGMjC5AAEwpgPcOlg==","shasum":"e67b4afc5bbef310137bd41937316234d765efb2","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.7.2.tgz","fileCount":137,"unpackedSize":485167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW1ujCRA9TVsSAnZWagAA7QAP/iydqTrO6vNvRdkmr279\nTxUfnvlAvnHJXWoeIuxemL3tKgEnW2ItYUs5Z7bCg0qD10nyd61Tt50ZIj3i\nLPxgHv4b88mdrFb3Vq2uIHhcjMIAShN0KcKs85HpUTN97s1C6KZQz9TJd/Fq\nEIzaoHexzGVtQ85GpXBqSitwJhvz7WEWL5H5wZiMBjYHSTSn8RB3z9LoZH5J\nMeeAlBqj9jqopCe8iVwh/sBp1CsgJzNOWKGE6p85/DVASwtL6q0wvIakgz+H\nZaqWuvPg54WxjETtKSL1Gblx5cDlPs8BtPE2TG5uG0EGP2t0LDOsUZuP3H4B\n3R+s2wYYw+4dYyGLEHSxmKe5q40nUvRqySz6gkgcXMGlW1RZewVCMd0aUPzu\nYy7VezDkaAyYb8tL3n74M11UGhrqrg3wsYZIi8Hv5plgL0ONbmz54QWxmtnN\nkgv4SZQ3iHLoWnf5tSuTjAOjw/6At/bhr+lnlts7e3KksOjsypm+aa2D8mot\nXmrwcdn2i5yLsOsL67pxFzPyBYaSdNh5RmVjqDPqkBdY4xmSlWIgtmSZ3PKf\nCaFjX+yRpi0wBtHzqer4KCoYLDdT/Gs5VkV4xg9lTkeJfS3sYauJoTAcGLpv\n5cXpbTM0vV1D57FQd8zvEo4kQ7z3xQ2y+fGJwj57QdZeZDGXfCV2W3wcYCWo\nUEIB\r\n=X8M4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEc3K+vVsupJZ/CBPsztGBPBnhhyDgltkUTm5NUBVmg8AiEAhZWK3CvQcN5TWrJrn2OtEPms0nQ5WJIVrKv8TPk3ppI="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.7.2_1583045539054_0.7021456105050918"},"_hasShrinkwrap":false},"0.7.3":{"name":"matrix-appservice-wechaty","version":"0.7.3","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/badge/[M]%20Matrix-8788%20users-brightgreen.svg)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\n### [Matrix] Clients\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\nRiot: <https://riot.im/app/>\n\n### `matrix-appservice-wechaty` on [Matrix]\n\n1. [[Matrix] Bridge List for Wechaty](https://matrix.org/bridges/#we-chat)\n1. [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n\n## Features\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/wechaty/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVER_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVER_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVER_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: apply for token of wechaty-puppet-padplus from [here](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: http://matrix.chatie.io:8008\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"-c\", \"/data/config.yaml\", \"-f\", \"/data/wechaty-registration.yaml\", \"-p\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"838b18e579e33a339f15acb02fb2c97c2b424954","_id":"matrix-appservice-wechaty@0.7.3","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-cCg4nm5kQlMI7DVfnx7Nlnzhg7icx/GDbEWCdJs+PVCnktCp/Nat6neIvg4DPV+K478I/IbkpEBkQ9iUepu6Jg==","shasum":"f850e25c3c863c449c2fba2e0c82cd1dc76f5157","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.7.3.tgz","fileCount":137,"unpackedSize":486032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW2WfCRA9TVsSAnZWagAAZ/YP+QDICULdeW52H+z94Ugu\n1jrUrVoswrdqNGtc0ILUIdcfQqltpFk9fmhwrquSv4nWzB1S3pEXX3fxs+vu\nKeXdC7tjZN5GqAVHLWBcDh/zeM4JpEdi/PfmicpuN89mFB4fNwk4cUkduwGT\nhiB8qZGy9DyhkGkPa6CmG7dKkaM/nTP3n7ctVzpPXnhxJz0G9n55eAkbrQRn\n9CYvJQhf3VWc5VvwCf6QKUFRa/bE6A/B0Vjj0PID6ZRHiFlLrUXQ76YPx17J\nCc/eLFa7coUHElE6846wgwMwgdp8T+ZJGpMfZ1jI6qh4UV0YvwnW1cdXAAA9\nMRC5Oqbz0b8WvsZYd74mJ+NYpwSR/xnsoR2/NE5enQQOspz538ZFgUkt2rJS\ny4ffOLFnMXF1AYFr9OwWeS7bjDGwV3XzVMiU09EMhe6kACHiPHmuzKsMoaCp\ncKXy/SQPGA+CmHIf1xXOs2W+baONsFDqaIpecn7JLIX2F1XNE8K4/mc6u8F+\nOiP8OfVV9C0jvabIFbW1vhIzES932XJv4pOdn+agrDKU95j2E33eK434oSFI\nWo2+kCaqMKXu8trjeJBX4S9jtFuKzUaYLC4nvRUraaQ0WUynKRGpGD9WIXfb\nY2cqPEN0s8qAIqNrzNzw4Q1/R5sYl6JCPBRLCnjT5ylKis58GlTMJEOW018Y\nOXcA\r\n=4wO2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzaYas1xQOEMs63IW+wsvZD1PJ+6OcEjB1LDcwuIFK3QIgIDLW0twkikCg5sm7tg3pJf3+Sr61bSya/3CYxjAvfCQ="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.7.3_1583048094394_0.7306592321856005"},"_hasShrinkwrap":false},"0.7.4":{"name":"matrix-appservice-wechaty","version":"0.7.4","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/badge/[M]%20Matrix-8788%20users-brightgreen.svg)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\n### [Matrix] Clients\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\nRiot: <https://riot.im/app/>\n\n### `matrix-appservice-wechaty` on [Matrix]\n\n1. [[Matrix] Bridge List for Wechaty](https://matrix.org/bridges/#we-chat)\n1. [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n\n## Features\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/wechaty/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVER_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVER_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVER_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: apply for token of wechaty-puppet-padplus from [here](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: http://matrix.chatie.io:8008\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"-c\", \"/data/config.yaml\", \"-f\", \"/data/wechaty-registration.yaml\", \"-p\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"40777b98d86f011c1a206d5e33647c338918f8a4","_id":"matrix-appservice-wechaty@0.7.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-1DD2WwGRjwf6sddbUMNUFZZEGoo5ObyKw6RlueMkrGslgmPOVHql67rLcevG3D9abXsxwf/eELVwGfTHpKcpjg==","shasum":"6e8461d0b38e4b41c55b00abdf9915765ece29ed","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.7.4.tgz","fileCount":137,"unpackedSize":486032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW2cRCRA9TVsSAnZWagAA7SUQAJqms6lLzW1/XWMXO1nM\nXVg+5S5cvBVQZvGJBtT0WgY2DTKCFn/IjnhU1zvLtgiyNCRhqRT/OJbjGjSN\n8tLaMxa89opovkWTgwAyfm6uk545We3QHPEQEY1aW+Z2dXy440XeB1626PFJ\nIu5cm7y5NMB2hhTcfjtyyXnv+VvvCDGGjX0qlIi2dOc8inn9CidDEhriwzvu\n51Eg4yKuGeAwS86D43+OlQ0tjDvu3K2CgN4l2WGjaTZxCagdHeba6ypgWdVM\nHBKboda7IC8zZhTgorWdi5dOKKQK+Y6vn4D884TXNmNcQJzVl5p5kDMz0hsT\nY7JsDVBUU18EAJkuWdW1bo40+zWIzTxA4HaLbFrUjp8U3OGBCWxEN/GbZ9e7\nD2dR73WYZJqgODHw7uvXrqK3cAMEZWKryNAvYw3eE8epTPcvHiQvIHaY+lx0\nVu5gfBItff1HopylGJtpzMZAwXAMHWcFwVJdZ5MoETIvW5bUINOz7D50BvGc\nX7vrGs8lm/vCgmpjE5xULFHMa5gwM+1iGP8pOpVisVXFgHvju1v8c6PU0k8E\ntwl7Ul94sY9Egyzop4KSZKFVNo4Xzxdv4voQYYXMAcqcl4oFebB89EnwRFGj\np1eqJ/ZrEjnpU3NPA4KRdDJKQrUkm4lYvLazW+pOLP4LzYgfpgqqncyb1NPI\nT98t\r\n=r9pP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9Zv0ojL3GS6QKpVXb/NDVM7I9kTLU+C0QVAWx2dKJUAiEAoOre07VLcnpYHgJxs2MpvyDIYXFI0qK19r5utbdW90I="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.7.4_1583048465204_0.7540299654543616"},"_hasShrinkwrap":false},"0.7.5":{"name":"matrix-appservice-wechaty","version":"0.7.5","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/badge/[M]%20Matrix-8788%20users-brightgreen.svg)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](https://wechaty.github.io/matrix-appservice-wechaty/images/matrix-wechaty-1280x720.jpg)\n> Photo credit: [Matrix Club](https://www.nowshenzhen.com/tag/matrix-club/)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/wechaty/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/wechaty/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/wechaty/matrix-appservice-wechaty.svg)](https://greenkeeper.io/)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\n### [Matrix] Clients\n\nI'd like to recommend using Riot for using Matrix. Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\nRiot: <https://riot.im/app/>\n\n### `matrix-appservice-wechaty` on [Matrix]\n\n1. [[Matrix] Bridge List for Wechaty](https://matrix.org/bridges/#we-chat)\n1. [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty)\n\n## Features\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/wechaty/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVER_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVER_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVER_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: apply for token of wechaty-puppet-padplus from [here](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: http://matrix.chatie.io:8008\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"-c\", \"/data/config.yaml\", \"-f\", \"/data/wechaty-registration.yaml\", \"-p\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\nThis part is __\"steal\"__ from <https://github.com/tulir/mautrix-whatsapp/wiki/Authentication>\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and Pad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nCopied from disclaimer part from [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer):\n\n> I accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019 - now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"36af2b88857fc4ea6e9e2e1a27ff944eeee5a8c7","_id":"matrix-appservice-wechaty@0.7.5","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-aYgOwyoeBYff+kHMsc/aD8xec7rFe91POCq3xtco0BnkYFnc4nulWlfHPsNo1bl/ohzuc2MMvHde2Q/j5fL3TA==","shasum":"a232a3c77cb0a3290f1a5f0839aa7e1a9e23bf87","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.7.5.tgz","fileCount":136,"unpackedSize":447991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW2e6CRA9TVsSAnZWagAAvIoP/R1G4z1GOTlnLHlkXMi/\ne4aNZ18Sh7ZoYYmjGFAhsxpvhDUXSqETekKeIK6Bu0wnKDgvn36uF12cWoef\nO4lWDjCmpRHE9/Zd1lN0SVa2q57AU/p9/oLvHerjIdfxGUJG5mTw7dmU8a0W\nf0fn4RhXgetj4U3CX8jcwvrBxYvWUOMGE4vVfnn4Rvj14t0p40UmxTvuJI+x\nY4Nl/AHFto18OeAvV6sZleAquvWemorEF4x89w88QPtiJF5rPW1yxWqtN4Av\nkdgui6n6yz1FT5HL5ul7SHv6cXLyufJMYb901hd3s4yKd5Fw6M4a7bxhCpDz\nnObdx9Qof3BFp3ubG6OyHoWetMbFKQnRI0GZd/VjjlJGGPkwu7q0oYso4ZqG\n0PevzmIPMcmdcS9WyCIUp+lUxkIu2xMXpMoka3QTgNcSgvdUtW+dklgfeQ/B\nrrrsycMf7d5Oog0UEW6D8Py7E7/lbd9N8IH5ZuCKnD5MdY2AXDl7KjaqVku8\nK8sTys1eq9koJQQaga7AY9nQFsg0x3imPDXsfA0hW/6FLOXJp0veQVBTR6RL\n3cHplifRBejCKY2MUAwF6rUCpTzY1LfkiQmIbWUkiKcIQOWP32usCqykGFCM\nqd6/3xH/N0dcNHebscC1spgGFFoHr4iuQuS3BDZDYoxzRExyHugJBuV4P82n\ncGxh\r\n=nObM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyCWPCBw69F+AKv8mwNjysHJpV58HnlmTUe8nk+nhDEQIgTZuYPxqqnkyzeE/WukVgj9YeYzzvMBmbdwawMncaAyc="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.7.5_1583048634367_0.6433521077340627"},"_hasShrinkwrap":false},"0.8.1":{"name":"matrix-appservice-wechaty","version":"0.8.1","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"8e09bd8725c869783dd2cf01c3c1536a86534833","_id":"matrix-appservice-wechaty@0.8.1","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-YV06puMnYGr4k9F7MOE+nl68mGAafgOsT2a8u+co7oVNl8p3iUytDLv8hAoBueumeKcGey9yJltrw6wIt6z6VQ==","shasum":"82e33fde1fbc43794a551dbb379f318ff1093127","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.1.tgz","fileCount":136,"unpackedSize":447993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW2hwCRA9TVsSAnZWagAA/gUP/299uag+mrSTAdEGNSmB\n4G/SUkApxmwbrozW9/4g4TOGCcTUFeYqMPIlYnK4MFl9Ofpzg4WSm+1EO1iU\nh7nNZZetmmAvK96Tp5vwwnwfCRpBBGieER1nmz/Rd3//+XN69dYPAjkCkQCf\n7Is0PfOkgIPeAzGuD021S7vFJJ/PIUJeEUZaaRvRJsUgN2GDlpzCbhUIrVP1\nBtAwYimB1U6ASuMWP1rx9GtNlXDYQsMIXGFyDYAukTDgf2mMg4+dmMCrWv+L\nx8BWx7W83mTtx73dzmOgqxtDwwjL7XDLUWU27JAtJqqoiSykU4s8vxgHzhKW\nhiTJ7fLh1Gx+Gugp1xXskJeaCzKsxmAY55JKzBuvHBeNFgXaZNzZ07Qfn5vv\nq7QnDEoov/BD74kdQOlY8/090uL+MRZ3gjk9zupYRg/6jJZE/X8D2JbAzjb7\nmKU+hh6Ru/Dmnq5GOpAg3Sq1M22pVRyImnFonisx0ZuB22JmwpTjTxImJkNv\nCMH3VD46uPx1frbwFZN+53MhxCTgtPuRC74Y5OyHzhf78rdNjwUEWUKDc2Er\nakMV3+UVr1Oaxswx+dW/hjny871cA6vnZoAl0DayJzDdDZGqTXhS2FBaS4v+\nvk9Xt5LMLiVtSs5wcMQVs1Onv1HZ+XYlPp5WYuhEeDk6NzURBgIQvhqgqCgf\nSp1q\r\n=QlP7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSGGy9/euAnSJp/rulOs2gkOL7VGIT2i+BsKHGzQnpNAiAWyi7wIV3CoFPqlB2TTnK/BNF8BJbjg2ATC0wsC6sXJg=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.1_1583048816289_0.4423111201065608"},"_hasShrinkwrap":false},"0.8.2":{"name":"matrix-appservice-wechaty","version":"0.8.2","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"ac49a640833d32b3d571f8f270857ced978059b4","_id":"matrix-appservice-wechaty@0.8.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-155SZhrtH59Po+cTK+8JaR6UtnIPwSbqc0S0UChEDr/8xmS6R3ukif2cQYLZM7OvsnkbksGPDiJASMq6SrFEng==","shasum":"875a2ff466a212f2933763092298f8f3467b821f","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.2.tgz","fileCount":136,"unpackedSize":448426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW2nECRA9TVsSAnZWagAAAFsP/Rlb8MlcJNPlUVx7jMSg\nuSVBQEQVy4RXA7kIHdtbU/rVl8gSzGE5N6P0m6ejRAxFGz9Fp1SkVL1D/evT\npYyHshZzlxTEUYplktLT2dgDGhgpIPUefuAreomB2LC4f0LuJYXegGgPG667\nU9EzedJ/IgOsw8dPeftq/Bp58X62LBpBf6tiGcXcxjqpzDbkyCfhKCPo9C1Q\nxdTjhIkpRA9KjtobiQ2vaceWbA6zDvFN/cPEflhP2+1idaeruFGSHyFOyX3Z\nh/jHGgGb/AGUoOJOQlt6Yw4nsZ0RwSBPAH2+08ChOfjtHEJv+l930LiPTMUL\njKqF5EReNHa9Shdd4kRjgSR/WXnDvc2KV3td6LrHujrR5HF/Cr9GFjTVluWx\ngHNEMWYGIxu2qXKOCJYwMlypciBKfanK3b0pbksX+8P2fzYSzx1XqJyO3BBO\n606Q0gbp7sffC+jF0BSzqN1uxM+nCcFC0vsVC36D810/r2lgDuUm7GQYRx2N\nFZOskjq69pUac5al02O0fCrHuxO2Ycz1bco54t+eSkBu7PUkgqKB5yqf1fBv\nZ/3jS6TwypigNcKPYhFc5Ifb6p1KSJ+2RmBuJvK4OzkAbTac2Sx+smH69SXo\ntV5faFafy61Y4+pqOLfFLkAlYJODowR05Ao1Fxs6xNwFc2D4xXhWyatQdfdu\nlPNE\r\n=Aoef\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkuOs41HHSoROPW7Bj6aTMACDo5dQNskdspb1RLmXwaAiACYdokPJTVC4j7ivCj4OvheQxZb/aP90Q1IoPbfrNxOw=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.2_1583049155949_0.4563968160583014"},"_hasShrinkwrap":false},"0.8.3":{"name":"matrix-appservice-wechaty","version":"0.8.3","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"9af7a1cb4b25aa0447f08bea7408fcb6982eaab6","_id":"matrix-appservice-wechaty@0.8.3","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-f8G5p/Sjr4+64yKvb+8TVgPsdnC5z+EUjuf//Ha9fE31mD3nxi9TpjzVY7UbSHywYuV4EUzC0mgQEBGfVkRS2w==","shasum":"fbc14e0089ea1410f9ca2753c207f9732e21381b","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.3.tgz","fileCount":136,"unpackedSize":448440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW2tSCRA9TVsSAnZWagAA7LAQAJdWpuXiU8UOAgR49RMo\ngyqv76oViF7t+Prbxj0HtSoX/jhjvFNylhlKWKj4XcT5KUPtjWhj5DtO9i7b\nmLHQa2H5WzyqzIUX3k7otDRWQdjOlvP64hjKsFlkPr84ZHQujrelbaWNfaoP\nH14qKhCgE5mkWUfmaeBzayVeLapMHmtYybI/0UE7rg/kGiaA7rhvdlv6aiQM\nuELUThYNPxkje56mj04K6NrKZ/WDEOWZBpM78A5cgNblX6L2bXLOvNMfaVRI\nC13jbC0mQniTvF8xce4zEeueUcDcGggfmGtFaz1/qqCwhRwPU7nPL2ZNwKeP\nLDEu32uBF7dBvSXcs8JJsb6moGZFErKYUMQzZ+qy1N7kaEGXIZHGgre3+CEu\ns8I1y9k2XC/+BkMqRU0BVDuc9HMezsI11Wt7zmXuetw+rAT+JiuyZoPdDmHW\ncoArBvz5DQvc+zg4DWtqHR9NMM0B4LqaRRk0yaJ7Z1VfVNEnomd6rQNPWq3q\nmtqBmJVJUhiaBJgzjlyWQGgpV0uff5NTVVLVyFi/J61fX9uCdbIx1lu+uWQL\nvAq7UbmWRoU6qsQq7CnlbBI53jXd9tlqE1kqoEscPck5wLNykfKGGQUJKbZ4\nywZZwaaReReBIuHXniJpk7/WIyhqL45tfxp2U7EW1D82inXSmsiXo7cnzt8Z\nD32x\r\n=u7a4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEudPTqPx5GxDR6jaQ8iMtXQQgxf5Qka2Qa9xUZs0Cd/AiAEdd7SmSdPynwcj+ucQlBcBHa+Mk7e0LWxaiz9kX4/9Q=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.3_1583049553906_0.607409659092532"},"_hasShrinkwrap":false},"0.8.4":{"name":"matrix-appservice-wechaty","version":"0.8.4","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"2c66c97ddec3de226446f50a51095f9b0019da77","_id":"matrix-appservice-wechaty@0.8.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-GMJ5MfbgPO3A/EIjNI9SGZBnPx2wAEpmqPuN+WiIpjRz2iMf44WxJ3yCWOMeYQiUs4HSkN6qsNoI3NuKunVSBw==","shasum":"6c1dab74b1816b4d20de7c40e2ff2d70e4ab814a","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.4.tgz","fileCount":136,"unpackedSize":448444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW8jQCRA9TVsSAnZWagAAFZgP/0p5YAofwcToxswcUY5O\n+zYN/aCpME/pFzgrdNGG1F5I56YPGxt9lRS1U5ZmzdLtmNWsB5acM8LatiDF\nvPNrA4IBbOoVOG1AphO8+hsoHEA5V+XvmYmXyKcCjq3XQKMRXSxWz7TKrmFh\nE2hnXMauDmBMbByZ3kREM0KMpo1hct82cwcqnHrAVbyVYnvxYE9J+isbHsVF\nXHZpuOsJ8DNRE1QI0MKATWedPv0kAOOl7ytXKoTUaugGetxJ0VLTQgAd2RD2\nrOY8agbTgwWjb9cMrVIzBeHDf96edZlXZg7wwt7qfEn3hY9/OuuKf25B8Al4\n41UabwqOE/5XoJT2WoxXYD4KiAZ6UPHSQPrhCdx+OLlBC3LKpRR8AbNcYSdu\n3LMepgs78X5ep/yYWBfg2gkx6TfZxz0Wp7sjHn5hLny6PBghnj9MEmA5O6qr\nUAw2ub5eFa2w09FmvYJuSOCnhaBWws9tYHEiA8X9xpCfL7R7hshSSxdI/OTM\nG8HqgqjeIg8Q4Y0rH8IefXKTGLwDtaAcjjxRtEVHn+5b1pjlVOXjMsXNX6v8\ngwBcz3zdlBpT0i7WgUpkwdVKAWLq24Bd5NDU+Fyq9ebD359nIc6K9Q8PB71r\nBKAod/bbn1z0dCjkrEu5c36lHoMGWe0kdr7cETJNW1Yma9Wjq07mGUNtoBNL\nmxH+\r\n=qujS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPKbzB0spc3dFku+RmUNDYE903f3ifLDzcWEmVwK7mNQIgMF4bSxFgAkDDFWkJC7Pf2LdPwCAT71nrdgpDnSSml84="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.4_1583073487413_0.2844589032863185"},"_hasShrinkwrap":false},"0.8.5":{"name":"matrix-appservice-wechaty","version":"0.8.5","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"5d666b3d85fd224a11bb9d03810d0a9bbef0a144","_id":"matrix-appservice-wechaty@0.8.5","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-mz8zmjlwTltALBT5hzN1EzuPUYLfrFt57H24neNaeEeWMEXr7RE0mdAH+YXvPelygV0qm2fqw3JfoCdN+8Dm3g==","shasum":"9e7ff307bb4e17b0a82bd066cbe2c8b753e1131b","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.5.tgz","fileCount":136,"unpackedSize":448541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW8pvCRA9TVsSAnZWagAA7rwQAJce1YWEH+8kmlLie2ij\n6XGugWatoZH/7QgWCpbFON5mmJDuNEPomoNJQByspQrEwhFqU8ASUv9UpmWg\nPHWuhD52WpsLhWiRxhm6y7vIy1SPUxeqBbFaZ715icaEmRrMxemVz7I0qjmG\nSPH+9YIcwWL3TXjn3BdRBCtH6kLRCtyUgRXiu22Uy9bsc2AI2Ks56nPeJ0iA\nbF+WG9CWq4OT9ed/AkLx0V4yYpL8DKlR8PoJUTPxtd6fpUMafR2t16Ke0g3K\n9TAegN84fdo9m0hSShuR43+7w+CvrHoKtVAhjwN2SfnoHSLkRwwqUgDKSS8U\ndEh6PMH4CzhPcOVv2FNb1KbnRhmenC4cm9EF9ohco7axmXSaI20scMS05kNI\n2lLybzWAr+TVlimjQAoRFlU6Mj7PBTJc45HLOEWjlyUJkwVhPbgQiJOLCHT2\nMFwdgjcXu26wc18tVy0OA1ZNGnNIt/53EEaYmkTrr138fdq9ifdKvTZTzAWJ\nhzPZzbDpV/hR1BPFftu6txGo0T2o/0Kk5W8WAOT/LFnt4ZOaNLaZCfCjOjXK\nvPZBVm5StoWN7zuxwfeddl0V25rtjk2osMVOFM63jxdDszIok0U3B7V5uVyL\nFozEhGDmeCbkNHVUSDuvZVkQJFhlzrSxCGKn7WmioIHWqcxaSEB4Z3njhoKa\nyIsj\r\n=ISyq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfa/+zcs613QAQs7M0GoupNn2NWcZ8K3BJO2/APNcYcQIgLdDO0qX90mqSREmFQSZw/aeIC4IE63yL+AeiCy6+YHs="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.5_1583073903350_0.38474700110309556"},"_hasShrinkwrap":false},"0.8.6":{"name":"matrix-appservice-wechaty","version":"0.8.6","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"2d795942146ff28f8e656ee578c0e606356a6594","_id":"matrix-appservice-wechaty@0.8.6","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-zZxKPFFJF3hBIt5C1HKC92Pw4qomcrB0A93DS5D3MOe4moyTob7p4kzK11qOn6gEwN3aVUTD8xXVbaXRJDBr4Q==","shasum":"be1343d9d0a1f4f8ee827b9f316317d5b1784583","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.6.tgz","fileCount":136,"unpackedSize":448545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW8zqCRA9TVsSAnZWagAAum8P/0FgVi47opDQAWiiWpqT\nrHczuI0nYktFqMednZTmDvzBGS0eF2b908dTYMRIVxqOa+LwWqpiur2pXWQ3\ne9izcq+bLpHeTGfbm+l1dSEnxUT9JQwxT2mKC4JzaE4WImlTnno7ugdGd86j\nIlY68CviPSNUhfbam2ejEXBsYRdn7DPnNJqpiy1Q3s7QDVW84R20wwqelb1f\nx+dK5ubTtn+pfU8CG0jFXnE3pt39IEbIAiF8Lhb4oe1O8owlg4dfMC3Vk4mC\nHjP7SNFfPwiUl+WL9B5Q8zpA85dKw8w+A9l0Ed5cMdwS6bevKnTKQ5TWalCl\nvCUXOYMUPyb8bEKbHOfDXEmwvnWo6nakl8qCJB/tArr7vKyrYSS5qeUtb7E8\nV+RmmqkQhLdokePizkb7wkcwWuSTMPO3PXuTwMuUYk3nQBrl9Br6j+17RYe1\n0cLIDw8ybC16tvrXFE3H/vzl/94x8jayHDsNzzkbcilDgvmGzifmj9iGRqtg\nGqGepDNo51LrC597ipup3UDRA89NQ7rBMcCPaJdOF21ZF5T9wTmPg6nGxykR\n+Rf0L3suVcBnnxDgUkmY4llUedjgGHvFZ4iDLAD+pAyR7av4kTwKe4KNKMgQ\nSLY5N6qKIZ4HgwSFX+su9BiCSOsfxRn8h9SBXz6aqdNlsX0VkqzojKJKnecu\nXGnZ\r\n=EJcO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgzcQ/CpAVhAkbyGuR8Ba8KL4S5XNtISjd23cC9OXhBgIgXcGHC/getLRspjdAFQlZxt5AsNEWoNeH/V9wx/adZVU="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.6_1583074537367_0.6574254124282539"},"_hasShrinkwrap":false},"0.8.7":{"name":"matrix-appservice-wechaty","version":"0.8.7","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"83d7f07dc90129e95ae232f149e564ac62ef6b22","_id":"matrix-appservice-wechaty@0.8.7","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-xUEfqkZgmtykTp3ecIqmcKA3gSaAW+YY8b648DuE5DmaN/nBgOCA5h+EwWglApCMibwSj/CQ04oSzLkWB5S5Bg==","shasum":"19cced046ceb1383c136c7c541ae21dbe571a220","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.7.tgz","fileCount":136,"unpackedSize":448544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeW82UCRA9TVsSAnZWagAAo1MP/3jrWwYAd5NZtUyBhihF\nFe1GVK6MTGNqgvxIKo2HbnXxsokG026sj1n3dzQSU83dyOh2yKzUMNSzD7GD\nTvA87Pas5wfw1kuExKejkIY/YUla5OnEv19cXjugTpsXVn9aGqxJ2aSFM1Mp\nkx6IPHEuIIaB5xx/oJwXvYqzB/BZSG0JDSLEnQ0DfOmHfDz0283fiT1koXso\nISwwUuT0eg6VXQI+rjfGjjOnfkDzuLMp7GHI3BQdC9NexemwCog5LCWdJuDx\n+MR9SycV4SLt2mtBIb2zwxwltvqwD1F2ZzqQZC9JDSvTb06+SJDMBYodZ4HG\nmyvgrpgF83NgvRD/kFXZG7Wem5EJPLpn8zcDgskMdJ1+H23mEFgIOhqA5IfZ\nBngpH23VuzavjPaSiINv4ofiAToH/+NXEmId6EZzSCdK1mSsNUt81EU39AhC\nrH9uqc2cF8BuVZvwZxS+73/Gj4jwYvW6Mm9Wf7kaoCM+SswRHanem3rgKwZV\nLcWEgiR7czapueDc0I/BYW6k/iKf2haufaxjfZq/S9xy5cLdnnPZMURWvid5\nUN/SkI5jwRyNZlaImTF2h53bHa6Hdwn15Ijx03txi8uPHAIJQumHuvclm/xh\nTizkCfiqfQJIzjQ+TEpY+hOINiOHW8urgmd+cxqHeGEcplvWVWg1+k0Q+vsg\n6LDj\r\n=Gi8u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFke5+0elKp7HlUeDDb4y5PYpzAH0F2zOhZZWsVV1Ce3AiEA4nxbkzUpX+3mZbiduer7kbUh5EL6DReGzsWgT3Jonjw="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.7_1583074707999_0.8507292716890384"},"_hasShrinkwrap":false},"0.8.10":{"name":"matrix-appservice-wechaty","version":"0.8.10","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"4a29dd3eb8d762aa5bc4e7c593f6b9dded872932","_id":"matrix-appservice-wechaty@0.8.10","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-viOJswn857YbZEGPmuDCxR+LiaJ6ht2zxwmtj2PIAvl61gEFcseorZJqXgTkMiHdsV3U2qZS4WZd6Zxc6vSjFw==","shasum":"0c22f39f54bf80c676017b33f16b45c77c325c13","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.10.tgz","fileCount":136,"unpackedSize":451583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXNIuCRA9TVsSAnZWagAAOewP/0s56XfkRsIc4veVF6bH\n86/XGN3oSzbtazLaKpLjPoSx2F5jWjdXr1KiW5CpsvearDi+KLARo9KL5N6S\nLyz4fTfN1rUFmaKH9Vh/Rt2Ehz5VUhttH3T/hqqe4rVDEVuwv1o1szs3HkbO\ns2F3gUgCgFTvMxoELRG+LQANnw5E6iNS/2IBaz1LQZq4ZwENwFJem3OPIsBj\nwzA0FmGiSDUIvoCI9ro/yi1jqoohTnrXuExOiIfZ6i8GXCp9MgB9qofuCDpE\nopsSIO94kanfnBNo4XKYxioo0RIjAX55H/pjG24vuLbshN9xsCoZ8ukkhvW4\nRMI1qip4QtgkS+ZyS3X6WubzF5tXCTQQCciUrgq2+CS2IhIpbq3CzvkBWBa1\nx2SUNVBenZXnU/kiqEsR8MFEZho61fTRAb3y5Ss+1nkGgZFPwpz/THEIXXt5\n5DwNjG03B0ukmu9SJDKf2Hosutnga1bOnsV8aQXVfR3in+hZJifxehDU+whB\nGk9nJfAa1lIgogE9tTByKIgpGikzAZ1J7Llw8OJ89Mud9fvPw3gdfjVWBS8y\nSMj2EkDmB4HoOBa2xi4PnuiJ3RmLDGbj/2s/X9dGVZFcl6ANGrA0Nkff7tWe\nANDu8ho+7ROOZb4MKic/lcGz1enc4EA0W84M5C+3lZSjwZJF/UNpDkfuPKOL\nSVaN\r\n=M1pH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCddsKt+0fdJKcZZxeBktgIsYLmwzFtvpDVeIoLKyFQmwIhAKuyHAtuF7fMgYTIcUxNcHY6SleIKitj/6C09fn6UIfR"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.10_1583141422070_0.9751609580065164"},"_hasShrinkwrap":false},"0.8.11":{"name":"matrix-appservice-wechaty","version":"0.8.11","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"f746584002e9800dce9560ed3a8ecc4011fafff1","_id":"matrix-appservice-wechaty@0.8.11","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-2qnMDA8FEqCPJ4TPlUG7Z02M7xBWAx217cdaa7i3aAaY2PSDUNVho8L6D5iQ14DtJHPvQlL0qSxXIRM2K45pNA==","shasum":"86a8afc6a8c97c481159e33a628ec589d24cb6d7","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.11.tgz","fileCount":136,"unpackedSize":451783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXNR2CRA9TVsSAnZWagAA7yEP/3Fomar/iyWwO5+63EXx\nYUHgbGUEIQztwk9+/zijesmjXVtucR7wCEmWJM8uO9uWMdgw1UTpZ8ac229t\nLT85DZQirSiBIFdmceajmC5T4s1twhCFOwsFWALMczKsQeKFSgIKkSOpBujS\noFM8Czz0Q5t27pLKRWMSG74Gkn+Xdo/3q8Mlsipm+El/ErSYZyJnVpz1SdPo\ngGxC3buij4hqt5qJSWYel4l1YV3o6Y8+MDiij1Ms4C1k/iKi5pBE3SemVmKW\nVcIaSmg1ZqKSWEf2fD6PMNbuJR3wETtyPuO4JhyZjPM/RBML4Hj4THELiUPp\nInASLtOPJs07HbpD9ULWkiII8K2/tCJ7nQUdcoH9zrfYKMmlvQCSEZCJoa/6\nuHvejAdEeMtIc5gNHt3LL/gYoWDFuEko8quLHLaJ53O18RAJLq+PkxJxPiDe\nG/yQq60NUpC4KdnS6+az/rWLpbChCaXqZ2poxnBcv+ZPHT9n9JYpYY/CA2gD\nalJCR3nDvz3ZWWSOzFYWJPV2JWi+9McPTtPpagJcb8wqOa2z2RSDZGISlPQ2\nfsSNIMlI47HRLrmkkGsVYQ3ggMMuuqJ1eUR8UaQDF1YuGC+BTOBaYBnn5Rfu\nfk42QCZJV5tbpMl1/yjM4fX41VLw87enxb70xdbg8W3q4FjY+pY+Jx/itXhq\nnLyO\r\n=ZATF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs5VmhkB2tjFxBNuP18UM4hTkSKMCiwAvwsuuK5dp6sgIgdTYU4Mw8cLwRWgRIDU8DocfZwaQDGIasGDB8O0RWt0Q="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.11_1583142006153_0.7226105361701247"},"_hasShrinkwrap":false},"0.8.12":{"name":"matrix-appservice-wechaty","version":"0.8.12","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"0ebd89920e870824cbf92769d0d4a3d712487257","_id":"matrix-appservice-wechaty@0.8.12","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-NAU+dtIFbe8ecnD0vi/nZa4gomRSSSxeR6UVOpM7+ldXWWyHk0c9mmfLq4XZV+AEMhITxSjYaEcREOXfmOv0PQ==","shasum":"06bd7f0543b7365f675893d6daf7bdf96c764799","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.12.tgz","fileCount":136,"unpackedSize":450289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXNyZCRA9TVsSAnZWagAAi4MP/3p/kknb3iDT4ThoStp2\nXoe5KGovVYLHa5CHvDex7YSAO3VJ8SnbvDQlIxJUviVhS8eBxX3yVr3s3Ux6\n5EQbcwdIvr6x8u7COIK6ESucOesM4tEdvspJu8nSss7rUwYRcpMuKtCtAOHL\n8FOfMgi6ccpvTqh9NQfo4txdvizqmHItZpIEUV9d1Psnk3lhQztKj7oWjKwm\nZ+x2pNm7H53VNhIk48txhz9U13F130z/YDqcMSMpSvB4HoM/+9nDXv9i0gxQ\n+bkA0PxrnETgPLh3ZCTT5Z9Ei39etcErVHbhLIWrehXev5kA/WvO6xsqWuoi\nhuGQ4km8OCehH9lS3krGmU2nPpOS+cf+2yJsDhg1Z+sMAN9ztkcLLZTVNqkC\nwRnghkh7R0pBBacyRHAbPHIieBOhn/+ZXAtMp2rblgMkOdIeSQ5C0RLobadi\nJh26wuyKJA5F5W6MEbYTs/tEfuaSmWhqg3BlgNnJOhTItCUilvOhn8KyqEK+\nKMD1L+UTfGJ2ZTBrKSglCIHFr0+AG7pgckpocMXf5xS2EWP1XboiNJ9IW36O\ncb/2I/L48RYS+6CU8FQntd9XpNIII2x1jvNcvaRMteH1tRxvoc3tqbcTQ7CE\nRjfNZVnF9jYtjrWVzQo6BaR3LME/yU4LM5ZlBkf4P5F9y2DbmTW3fYBJn26s\nLWCP\r\n=3GGX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgc8/RW/qP6JlCadWXLZzhXRz34Nm+OiRwZp7FZmgpAQIgef8HLI/0KCtgTGMOiyWzup/5AYPpwCNhbpwhlJifqcU="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.12_1583144088928_0.20718919759260945"},"_hasShrinkwrap":false},"0.8.13":{"name":"matrix-appservice-wechaty","version":"0.8.13","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"ec74dd66aafad9a5cb72045ecd763bcb084f0681","_id":"matrix-appservice-wechaty@0.8.13","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-VVmkz+0RLXefBA3tHIplRTHhfJd0rLGnqk+V0Md/b4uNsvTEqM7YRN6zTPSWJYlKRk5f900Zm0FfhogeCLTBRQ==","shasum":"92c19c25941f80d61d48afaeaea75afa6e4d0927","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.13.tgz","fileCount":136,"unpackedSize":451759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXQeGCRA9TVsSAnZWagAAFOMP/RPc9S/h27gpUYnEsFWB\ndThsW1qMnbPo81KtqdHtCmEIfl1ghGDnzqtSJ1j8eY5adHuSRnXwt8bKE81b\nY2s2onP043J/xWW48e89mdcEaviOPjDhIXSAqySS0rI2oENQhPNk4ApYEd7K\nukPmvQGINtA95GjB+I+wGwlXApejHryqRfDRWE+rFf6Hwx7W5jZ0NxQyuUDc\n9frAi8/ehofj3Fwb73SYAVwh03PvVNxM3IyrL0ozW/i9WwkGC6aUKBy6ru/K\nWQoFs9ovabcOiSdnSAX27GOnaX3AkVeszicq1EAO1dhBlWCLclZqTqy/bA9Y\npGknogiEA1EBM8YDbNWzf2qn8P+7WyV17x4VUJpmqaOwvFGVbjCdIPfHra1q\ni3K46T2jeu/0iz+f2S9JR0wwsDk/DtVIDyCPvDTaVOEEP3c9m9/WBAaAXrse\n4eICH5ECKUj+6L/SGUcYEtrSM5lMU3e68xe/Qgd/COZjrA6C7UNG+NaZhw09\nZhAVtqUcZfOVErdcYx9lT0P9VhFCSntEY6miNoTr5IhXly2496O7ofYXYkq/\nd71IgtQg+x+i55J9lxVGW9S8o4szgnuCrW7Q1DqVYXmzj3NUeDaygWnBz5Tg\ncDTld5sZLaqIYr6cvoZuZNHxgs0aY4bmlenri+nTh/wZWtwaFTmgOQkBNiDS\nNtsT\r\n=WgD3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnvlXAaIVDNH07Vh+rPpbedqapoeieGuaI1lJ0YhPK6AiADTdUYVVPMvvYgtHxfP+AUvU4V7jBnktbjKoHhCa95Vg=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.13_1583155078145_0.5978761046768357"},"_hasShrinkwrap":false},"0.8.14":{"name":"matrix-appservice-wechaty","version":"0.8.14","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"a0868837780a3e3dcaca3e59ce11d040e519561a","_id":"matrix-appservice-wechaty@0.8.14","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-6CWW6obcIFZ3YpcZ+0KHa0zCDLvXQGp/FCRUxt3Y+0asPNQt4sE9lfF0yZ0GfIqcJr6y4HUyEveXoS8/IYo34g==","shasum":"98e461f3b33072ce523892ac61d4fc4223f22e99","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.14.tgz","fileCount":136,"unpackedSize":451757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXQimCRA9TVsSAnZWagAAia4P/jrw9IJejMurRWIIqps0\nB8tGd2UVW2SvwIszDJsvu5iG29+l05xLJP6/GmJLt1B6grvV+UEJPtu2btlo\nAawfmtir1zCz9cMXquCPATQ3pkFuz8sKlpv8igJr8ZWUwTp4m8UPJls7oL6J\nq2XBMbgKHW0NZbhzilR2LmQIBx7N/iAp0ELAzcASomtqFc9FoOhEv13bLDpw\ntVRHsOJxaL2mJg76nEkiDBnWsz+UUtwVlCju2u+XsD0KZBe1AsD+yI2P5Zda\nNpas/58hgtJhe5YOmNilKigudZ3TE+nCHFpLhLaRF9gGy7fRZTfsHfkq2zKi\n9M5lQzPvSjlMxSbLMuws1zpOaiXg0qKhQk+KgOvt1YjLjDHJNctEDfO27wrj\nKMhxBWaRuk7oKeKDHNZvX0iYdvWhyEGq/T0LbR9mhPON9PmjPzztbpsB/pQL\nP3vGDMgTODXwPJWJr98M3IACHntZUxHHfj9VIp1pv/9yy+VX4invqG/TooYV\nAS9oFa+W+Ay2eb96uETxVb008UAnmzKBtZ+J4AN3bvlD6jc4grRRVcfT9nLV\nLs9tcO9YN/y3f+X7P/NRn7UP/JrBqnr8g8gI3i9ICTOpRZSIpskSmNAuIdaG\nhzWN1xIrRlKQqeCwAofrWo72X+yd85VUQoBMwjjxOA9OaowjkfvXvWZyf7Xp\nEZRs\r\n=0EAG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgPMNjb6jqjI8FIp1Dev+I0dbHF+LMsaFsjl+pgvSvGgIgZgRSfSO5VEV2fvXIiOQu9EFpz87TQ134roAttI9yu8w="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.14_1583155365965_0.2712775410207453"},"_hasShrinkwrap":false},"0.8.15":{"name":"matrix-appservice-wechaty","version":"0.8.15","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-js-sdk":"^5.0.0","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"5e0a043fcc639ccdb6f8eb68bafa00fe9964a3bf","_id":"matrix-appservice-wechaty@0.8.15","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-KXuZNBY/Iq5Ya93HnsugOJDZH8S3InFLUQa2tr4IjLlH9KYdvJ+Df6NcL6/aKKhYSyBfppQOtlJcdK+l7EEJ2w==","shasum":"4a4103a3e2f8d38e0c1bf4054ab4abf76acaa161","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.15.tgz","fileCount":136,"unpackedSize":452114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXQuzCRA9TVsSAnZWagAAYIkP/01LSy8YoKddP4yuW9zy\npeCZxQXkUwoEC/Z5jo0XiWuR2Z0x+nfZWhxGPkbbR4XM9iMxlqgItYy62ELd\n1SHzajkjdYesu3Z14ri7ra2jTGMJoyK0/Rb9o03jwyfdipDXYKr4j63tdq5M\nafQOOE6LDoE9K01BxoD1QAUXPQB3GCTBIEgPtq7dOEcHfGWH14oYk0qDstZf\ny392XX5OzEYNuoSrb1LsRbzHyEp+NDvmVLsl1ku3OT9K2qKaC7g5W2y7ljah\n0rOHSxsj6OXMqvhpsLCWeKdBkzgO7TG28wBNDm6WG5eGsvlJ9ty/9AoDeDyx\nYMSFTArulacvD8RxKmC+TlqykwWb78bLrDz+ZfZHaeISMBCjiJQ/Iar35SbE\nopcZv3QY2HgBsgi8uO34VpXFQeGGBRTdDzndJf9+4uVc8pJiHW78+GKRVhog\n+I8PdpvenmU6pk13A+eDH3TOURNRK0NKvvKZRWQL0SYnOEG8wgA3HJ2wEk4b\n0WhbyXCdERYSWLDCadXI/A2peag5hVWs3WbnufGm5cWrCaRz6g81Fkodk5VT\nexovmUNYNfinRuyf2oRhJldEuhMNfW7ePAaWApBx16XaEhh/CRmr0KMj1cE3\n6dmYBXcSin9IJtYGVlXUz4YYFqYqYksdLeUczpX5QFXC755gv0+r7F131KWf\n4Oh7\r\n=yxGu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICC2URFNpDrXynHsCCdwifL7onnN3NXpa15u1NjQpCVrAiEA8H/AESDC2a9hHeJ8KvK/GaUent9UKZoEYo+d5xc2fsM="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.15_1583156147371_0.13078377072540315"},"_hasShrinkwrap":false},"0.8.17":{"name":"matrix-appservice-wechaty","version":"0.8.17","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-appservice-bridge":"^1.11.1","@types/matrix-js-sdk":"^5.0.1","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"1bb7b6e8b1389e28881b8b500b6047c50f1aab9f","_id":"matrix-appservice-wechaty@0.8.17","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-OK90Mf71VXwPjlkrVWI1qVhCm4WxW7NHsLioOcHkTg87xCM/P21m6hml+XtXYdpccGywESTjTTLy8WAEo2ecVQ==","shasum":"816df39fc2f59c5a42b4d37687ed675063a78a3c","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.17.tgz","fileCount":135,"unpackedSize":432739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXlLzCRA9TVsSAnZWagAAy78P/1bH49/GSjVvARUwZvD8\nmc6bVFXzf+I0Erjbvw2CBK3trCA278Y/2pn4zw6V6aw4OimC8k83G0KLIc2u\nKJ5Y9k5Wukzq53QkZn8tAhk3dDKV+Is11ZJbGmIniD2EjMjqh4JHeVQoYK3X\nSRH1u0u1uHW5h9Qdt+ZxJ6D6TNbc155cYFehjbO8D1Ele1rpyVRn+Zi9QHC7\nmgNYmP0RCTj2dbr8V4lg9VkJ7las/sPBbpFWvj8On8QTnGhIcolEswE/9Mtu\nc696B4OAfm1w4C49Fx/b9baDT8lQjSHTL8pkj8kG8EgVAe07BRzm544ownXH\nS0syjI4Y+S21mWXnaB5sJFBNjRo4Aqp7m0SFp6oBpEW6kLacuKApvyLaXIKQ\nzpJAOBw4VL6Gr1wLQGeWmVei7ZDqNpACZkgQOiapQhUTA4DFKMyHEQmCpsJM\nOe+SiiPa5Mzznq/NcWi+aiJnnbr0JRdrN+fSSRdNX2gcXB5TyxyFkBOvcgwR\nVeKxhw7oierBJVSlg1rUT+A9FMyrrm4TjAq7tjFBxHU3bX9ELTIpikL919kG\nHl1TmJFPBcqUoUTUyD6NQUmwKLJ0pjzW0Jo3edy8gshaU2nKdt65rrRo/zIE\nGbmEmvaj/O907eNs16fes5tgZpTJ1yVpanAbYqRYuHEHlzrSWskhUHqF5MJ/\nq5C1\r\n=LLfx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENqXAXqZbzcok5UxnKB/WqCrs2WJopKfTRwVUDPR3FwAiBbyOnQ5l2sE3x6gOb2mO0N/F0if4J1ARrvG7+6XSPjOA=="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.17_1583239908549_0.1592859094531882"},"_hasShrinkwrap":false},"0.8.18":{"name":"matrix-appservice-wechaty","version":"0.8.18","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-appservice-bridge":"^1.11.1","@types/matrix-js-sdk":"^5.0.1","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"b6a7265fea424b65df8f52431abd3bc606e905d7","_id":"matrix-appservice-wechaty@0.8.18","_nodeVersion":"13.10.1","_npmVersion":"6.13.7","dist":{"integrity":"sha512-IhzkY4h74pU9cpYyaamWAb1Rcbc6j34lJIUmB+BJjTJ8Z7x9m/slX2HRUrc4fMjth/iN+4KPVAsDjKziFz1rww==","shasum":"5a4b1dd53b41d791e3de397b3615bf87b2f8dde3","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.18.tgz","fileCount":135,"unpackedSize":433432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYSL6CRA9TVsSAnZWagAAxNsQAIJrKgccs/HzYG1ZcvGs\nWKqDTaUJFDarwlolx0uP3jRo4H4OJ+j1LwSmh7PKc1FlUa0trw1nAfs6IjGp\nfVRjQ4UNA1bQ2Cp9W4xVeqGTga06z80Da8uUEOXRbbNqoV+btUGhbGVsloXR\nOkj4Ik5cllxzpABUBOLWd31S/lsNoBZW2SYxNnqRz1PoWVKPYgbewSZdJWxp\nQEk8TWGENSLQyjRMs9LiatT/ft4K5VxQHP3ZpaTtfCvmqWMhN43/QzoFQByG\nt2nOqasajH55DFVaOR4XITkwzLkOsRUtgk6jsYTw6wliXn7imOIw/pKG0kdf\nSoDnulJ6D9JXExVQ2s/d1D12KAVTo+LEibbIJHjzV6nzNcUPqtHPjxBjRmNO\n6v5NN0QqGGF7QqkryoIDeRBCjjdkG2D0FZdas0OWQKViKfwWzQyEcEVmH7i/\nyY4ztjI+hu3U1YSxemRpuqp+DcVrnyQ5ZWNXjifXQy1QsUY9WBY9teunuoXe\njzwyIDTIGO8r1yKuNSgDCDW1bLcDrhItgwF/pWc9R+P4nnEKqup1kAiAyjjt\nb+b3bOgvc3EBgorLHP6TXrW5V2s9FjwAn5wsjRHMmhwlV3gJfhdJ90g3qrXG\nfq1RgRGIBsciNaqw5W4mvc2SY2CoiKMsGFIx6RQuqXrsdblu+ZUZkXRnl1U5\nFUrK\r\n=sZFH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGPs5pDpgYe1qw8r/V6e749H38RmOqZtde/J7N3u7A52AiEAz+HRfulmH/6L20veS4By8ZNR1Jrms7g1c/+qCaSSPbs="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.18_1583424249648_0.9356812034169493"},"_hasShrinkwrap":false},"0.8.19":{"name":"matrix-appservice-wechaty","version":"0.8.19","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-appservice-bridge":"^1.11.1","@types/matrix-js-sdk":"^5.0.1","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"f3a2e1e0bb825fdbe50b3ce235d1a7833ffbd58f","_id":"matrix-appservice-wechaty@0.8.19","_nodeVersion":"13.10.1","_npmVersion":"6.13.7","dist":{"integrity":"sha512-PptwA1qU8wzBQxq8ZuyJCaM3e0R95fom2HQHPw4GvbPGkR44s+yEq4NHdXZhvPZCRAs9r/we2KqafYtd56aWcw==","shasum":"d2255f8b7c674b573666ad75cc7afcd28320443f","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.19.tgz","fileCount":135,"unpackedSize":286886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYmU9CRA9TVsSAnZWagAAcAIQAJkiMA/Pg2UYt6lqQk8B\nRX/OjgTrTj6mmovF87ZYi34nLDe72Vdm1qqDvlIFQU7SsiGVC3oGm5ydSipG\nycM0oaPHtnls/j3YxMLwfipw9TxYqAr84IyRni5ClysHXsgHMdzfXcZTnpr2\n4Y7qtXVftw1fF0cherb5uCamli822kWmFCDqyGmnLAN4aZ6DOLCj1T+BAS6h\nsmGVz3jRyv0mANJ78F4d+EqM8La8wqJlScPkDoQdOOexC5SaF9nNUyPKk/Zo\nxdFPN8ok8G1XClJtOPMtsMwofBZGQakle/9M9Kb8b1XZvONX4RDArXRVIoX6\nMC84F3BxP3R4kpw81vBEB6oylUUvYRDJzXuZRh9GW/D+zJkXpcDiFUGdMgif\nz7kMHeUXRg+e0nhCVCij/CJU+peWjBPzhiVGYXR69gnq2lvuL+88IBjVhFMP\nICXyp2JX4gSDrUgDPo8I1IZNx8JZWPitkppy52+lPNEYWjwFKypo8BhVvqAM\nb96KYLbKLnO70+hgSz/5ehtsDdO95/UMLhyTEVEpJHJlYmzR361ldyJSZAX2\nydX4oZGtaqXsQNj4/0sv/C+RBJuuRahj1H2ZlT2BipEk7n5nQ2cwi5VPAkrs\nanqvIfdpYO9ObEyheqgjuqCX7iRm/Cptz6+bF+WBRNpKAnqujcieNAMynuV+\nldXp\r\n=Pzjg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD17ghrDI+hwzohygizf8kPFZzgdEujXMb+hIj2VPAoJQIhAKiqtLHz/c6toqqYBDUq8QPBQMtD8rsBrOzSKwnPtbCk"}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.19_1583506749331_0.08899598057784242"},"_hasShrinkwrap":false},"0.8.20":{"name":"matrix-appservice-wechaty","version":"0.8.20","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^1.11.1","read-pkg-up":"^7.0.1","update-notifier":"^4.1.0","wechaty":"^0.32.2"},"devDependencies":{"@chatie/eslint-config":"^0.8.1","@chatie/git-scripts":"^0.2.5","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.8.0","@types/matrix-appservice-bridge":"^1.11.1","@types/matrix-js-sdk":"^5.0.1","@types/nedb":"^1.8.9","@types/update-notifier":"^4.1.0","nodemon":"^2.0.2","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.5.12"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"1e4a3ea9aa83e5a35b101487beee574e3c5fa5ea","_id":"matrix-appservice-wechaty@0.8.20","_nodeVersion":"13.10.1","_npmVersion":"6.13.7","dist":{"integrity":"sha512-q0Tz0LI7RzseUbAp12Xv/gJXPbrjsaP/bjVxFXt/5+jc7YNXNrX0hPC/RUq5FUJXpnPpTSz+htrJ00OdDTarCA==","shasum":"505c5f7ede53c2177765c47de95f8dc77e0aea66","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.20.tgz","fileCount":135,"unpackedSize":286926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYmWvCRA9TVsSAnZWagAAs5cQAJtCcF42/1yOMTq9NeyA\n04tNn0S/JwEXHcJp38P9du8cu3/w38chBLgLZ3jl5dWg2XE3/alDEfjtodVb\nTVWHe+rhgcq6HnUwBnVedyBHceWbHSC3sTMlj6h9Bp13i5oGFq7swyBMrFPg\nOqToJ0U4dKYeU+6y8EKFhTWtppIlkQw7Bj9zU3wLGZf1qtoBAs1zH5F25SgA\n8l/Mv8m/8rDaqF5wxIzKbHN0ODCzXzGcCnt9znEz4TkNsyvJePAT3sP7x0c3\nDR5xUD4ARmrHHQHy1Z4WozBnLQ+adOPujTBS4MrSbh+o1eaTXYEtOXEdqEyx\ny+vzYJ51aCBGRFcN+qphBB28n9VjAJgTftvc6Mgw+l/Y5rY0heVONcBvfXdJ\nmjnxjjbKNDWyVQj8OCgMin1bD+eYOqkZItKcStdoaVmfvqB2c++jKs6o03gK\nEiIGQNr6kx58sHFkKuJsqsUx4KQ4egzdc1PueYjjuvvtwTlT7OVjc+1uut21\nw2ylfxV7PpNL4jwN9PnMAn3dvldg7EvmzOf4fMt6XXg5Pm+qAPxeXdHPESfo\ntznrNzu9PGL2KelbGi7sJR5JHYf5+mw0KlcLvLlyeoELl79PnmWezfj2chzB\nCp3MSz6H9sITh35Tm2965tbpMpbvBLsNhy4L+jFg51oh7LY2Sfjy7k1Iiqjl\nNTM8\r\n=6EEL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9Xohklo05+qFhZIGzdbZ1IM0zfvkrAHchdCJ9mq2coAiEA5rAzAziMiMbz6GUiADFqpARnfaejgVsiZ4vonYVmkO8="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.20_1583506863313_0.8353827474331594"},"_hasShrinkwrap":false},"0.8.21":{"name":"matrix-appservice-wechaty","version":"0.8.21","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.2.0","read-pkg-up":"^7.0.1","update-notifier":"^5.0.0","wechaty":"^0.48.13"},"devDependencies":{"@chatie/eslint-config":"^0.12.1","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.10.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.5","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.6.6"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"6a069605be0bc07fd46adfef40e800bc6aff6376","_id":"matrix-appservice-wechaty@0.8.21","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-DS1Ge6NntSN5Mh2ClLoWOCmNfqZl8Ab2s3no+GWwSYjvqQ+hu+vWdchroEtdz54MO8fFNYXdeeCERa/6P9qUeA==","shasum":"823c00afd16dc93128b15001748fcb618b616f19","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.21.tgz","fileCount":140,"unpackedSize":291239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjoABCRA9TVsSAnZWagAAMy4P/inOCq71ROe9kC98iSTF\nQ0uAesN0Ce21maaFYbPml5MvQEJKuadXkT62Nw+HRZ8ICPDXI8oF8lortqKa\nGNpuddUtmMlV1fRhV1755lT8R3f60UKJ2FT2JyC8vsrpf0g+8F+SX5qX6sW5\nA4ybqHYodcbOo1srDEC5vLAPVJCRdYPHxHQlj5ysPAYrqvaIQycyB1b985GH\nL5f5UuvlpxIBM0J9DIA5txX43mc/jWw/Splb3zm5uhqsWo3I3dvtjWXTHLot\nHE+nkgVL01kqPDMBlBL8NNfsOy6PFB/XpDyDsk8CI7yYpFNhsyU0RwOHTzhu\nSvPC4rNHqo+Kiy/TLA6/gQZQEsGVeU/kBYE98D5iuFRZtGVr+JGSCGASoSnv\nx1VUp+f1rZw2i03ePqnMTFWZQSwYsfAPs3ZqVdyHO0qQI/4oa8Avq8LG5C/M\nqlPrcDvhUMT6O1hnIQVlFEpVRA1JA8tGo0GMn+QM9GaShV8zOu69xy9hRPHX\nfleJIT+G/V9WuUxDpdg6JQsKNRqA0wLaL6sVPuBkqHldWh9qfnjT/8cwOw7n\nlZkdE2YsGykgafmaKEXpYMiaY4OTWBEUhxqgpodJCh7k0O0t4bZ8wSPggb37\nmhNBr10by+YAnV077lIS8tktPsJxeuRmGBfOwcp9YGLg+eZ6iRZmiGMA76Wa\nvnzc\r\n=5Emh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV0GmOBHr2Ipc3f4SX7Bp2aaS8+MQvM001W1nizUrI/wIgLfzfLaLq2HitDfurXmm7YM/dz1vunAPstBHKST83jOM="}]},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.21_1603174400673_0.03513322762363735"},"_hasShrinkwrap":false},"0.8.22":{"name":"matrix-appservice-wechaty","version":"0.8.22","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.2.0","read-pkg-up":"^7.0.1","update-notifier":"^5.0.0","wechaty":"^0.50.5"},"devDependencies":{"@chatie/eslint-config":"^0.12.1","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.10.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.5","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.6.6"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"b3635908273be766128d1480a4a959368c67b6fb","_id":"matrix-appservice-wechaty@0.8.22","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-u46dTACWhoEwcgpIrkDo1PBm6FNI6QMsGvKs2oZ1/jBprJUGG0aGekprF0Z2vqI1kC0laxX2O1l59oCzqsW8Xw==","shasum":"266e203c543ebebdae45c3643824a58575bfeac3","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.22.tgz","fileCount":140,"unpackedSize":291238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftVdCCRA9TVsSAnZWagAAFi8P/2L77CR3yb/gjB/CHY2i\n8f6MBnzbW5Etqp+jFE2jX+97loYE8bUMZzEULNFFzCzX/CFKb/AkTxSa55OD\nbVjrILmbkcJt63xTgFtaRllr32dHqmpj8vgXqVB3wEkD9DQeIRt0zdDF7EEP\n/ywy0UTACHfpv4BAmaXYGdbS8NG9GU6b7WO6Dp9jjZ/PsrhBr6mmXxCt4Xn/\n9x1o0HrUAFUNAW3IThqdGmUFfPLZQ5XMNVQjxEYQPLmcV/cyLmBP3/BjBu7a\n/vPLz0RcMZNI6qQo+bGs8jkFPtP1j9jQPl957PcDHYhlx7XhKcD9TQr3EyKW\n69rULSyq0wO3+sDQeZlKi48zxgbTOm5LKysrHQosBfHnqVCj568MCRjzjcIc\nhbIsBOQXWxyKoQj5m7UIo0ckVLVBySuDXhKe+OREMwRZzLlQeEapViGvDFPD\nxO05u+92iRcnsmnoxWFQZO2L4Ag5YZnnRtqoOpZLfBJlnHaJcKjREMvL3MZz\nfM/irROt5u6qVN/KgcPbE/ljVIaoNC0ByNcHO6NwmnPhmN+V6RW79KkAXcVA\nc6+drJQDOew/i/plH+VnsnSQ3gJif9x7BlqCqtLgSEzW91RZdwqRPeexNXze\nP81e9iknCVHsYuFThGY5PRKc3Mi9q8OyKz2xfQVJ+/rQoU7gJ2EqCdj42I2q\n8pza\r\n=L2Jh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0HyWD3735tF5OQQI/v8FcOzBYkb75IH7uuX92R6i5mAiEA+Pfi3L5xAWavSejGZuOD9inp83Y/yb0arXOntkZKKHs="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.22_1605719873904_0.1932389520083817"},"_hasShrinkwrap":false},"0.8.23":{"name":"matrix-appservice-wechaty","version":"0.8.23","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.2.0","read-pkg-up":"^7.0.1","update-notifier":"^5.0.0","wechaty":"^0.50.5"},"devDependencies":{"@chatie/eslint-config":"^0.12.1","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.10.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.5","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.6.6"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"47c36cfd99f2231a0166b9ec6f975585ab2dbadd","_id":"matrix-appservice-wechaty@0.8.23","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-gjdxD7z/hUgaOfSHH8adJEBQz66OagLI53spMO9Q9nTn3hANFzLFfc45LrcGK3F0qPevxiC3OeeJsuUekjixLQ==","shasum":"f1c04b021661afb08f4c838a1034792d3ff0f68f","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.23.tgz","fileCount":140,"unpackedSize":291717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgF4IyCRA9TVsSAnZWagAAZ6QP/2FHyvclxTt4fdLstyhR\nqMBE94nQRYr/H6PzZQzH/RUZmlokCcG5OUaOi/DFqZ+fZvOhJC/40OXIOCXX\nFKftaVGmuhj8pwWBPSamc4lK6QY0CS8I9xTm2tlxxS6X3vqNQwTkCaXicH5j\nMiewOFiHEQRvQn/oMZzGErtDIF11DS3JeyZj+KG+vak0ukqszNUDSDXFco8L\nAItKnZDAFb8u3j2ITaX8NiPuOFyLkNzcwVoCoOBQ5FI8CxpKbOwU2SIf7VMX\n0OPo4Fj3UCuw4l0BMNms+LZMMVvi4YvZMQgQ2VpOcpizzLBQo5tgtwSEpOBH\no9IiCRFgUfe+20TtKTKIG4YK8UZEFKVngKkF5AREyS2FDQvd8rwRYuR9uQSr\nBQjMkPPHpWA+v8pET9370jgPmxOudQ3sDz+K3H9bGHCIQ6BNQvJGNolarjnl\nQXycaDLCiYMvXVIYjw3in7DZgmdK5wZ82h3zBJSExfNs5BTp1gt3my44aeu6\nmmU3Alr6b0KQ038jzdip5x9YjpwqlvjOB3diB3wyvncNSr9/mfBKYVYBCrji\n4NPKDS45g4CFHtHHqffpG96SPc8H6cHN7OaGp2qP9HzUnWq4Rwb4kEblapG5\n6OAJWyjEm5M7XvP/ZfJZAuXM5B12NRDjsXKX9DSvjg/y+GrqSeck/yTUrVx5\nrUFK\r\n=YJeL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRis/NuPFiBPZC0gyqiA8JBnSBjE+0Rjtflm2JhxqtpAiBu2tDGTJif+Ow6vy+tXs2GKfsJbCbtKAsXWqK0+jDcCg=="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.23_1612153394174_0.6859729661545286"},"_hasShrinkwrap":false},"0.8.24":{"name":"matrix-appservice-wechaty","version":"0.8.24","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.2.0","read-pkg-up":"^7.0.1","update-notifier":"^5.0.0","wechaty":"^0.56.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.1","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.10.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.5","pkg-jq":"^0.2.4","qrcode-terminal":"^0.12.0","shx":"^0.3.2","sloc":"^0.2.1","tstest":"^0.4.10","wechaty-puppet-padplus":"^0.6.6"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"33a48720cb504247752373f47d803c07d8e74a02","_id":"matrix-appservice-wechaty@0.8.24","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-3hL0HQvGw+xBH72fMWDaoZrGy64zUH4nzQIAERluaL0Lbri5ZIcwibTKRpNDsKhl2wI+G/QVYsmTzcglnQ9Mmg==","shasum":"1b8ac3e1f68b50028cf794e3e534ccc1766e71a5","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.24.tgz","fileCount":140,"unpackedSize":291717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgF4sICRA9TVsSAnZWagAAimsQAIirrTRhL2CIESASRzwh\nrz5s4TbCYb4/oIHcCpwEdBI8/s36aJaPHuxRemRkTI3snqELzM1iVL0yXGgZ\nKFIkd6EIL5LrbjHbzzeMVmbUhjJcA+zEpnoHs5IBS7xnyxiSk7HIWB60CDsD\nLOreLNL2yyley40jNwgi7QPIT3PplNCeOuRPLovElvz8IIyhR13Bq8aVcWYt\n1PyO1KAdQz0Fm7IbGQE69TLn5BNNoBtycfLPFwqSYIRLM44U61HZ3SA8yyIg\n+fEuQJg1c8AP7U42sbBLZiyBwGwP+C8jQZ2JCBqoxgTJYSyY1+xDfhekp28K\n0vrI4GOiW8a/+NAVAhCvA3+lPdsJ4NCaXXguMgLh+6al7ponTPiaAYnlerNI\nhAs0D0dpCRiLofCgmyCRkbILkShjUZ7Z64Xh/85rapDEFIsZHzxoBydMv8Iv\n5urpd+z3646xkhz/SrhLVm9NgDK6DWFJp09DEwTycXB+rnjXRI9+QtgGtkzB\nnJ3Fv+RAtpB7a8JHk2mBfLwFxenzeESMMRX1ftqg2QYlr//uy6zaBEAxbLGm\nuchhcHpPXvoItInHm0F8vqM/kzFqHW1H1fIZ3vStQ/af3Zb3+I0fgDd3+nDF\nDB3MsQZAjwE88bAdO1LQsBhDSmh9EgeYEAFwvSVrLIWwFOhp8Pn6ilfDCOLL\njWBC\r\n=bdFX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSNxVmOjzy8yGdfEeOFzunsjWrgYIBCwEzH6/GVHYjcgIgYeft4gEAl2PbVoTw7jFlYvOx2nIEo1v+EujcerxDr5A="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.24_1612155655751_0.011586075151759356"},"_hasShrinkwrap":false},"0.8.25":{"name":"matrix-appservice-wechaty","version":"0.8.25","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.4.1","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.56.6"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.14.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"9b2b0da06d06da5a4b5e0b978ca58985ab2c3cbd","_id":"matrix-appservice-wechaty@0.8.25","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-EJc5fTiCTViKR+AT7IWYwC0lhiFe8Z3NQCYfXMRMrvle0OK0S6R6JPJmTJV2DIxJEVsi6Iy4Ua6Jp3p6hGrx5w==","shasum":"0858481c7f1a03a166ea365f03276778a274c46c","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.25.tgz","fileCount":140,"unpackedSize":275854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGn+2CRA9TVsSAnZWagAArNAP/3h8aMdqHPJ6crCaymEw\nM9HBO02MthPMqdfmOq//3iFrpmN/nqu01/yU8Np1g3CuQH5M5WB4qiSLu1dL\nKKTTVlD5/rD8J3oM8XjAWJ1eoMiFmATFDdO0zWY5zgVwvWodgXz1eBHMwGE/\nTIZN1huweVzknwlkLMo4NAxob8UhmgLHOR65T17ijq9ouM6dFNi/yb5lpzpu\n65VIBmxag0VLwykCNLS5W0dUuGeJLbxghqbyF0lHkEybLso6GoSnYLEoipxB\nGDj1nYQWio5BWmi9tLAQvg4Y4vjfxS7tz/cFgsJAfLrAmfuaZP3yQJ1BIznH\nemUPAAQLnmr3t0/8jVNCLvD3/+ziBTngpDHaioJYN9AJYQevX8wh2BdQIi8/\nmHyU4OuUWfTTlWFnJorVNp5RLbMKDc+yOZgPtrEcDOfePfhfpwH+NSAAH5XG\n7CLinh+TyMIQnaXe6ygKxvine0AhL/zRJ3gE5PFvN1HHsEk0hiKORgGPcZ5d\ngPlUc90ENAAYG/YVBHtNpf4fnw4TUUDpL8CrmEaYVGQEP8KfPZQOixuTLeT8\nwDEq+UNxoumig0yfb/o2CGrlMa65GS7qRMnYT7gRqFRhKV8iOoPnzsS8l3Cp\nXf2laMdWQFzvIeH6n2g3byFJuIs8wdpa1aeiLSFUFRH1unw0tMReu6Nw6Sp7\n69oR\r\n=Mm2G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHn8lZA6FJGiI4PT4qv5oTLGVheheSWw74OfGOQeZvpQAiAeE26CP7Pnof+3M5TZTY+lurNlLDnlrw1x/0dimLwkSA=="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.25_1612349365542_0.45032271060918716"},"_hasShrinkwrap":false},"0.8.26":{"name":"matrix-appservice-wechaty","version":"0.8.26","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.4.1","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.56.6"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.14.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"0aa76f6f2d7d46a9756718326f4563184d07b930","_id":"matrix-appservice-wechaty@0.8.26","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"integrity":"sha512-v9279iIUDgZWJ+dgnqAW1HoixfSoydI39pESgjo5BI9j2xuftaQ1AxqUu8vOfC0gAes5A3QftFfxhD7u4pEwoQ==","shasum":"84230fc87232e20c1c7c3cab81515fa541d20dd2","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.26.tgz","fileCount":140,"unpackedSize":276078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGoN+CRA9TVsSAnZWagAAUJUP/RwXFOXdGB0PBZaK9XTf\na49wH7JE7cR8GJLjhwz9U7bDlIzYmfMB3tQAk9D5h5kdlVK6d/u6TXr4K5g/\n8thNTAHP1uLjigZvbLu2ZVFba0l5eLUMTj7zS3tZRI8FRFDAGeMtjB2ytvMB\nYWFdt8vRfptgSd8+f1F/m/UZxS4w4NcDO+mZ1WW/FJLwxRRy35k3Ejc0k+bF\nr20I+1bcGHq5Ru7rg05Ys1m6sk8CZ2DOucwjx7nzoI90nQFpBeEkysk39Omq\ncODMyc+O3YIZsAfM0Rjsqdu2WtsGuu6Q5T+EUvCHbvbFo705vfGTJQCO4NuP\nZokBde2SHpDrTmInkCrTPYSJAUPGHOpF6B/W73ZP9NUKyOup9pA5CAHBIRIN\n+D5tgrs184i+Fbq+xfO5yzrXq/T4OHZ0pZbm3Sdxm/1OfyUWNVDlJVL42Ef/\n0Szk+hHXcjtOW3/Q4UXgGOjvpLQKeLOtM1kYH6CLqWtfMlwLFkQdYLzelhZI\nDiEDPPKjOI+tBZzBBHEgXYCsFQibGHNZlZ9GRyv6IRnOW6piMsAT1tTFARGj\nFm3YnKpNsnNQU8BABlaixZNK4B2/W/9JH8UnlEnhf8yQHjnpS8lE2y8Oaf6R\nJlsr9UcFLiJrkhaP9qS9aZ9eonz6otTQFY9zuw5Pa+jBsZhyXUduKaDZdnmx\nUN48\r\n=8CvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDROG76UQ57GY20UY/7XUBFM3+9fqwuQIocbubNJKSv+gIgO1cGWRYmifZ4dfzaEeZKsadwTDvSN3aq/TAWgQHVfAs="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.26_1612350333492_0.9904292536199393"},"_hasShrinkwrap":false},"0.8.27":{"name":"matrix-appservice-wechaty","version":"0.8.27","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.4.1","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.56.6"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.14.1","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"9b77ad9775ed0961c42e910388b91deb94891865","_id":"matrix-appservice-wechaty@0.8.27","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"integrity":"sha512-wPZiJXgEw6S7WDXbUewKFl6OaoN9f872A4XK1HgrvrCuJWDJO0US6aw6zxdk2UiC3cziLl5oUYO2HHFNBT48LQ==","shasum":"c88d683874c8c946eb4eebfdfc5b1286baaa8b6e","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.27.tgz","fileCount":140,"unpackedSize":276102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGosKCRA9TVsSAnZWagAAqeoP/2c70n7FgG0Y9MsSLzBq\nGS5Ua1j5GD4UOZ043HLwAMw5Xfen1+OZpEkZuzC+sjDQA4CGotGLEPftTBI0\nM2Et8gPnuBqjEueT+SIq9pfwr+6KR10SKIy55k0LN8ksLpxUjGhGfafVpDRj\nzgWpg0d1P4m8YbEzr0eVzfEBpvgtHWuLNKGvlq/ltynvrcsgx6nMOTQ9s/x0\nzZbt7fAKkzjsn1mDNKpN3hRhKAdqnjdulXvunsnfdmSqKWz0ZvnsAgTjodDX\n5mwSxJeW2gqNfA/p8FNFsM99p8HG1UvsqA33U1Gqu5e90fHXA3Sz7LzC1yc1\nnmm/mQ2y053gLqFvrZctoHANYlRirjAX9o2SeeAZeLcchmDVdfafn9cY7nIX\nIcASAMH4zHiNr6uEMhY6ElPBNuHJjOLzpKunEKUFu3AB2nEx1jW3Z+fD+8/a\nzl6OwPFn7I8t3+NVXECT09UikoyZ5R5ly3dxaw3prriM0uXOSmoQy5D9/Fes\nlSKEh0el4pT7CEM3GXaoRRA81M2jciLwKHqq5SeWt2XRDAI4xe8cvI77Axr0\nMDmWQXVgSZDfFyjqEE05q416x1jp2P1Do7rBCZap+8Cx2Afs0Os8ogDpTf5A\nNcCIOuMNeqR2Zp+N5cDSiNawokLZ+8noNQ0rUnNkHgixrvvzmnG4OhzLCzSZ\n+tq1\r\n=+aE8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEW7cMxJkNqSNyFOdPE+K+YB2+Hu4VBWqeZZXAdixg4DAiEAiZWF3Nn+Osl/2myxk83Gc6WBMrPED2f628osIFuhoLM="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.27_1612352265434_0.8972979703237387"},"_hasShrinkwrap":false},"0.8.28":{"name":"matrix-appservice-wechaty","version":"0.8.28","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","matrix-appservice-bridge":"^2.4.1","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.2"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"64a145f24c56a155c1391cce9cbe57076cc14848","_id":"matrix-appservice-wechaty@0.8.28","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-EysLDgUv2opal6PI5dCRjm28Zt0HSEVRqgiY9XTNi4wS6PIG/FPgS8myMqQgB39A8zMS1vofqTQKx0TRvsOXZA==","shasum":"7bfc799cb0bbacd07d9cf9cee29d65b7762258a9","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.28.tgz","fileCount":141,"unpackedSize":276361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwLIuCRA9TVsSAnZWagAAFRwP/R0TvA2E40Erjn2muu6B\n2Y3xCLvr/NojN3+3sZg2yBRuUOwTq4TEmBABbIeF+mHKsriaS7fX9SQHDTGz\nWkFxHF2bdSCsT7hHBzKwgiPI5mTqZHOc3HK7vwZ/E9f+QM/Rv0Z/bBn3B/63\nveGSAX/MZrV9/5K/3usUsNYvjhfHaDlHCbUJC3LzslLsDthDcmRIkItlfAAI\nFxI4CtRMCdfdVyIPYzCgAMxEzC1A+h7pEeO72sUF8OaY8i+CQ0RPP1xh/B0b\nRgRJ4jGKmegyeYnEYOAtY13UsJXrC/UeL0bSYXgZVL0sOwASbsAfoagKxrUx\n/hkkmjocrFwTNcdfwtm6fAFBxZWAoQ3n8AtvRm063c5adLRwO+fuKqIIBxdc\nP4w/MQG1APw55xn458mRo1EEU4KE3WgLd0HiJz36Pcl99aztNH+y9NQLeWoG\nU3fgS4anfkFSs7sSnKZeBuI1gGjs0x231wZUMSP0QydUXL3j3vNn/sAejspA\nxXzlWC7OLrynx6dITgjf892Uvvn4crfXUt792KMckLFoqppTTudAfED1TzEy\ntzehVEZpzfEoZqOMXBRhWUcP4phwkKfKLn+PVfIvWzPjWtzC2xkAjI/wdzE8\n68r8jl1jhlycpoHHlDm3wGUFndEc6E8kBHCadagWlyfsRh/wLat8SQGAJ8h7\n2IPa\r\n=0R90\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ3idvkiEdirlS7IgdB7tBI0pr+cQIMSvQ6f1/WurE8gIgPwlNnHnpZ0aIGyM34cqVsx7TZxQ0WFcsN9RfzdflU78="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.28_1623241262335_0.2168652326644116"},"_hasShrinkwrap":false},"0.8.30":{"name":"matrix-appservice-wechaty","version":"0.8.30","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"0bc2cb520695d99145d69972bbd9c46fcd24ce1f","_id":"matrix-appservice-wechaty@0.8.30","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-88cJPwrVj56UkjKZDNckgU9yfD7xCtfTR98InSKAPYe7LvcnNTbLPRNj+RTi9CRWqw5XiJ40h8FsFQFNZerQYA==","shasum":"5d55db5b0596dde4e95b0632627abf462e3d12d5","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.30.tgz","fileCount":141,"unpackedSize":281391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+coKCRA9TVsSAnZWagAA3VMQAI0CTECVBozESbM3uMlh\nhMRItE7FMOjMJmAYi+CdEnD/JIg6Fqm0QUD00ezpyRzdujC5vOk3a/dDLJbY\nmT9uQ2FSMhP7ZFMPAvpi5wqriNgHqgNg2khdstNA7E2SY/J7pg/AE3dRSexW\nYPYeuXSE2qw+pR7kJ5GVp4s/CTiEXgAs3tctMYSMN7zWKXzBQvL/c8ig1F6M\nKhUuBROo/DLT9BZuERwxfEXMp5Gf1MClNgPubR+c98enlrnfXnbP4yF7x7Z8\ni7iMjw5FD1J6/kGWWYpC3hagRvxtkDotjd/OOllQGGDF2Dg9gvfjHuYP7KY6\nfBwN2U9rLsTGi84CnHq/57F4G2vi8tOiVh6pmZP6hju8zRfmEEP1NzM6qPBi\nSDEVvlscXHBsx7ZO4G4Jvfy4PDiGI4alYE1Dlv21BG/28OBIXlXNFGtkcEZg\n1tTCpybBKh5VsbvmFz0GcGoX5XwFAkYNLsCPYASpBJuCdWJQDVgqzRD5wpui\nXH825+qpXcszROPVd0J30mnuaSOIioe2hyGrs1qZPvsiKpBRltBhK1miHIOI\nHypxBXTa6yf3AiVhuY5tV9GyP79JQK6uDV8JnE0rSiyZm3+O8PYmoEl9tFw+\nJLeKrXwtXZdlrpDOta+wcoTHJHwgr/Spsg8e0k9Qa1ct+62ITuIYkjtKNa1t\nbBxF\r\n=KJuv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrreFz+aaH4bczIwDn12oLpaZiAwBy8O1k/9EiFtQYzQIgGdN5x7rvFJEpXSdKadCHoU0ulap7mvGMfwGGwPR2Gag="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.30_1626982922723_0.3446058490745163"},"_hasShrinkwrap":false},"0.8.32":{"name":"matrix-appservice-wechaty","version":"0.8.32","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"latest"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"gitHead":"05cf61646f3394c90d7e70fcd052ea798d83c0d2","_id":"matrix-appservice-wechaty@0.8.32","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-1MD7ReT4oHb2tqWruzSIeOBekqfscr1Uy1KTERff5zzas3TbuXqP9W0ODyBv0YJ+KuX1LR2M6/ukA1VRVPXTtA==","shasum":"3455ca102a0bbb5ef2b41c4e87e251a244d0e27e","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.8.32.tgz","fileCount":141,"unpackedSize":290490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2y2iCRA9TVsSAnZWagAABswP/3eux5Bbp58lpTKCkBY1\nTcgtQf5gMnSJHHoe4ovKT8HbZ9vkHd+DMC/FemTiimLoI/iZAeKb30Gb/fW8\ntynDZXXY11VVvrWqiSeK4VFZEJ+2d36E/tf5iPqVBdkup/pTybAnxDogufYt\nbFEpYQcm83vpzrmj0Wh6zlGz7CKGqPurNj8T+/eOUb+sG8y3l+MjEJezm18N\nsNvTYF1+M7AkcY6RAYetTb8vIWcG00eKy/lcOhDbyXoDcM7tYmgQr4hWhMFr\noTv/3VLO/cl24poNhwU21SChC6MJWU/5MwjOC/0Ogliu3Mn/mb4oCtD6p/wj\niESF7WMglnzK8NEcEwD50XNFpuxB4IxipQDV3QKEk/+GK+JAYDkRo9wO//HD\n3zR7HmoWhhSJOalmVw6dq+2Xf0b/TMIEEALtAUH44e13obnb220w5f8I/LvN\n6aGb5OhlfSCeWjhI2ZixYExnpBUY7iCaPBi/e/414B9hrgsy1cmHdaWjNDsP\nDscz5NYeoNZVcD2XWqx4zXjcs887DaAGdtZmMS9FzJRnkHpmdOjKO+hJb08O\ndIKbeV63w3XCEXUlIU15WMm/92vOuVq0//NN9exa8Ht5eu4hpgV201HoLOxE\ngnOloimR7uX6tnZHnuDh+ZuuAjvIxNsjcJNZJrzM6tYVovTLw57pPcJC3hAT\n/r9k\r\n=57ob\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMQ9D/xpvhUU8Qj490UhKeT8j1rfvEPy1aB/hYCMaO5QIga0bx842b9sCmC3cwRNM6wT8gghdcM9KAkw/htX2sUjo="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.8.32_1627448898197_0.8144314366521388"},"_hasShrinkwrap":false},"0.9.0":{"name":"matrix-appservice-wechaty","version":"0.9.0","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](docs/images/matrix-wechaty-1280x720.png)\n> Image credit: [Gnosis](https://blog.gnosis.pm/we-are-moving-our-open-gnosis-community-chat-to-matrix-542e9017499)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/chatie/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/chatie/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\nThe [Matrix] client [Riot](https://riot.im/app/) is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n## What is `matrix-appservice-wechaty`\n\n`matrix-appservice-wechaty` is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.\n\nIt has been officially listed at [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty).\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n## Features\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n1. Node.js wit NPM, or Docker\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/chatie/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVICE_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVICE_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVICE_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"/data/wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\nFor docker users:\n\n```sh\nexport SYNAPSE_CONTAINER_ID=$(docker ps | grep synapse | awk '{print $1}')\ndocker restart $SYNAPSE_CONTAINER_ID\n```\n\nOr if you are not using docker:\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: [Wechaty](https://github.com/wechaty/wechaty) is a very powerful framework that supporting Web, iPad, Win32, Mac, iOS protocols of WeChat. Learn more about WeChaty protocols at our [Wechaty Puppet Directory](https://github.com/wechaty/wechaty-puppet/wiki/Directory), and you can apply for a token for using [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus) at our [Support Developers Program](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: https://matrix.chatie.io\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"--config\", \"/data/config.yaml\", \"--file\", \"/data/wechaty-registration.yaml\", \"--port\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `!login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `!logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.9 Aug 1, 2021\n\nFinished [Display user's nickname and avatar in group #66](https://github.com/wechaty/matrix-appservice-wechaty/issues/66) and [Support image and file messages #86](https://github.com/wechaty/matrix-appservice-wechaty/issues/86).\n\n1. Support the display of the nickname and name of the contact.\n1. Support image and file messages.\n1. [fix a deprecated function warning](https://github.com/wechaty/matrix-appservice-wechaty/pull/82/commits/88b1d64cf53018a537397defd596f55447e9080a).\n1. [avoid inviting your own wechaty acount to matrix room](https://github.com/wechaty/matrix-appservice-wechaty/pull/83/commits/ad3aebed0de4bb129f7c43523225c3065d321526).\n\n### v0.8 Mar 1, 2020\n\nFinished  [#13](https://github.com/Chatie/matrix-appservice-wechaty/issues/13): [TypeScript] Add typing system to `matrix-js-sdk` and `matrix-appservice-bridge`.\n\n1. Code Refactoring\n1. Add `!login`, `!logout` command with help message\n1. Tested with iPad API([wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus))\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and iPad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nI accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n> &mdash; Credit: [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer)\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) Tencent TVP of Chatbot, <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019-now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"42d8f75f2604c776dbcdb1e01965eda71f9a563d","_id":"matrix-appservice-wechaty@0.9.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-2qhJZpumTcUnELOCJc401LI7Y5NaOaE4t7xBAvNrrB0jBLSwzlgd12ejk5Jy4HEMI90GmLVusg2FQ9tlMMfnYw==","shasum":"c7d153e5a2900f92c726dcb884e5b83a1b3d0e8f","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.9.0.tgz","fileCount":141,"unpackedSize":291161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBCPKCRA9TVsSAnZWagAAJ58P+QFMZ4uY6Z1LXkfv1f4o\npIvf3Q50nJ5vYbsjKREVDjMj2sx6eqUSei70wOwB8y0oeqlVyHFjz8r2XHOQ\n6mGOmYNTfpG9/qvGREKzrOyjuFVRDv9l5oWxmV6WuitqjC49A2k+ktxXUM6Q\nQp/y9dNLN5B5Mg/n8gNNG4Ttg/FB6FgJt149Jxfhi3wFuJZ6uLXtbd8N3d4a\nro76e6Mxoq4oPwLSEe7OZssBg2xGG5qIgqVKi8yky2BezQ/Z0IGe5AZ/0EDN\n92Pt11r/+vevmINokDxkjXXe5ICIdLbUA+PjNYNQ6VBGBvSoMOibp/IZ0aP/\n18n2dLhWi9zNhLxjZilToSnVT0n+Edmfye4OiwbQX9TtSFs6oLTIfNSaVAGz\nzA1qAtEViLs/V+RNoTB0eyAkBHBJ87nC+hN9fd7srpa8SfHotKttcPYOeSCb\nR+qbQqDg25BbadZRmiJu6RnMYBGSa/9DP9D52TLlqtWdcEk4XHU7xeHdUE7q\nZlzz4o2M0hpuWsS8LCHe8YzI83Vn9NP0GhPv7t9/l9Sakjv3pXo+5e1w2HX/\n31tedDMq9P9vW2o//S4BxviDtu2lT1SQmp/LzZliwlG4YpksqGrNOICGQ3xr\nuDt45e3BYSbfnBlUC0e9JQ9Vppc1lSxDk2kJ4VShx0iztgFw0cqWNpP2Rhuq\ntCoR\r\n=SesN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+2f+LJWalm1gI3yDa/fDN249Y9sEhUR9rljdadXiHPAiEA9DNG7rG2KvzhVOcF2Udx2sFtOXfGSjv6KYua1ep8jPY="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.9.0_1627661257978_0.6160770849641213"},"_hasShrinkwrap":false},"0.9.1":{"name":"matrix-appservice-wechaty","version":"0.9.1","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](docs/images/matrix-wechaty-1280x720.png)\n> Image credit: [Gnosis](https://blog.gnosis.pm/we-are-moving-our-open-gnosis-community-chat-to-matrix-542e9017499)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/chatie/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/chatie/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\nThe [Matrix] client [Riot](https://riot.im/app/) is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n## What is `matrix-appservice-wechaty`\n\n`matrix-appservice-wechaty` is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.\n\nIt has been officially listed at [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty).\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n## Features\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n1. Node.js wit NPM, or Docker\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/chatie/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVICE_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVICE_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVICE_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"/data/wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\nFor docker users:\n\n```sh\nexport SYNAPSE_CONTAINER_ID=$(docker ps | grep synapse | awk '{print $1}')\ndocker restart $SYNAPSE_CONTAINER_ID\n```\n\nOr if you are not using docker:\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: [Wechaty](https://github.com/wechaty/wechaty) is a very powerful framework that supporting Web, iPad, Win32, Mac, iOS protocols of WeChat. Learn more about WeChaty protocols at our [Wechaty Puppet Directory](https://github.com/wechaty/wechaty-puppet/wiki/Directory), and you can apply for a token for using [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus) at our [Support Developers Program](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: https://matrix.chatie.io\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"--config\", \"/data/config.yaml\", \"--file\", \"/data/wechaty-registration.yaml\", \"--port\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `!login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `!logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.9 Aug 1, 2021\n\nFinished [Display user's nickname and avatar in group #66](https://github.com/wechaty/matrix-appservice-wechaty/issues/66) and [Support image and file messages #86](https://github.com/wechaty/matrix-appservice-wechaty/issues/86).\n\n1. Support the display of the nickname and name of the contact.\n1. Support image and file messages.\n1. [fix a deprecated function warning](https://github.com/wechaty/matrix-appservice-wechaty/pull/82/commits/88b1d64cf53018a537397defd596f55447e9080a).\n1. [avoid inviting your own wechaty acount to matrix room](https://github.com/wechaty/matrix-appservice-wechaty/pull/83/commits/ad3aebed0de4bb129f7c43523225c3065d321526).\n\n### v0.8 Mar 1, 2020\n\nFinished  [#13](https://github.com/Chatie/matrix-appservice-wechaty/issues/13): [TypeScript] Add typing system to `matrix-js-sdk` and `matrix-appservice-bridge`.\n\n1. Code Refactoring\n1. Add `!login`, `!logout` command with help message\n1. Tested with iPad API([wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus))\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and iPad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nI accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n> &mdash; Credit: [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer)\n\n## Thanks\n\nWechaty community has setup the Matrix service([#94](https://github.com/wechaty/matrix-appservice-wechaty/issues/94)) which the server is sponsored by [@ericmigi](https://github.com/ericmigi), who is the founder of [Beeper](https://www.beeper.com), [Partner of Y Combinator](https://blog.ycombinator.com/author/eric-migicovsky/). He founded Pebble Technology (YC W11), which was acquired by Fitbit in 2016.\n\nLearn more about Beeper from [Beeper Brings iMessage to Android - No more green bubbles, LG's exit, Android 12, Oneplus and Oppo](https://www.youtube.com/watch?v=eyHqRVTvDw8)\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) Tencent TVP of Chatbot, <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019-now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"1a1354f54b13afb0dafbb1d1a02623d9e1edc2eb","_id":"matrix-appservice-wechaty@0.9.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-3z9st1otXQmNfQ1bgxBelQTis5mbdcsWM1t6/iAq/HDKwyed5O8NitVBc3yE4dk1hHK12lkzr3oRfVU7WY9Mag==","shasum":"65a5243c38d4942d33089a3aa4121f578e63a03a","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.9.1.tgz","fileCount":141,"unpackedSize":291756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCjreCRA9TVsSAnZWagAAqVsQAIhRykNZ6yuV0glhbmlI\nAI74vdKvld/bbWy/8nL28gBV2BunFM7BiKCYEaaZumyyhNxaSXevjEMa/Q26\n/bh2oD+xVuN1PkwuI+jC3q5mKF7sYpM867JMvhZ0WZKp4Ff6c6i5ISPQvAle\njzJ7rHJGT5Lears+ghjcq/dHUCp3uyH5ijqrCh3lVTBkMedyiOhO6Q9rvt8Q\n2c++J4tDgj233xg8fKa+rcfwSU0PYLthBpyrzJibNEf9bQsdEK2YWbAUzqlO\ngT9j3poRQOdGbjTsXG8xN+FKvzoMjmZTiJHvIoIZTLgMJHJ2/2rCSzJnaXom\nzR9c7JKzH2GtQkbNxXQadbGabaW051wzQ3ypL6VU+P+XsU9+AN2vH40OEPuu\nxYKXJIoKnlK6DtwUwTGszUMUkOQOHnQbcrpuUJDtKlDp4fTow/alIzPzBAWe\n8kvSgFc4SV8nJtmY6/vM2Y4eaPd72QJv16EaAqlvQLQiKBlEjZaDM3uOl1os\nDY7Lo+xO8rTeTxKWbyfhnOL5kWpfRNxr2I6g+LmroIQIxhkXdSLNkQV/mhik\npZzTk2J4YMTroCBCDIiRQHex/E8op0dI5EGvi3dD275KvlqSpaMJIgLF0UL5\nPwrcfnOvdzYfc3BeGQ8Gwd7aCi8jKOb1/ZRz2kMBJk2YodSAxPxjvjb6gSpm\n1YdP\r\n=DdxP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3nt8SJfZa/Y85wCDqquLu3szff5so/pXuOkZhG6+V0QIgFyLe8OzoOW9BoLxsY4tml7sZo14R2IU9+Fz05aorWeg="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.9.1_1628060382717_0.35343092058003944"},"_hasShrinkwrap":false},"0.9.2":{"name":"matrix-appservice-wechaty","version":"0.9.2","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](docs/images/matrix-wechaty-1280x720.png)\n> Image credit: [Gnosis](https://blog.gnosis.pm/we-are-moving-our-open-gnosis-community-chat-to-matrix-542e9017499)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/chatie/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/chatie/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\nThe [Matrix] client [Riot](https://riot.im/app/) is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n## What is `matrix-appservice-wechaty`\n\n`matrix-appservice-wechaty` is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.\n\nIt has been officially listed at [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty).\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n## Features\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n1. Node.js wit NPM, or Docker\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/chatie/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVICE_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVICE_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVICE_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"/data/wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\nFor docker users:\n\n```sh\nexport SYNAPSE_CONTAINER_ID=$(docker ps | grep synapse | awk '{print $1}')\ndocker restart $SYNAPSE_CONTAINER_ID\n```\n\nOr if you are not using docker:\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: [Wechaty](https://github.com/wechaty/wechaty) is a very powerful framework that supporting Web, iPad, Win32, Mac, iOS protocols of WeChat. Learn more about WeChaty protocols at our [Wechaty Puppet Directory](https://github.com/wechaty/wechaty-puppet/wiki/Directory), and you can apply for a token for using [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus) at our [Support Developers Program](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: https://matrix.chatie.io\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"--config\", \"/data/config.yaml\", \"--file\", \"/data/wechaty-registration.yaml\", \"--port\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `!login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `!logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.9 Aug 1, 2021\n\nFinished [Display user's nickname and avatar in group #66](https://github.com/wechaty/matrix-appservice-wechaty/issues/66) and [Support image and file messages #86](https://github.com/wechaty/matrix-appservice-wechaty/issues/86).\n\n1. Support the display of the nickname and name of the contact.\n1. Support image and file messages.\n1. [fix a deprecated function warning](https://github.com/wechaty/matrix-appservice-wechaty/pull/82/commits/88b1d64cf53018a537397defd596f55447e9080a).\n1. [avoid inviting your own wechaty acount to matrix room](https://github.com/wechaty/matrix-appservice-wechaty/pull/83/commits/ad3aebed0de4bb129f7c43523225c3065d321526).\n\n### v0.8 Mar 1, 2020\n\nFinished  [#13](https://github.com/Chatie/matrix-appservice-wechaty/issues/13): [TypeScript] Add typing system to `matrix-js-sdk` and `matrix-appservice-bridge`.\n\n1. Code Refactoring\n1. Add `!login`, `!logout` command with help message\n1. Tested with iPad API([wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus))\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and iPad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nI accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n> &mdash; Credit: [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer)\n\n## Special Thanks\n\nWechaty community has setup the Matrix service([#94](https://github.com/wechaty/matrix-appservice-wechaty/issues/94)) which the server is sponsored by [@ericmigi](https://github.com/ericmigi), who is the founder of [Beeper](https://www.beeper.com), [Partner of Y Combinator](https://blog.ycombinator.com/author/eric-migicovsky/). He founded Pebble Technology (YC W11), which was acquired by Fitbit in 2016.\n\nLearn more about Beeper from [Beeper Brings iMessage to Android - No more green bubbles, LG's exit, Android 12, Oneplus and Oppo](https://www.youtube.com/watch?v=eyHqRVTvDw8)\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia) Tencent TVP of Chatbot, <zixia@zixia.net>\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)\n\n## Copyright & License\n\n- Code & Docs © 2019-now Huan (李卓桓) <zixia@zixia.net>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"9c00d2e523d4244fd2f1a356fc3c23d548a9bee6","_id":"matrix-appservice-wechaty@0.9.2","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-AcODKo/z7H11ZCaTij4j7GDb0akMHHJlvUIIAatXqpaXjnj7wnOTBG7UyCnv7wxQFOccGbWJBEi2d30ixXK/cQ==","shasum":"e95590def55ce123074fcfeeeca37c08541c7ac5","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.9.2.tgz","fileCount":141,"unpackedSize":291764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCjufCRA9TVsSAnZWagAAFrIP/0aN/pwCOYDqIHce66bC\nS8+OxA4C78IbIAqG18m8qZwKY2e9qqKPDNFUyoCAswgRPGgyzAGHxBGC7SLx\nWGL2CfBbP7qMFwwY0TPt6wWzM3DrQ1alF6ud7KVSvfU35XlzYLbwpIHZpU4T\nQPZuCGMMZQU6pXNdko4xD40E1Nt82WjBxeNVZ3JTNJW4taJKeDqd6SmLoFjV\ncLszKyb6wuPaKU2E1vkGcklNdh8MRoAKImCzWfOMMAFtBSvq0hsXlqYvLHoy\npPK+D9hYv8bZBOJDkJP2zevYvsybgrz64Ij0yjra14wbTGNfxzhZRi9J+IHs\nl3lzsuDmnXbBDsllFSEXiKeF1S/X6CdjQQkqP0OB0Ohx3j1P1XiUrr45jnVK\nD2XYZLCsbyGMYekK5fTqB4HdwTZ2Iv3V54qJoAX/pNvrcXTh8EGya5rl0tNM\nwotLJq3SyygbEBMRUf5MpJVO27IpLBZq2Gg691yaq2HeMtRzsypRXIMFHbz+\npAu9serDH//uVh5UvL+CXg59hlji0vLFaKQbl9lFFUrrEjbMBtida+aW2HZU\n1hqKyK9+84Aij8f9Jo2RQF6yQjcr0Li8rWt3jQh70DMUmyA/D1wNJ9Hl00zv\nW5DlyzutB1cvdbamIZHyBq5IR4heUwY8vBzsRIlra3sZwrAQbUEC/AsbLvgO\nRZxo\r\n=+WET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLwlXcy5nAdDm6shlDb4dnMf/ITWZckOJT10yP7C5qvwIhAJkoKLgfccmby6cw8UxFsTzp8keUKBclleRaN4/P8HF3"}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.9.2_1628060575244_0.8899926049390001"},"_hasShrinkwrap":false},"0.9.4":{"name":"matrix-appservice-wechaty","version":"0.9.4","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](docs/images/matrix-wechaty-1280x720.png)\n> Image credit: [Gnosis](https://blog.gnosis.pm/we-are-moving-our-open-gnosis-community-chat-to-matrix-542e9017499)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/chatie/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/chatie/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\nThe [Matrix] client [Riot](https://riot.im/app/) is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n## What is `matrix-appservice-wechaty`\n\n`matrix-appservice-wechaty` is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.\n\nIt has been officially listed at [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty).\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n## Features\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n1. Node.js wit NPM, or Docker\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/chatie/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVICE_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVICE_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVICE_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"/data/wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\nFor docker users:\n\n```sh\nexport SYNAPSE_CONTAINER_ID=$(docker ps | grep synapse | awk '{print $1}')\ndocker restart $SYNAPSE_CONTAINER_ID\n```\n\nOr if you are not using docker:\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: [Wechaty](https://github.com/wechaty/wechaty) is a very powerful framework that supporting Web, iPad, Win32, Mac, iOS protocols of WeChat. Learn more about WeChaty protocols at our [Wechaty Puppet Directory](https://github.com/wechaty/wechaty-puppet/wiki/Directory), and you can apply for a token for using [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus) at our [Support Developers Program](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: https://matrix.chatie.io\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"--config\", \"/data/config.yaml\", \"--file\", \"/data/wechaty-registration.yaml\", \"--port\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `!login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `!logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.9 Aug 1, 2021\n\nFinished [Display user's nickname and avatar in group #66](https://github.com/wechaty/matrix-appservice-wechaty/issues/66) and [Support image and file messages #86](https://github.com/wechaty/matrix-appservice-wechaty/issues/86).\n\n1. Support the display of the nickname and name of the contact.\n1. Support image and file messages.\n1. [fix a deprecated function warning](https://github.com/wechaty/matrix-appservice-wechaty/pull/82/commits/88b1d64cf53018a537397defd596f55447e9080a).\n1. [avoid inviting your own wechaty acount to matrix room](https://github.com/wechaty/matrix-appservice-wechaty/pull/83/commits/ad3aebed0de4bb129f7c43523225c3065d321526).\n\n### v0.8 Mar 1, 2020\n\nFinished  [#13](https://github.com/Chatie/matrix-appservice-wechaty/issues/13): [TypeScript] Add typing system to `matrix-js-sdk` and `matrix-appservice-bridge`.\n\n1. Code Refactoring\n1. Add `!login`, `!logout` command with help message\n1. Tested with iPad API([wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus))\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and iPad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nI accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n> &mdash; Credit: [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer)\n\n## Special Thanks\n\nWechaty community has setup the Matrix service([#94](https://github.com/wechaty/matrix-appservice-wechaty/issues/94)) which the server is sponsored by [@ericmigi](https://github.com/ericmigi), who is the founder of [Beeper](https://www.beeper.com), [Partner of Y Combinator](https://blog.ycombinator.com/author/eric-migicovsky/). He has also founded Pebble Technology (YC W11), which was acquired by Fitbit in 2016.\n\nLearn more about Beeper from [Beeper Brings iMessage to Android - No more green bubbles, LG's exit, Android 12, Oneplus and Oppo](https://www.youtube.com/watch?v=eyHqRVTvDw8)\n\n## Maintainers\n\n- [@huan](https://wechaty.js.org/contributors/huan) [(李卓桓)](http://linkedin.com/in/zixia) Tencent TVP of Chatbot, <zixia@zixia.net>\n- [@zhangchunsheng](https://wechaty.js.org/contributors/zhangchunsheng) Peter ZHANG\n- [@yswtrue](https://wechaty.js.org/contributors/yswtrue) Roy\n- [@lprintf](https://wechaty.js.org/contributors/lprintf) Yujing LIN\n\n[Matrix] Server Admin:\n\n- [@lprintf](https://wechaty.js.org/contributors/lprintf) Yujing LIN\n\n## Copyright & License\n\n- Code & Docs © 2019-now Huan and Wechaty Contributors <https://wechaty.js.org>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"fcfe6199fe8cb62f6217e5b16df6825842250ee6","_id":"matrix-appservice-wechaty@0.9.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-HQCmbgBQjolE3LPpdCZ/bRMtjxWPJF/XlO+Guc7GtsuGUZHrQl6EfQ1zH93V6ZWizTHx2+E0N++8ljHuEp4TzQ==","shasum":"d6aa39d521d8eaa41e4585b2bbdabb027b3315cf","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.9.4.tgz","fileCount":141,"unpackedSize":291983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhClqiCRA9TVsSAnZWagAAPeIQAIS8nZQhuhMqVnTI6G2H\n4fqAC2KMlWMtiU7zI+orj8Q+WkrupYMuEcduTy3zK1bv9YNAlijp9laBvBwh\nEmlYmEsqUiDDwRHV0YUXQbS66pbD4oxEd9i0giyRma8aioc7jIWe0zhr7Hz6\nxlLXKmlzEkcR5SfYhdaPJHz+NXsiDbat20KW6JIvTsnFinOqddxKoJC3qU0k\neLVnlAPiXVzKHJxi8sfSZguaoNsczMnn82fxCKMzEv8Y/UiwHGlNqPlypjZB\nlyh99t3PpAeXxVVQUws0k/tsq+kclBllccRBSP8jjYJWmx8QjIqr1xZ7NH9B\nTVzYtXwzQInuFyrlpDYOHgh0peUM62oYPqssaqUxDfOBeNumThhRQ+6QUpQ/\nzBwAbdb0gVtutWbcZPKuz+sHbk+/f+BTxzJq5oAu9QLlEVsJCdIh+TL0cd7o\nbBC2NuBJX10eFt7OjDaZSAS175DA5jWmPdX3L1/gtsg3vE8XuUeqe6fREhCi\nAhamhn9Z/wQHik2SXXL/MMKXnnxcynfzZxBE+e8h6OtIEVsDuJvr70TK9L1/\nyBFMco7Wh5CMFck/EKdTEx84ZsJMP47THFLS4HRmAMaxndnae1YAd4DfpPaJ\nz33u9XqjbrFwgmo2cQl/DOrTPSlZuy+3O1wx5MWc9Igq9YuGUC6gwPmiu/+X\nO38T\r\n=HgyR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFz3jSRfVuFAbCckE8A+586iC0CUedKNvwdY0y+yYXNCAiA5Xs/uIjtqwUEhtz47BZYm5KkghV86TRyaoiKWSV72/A=="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.9.4_1628068514296_0.7518924575304722"},"_hasShrinkwrap":false},"0.9.5":{"name":"matrix-appservice-wechaty","version":"0.9.5","description":"Matrix Application Services Bridge for Wechat","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"shx rm -fr dist/* *-store.db","dist":"npm run clean && npm run build && chmod +x dist/bin/*.js && cp -R config dist/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --noEmit","dev":"LOG_LEVEL=silly ts-node bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --url http://localhost:8788 --generate-registration","dev:service":"ts-node bin/matrix-appservice-wechaty.ts --config config.yaml --file wechaty-registration.yaml","dev:watch":"LOG_LEVEL=silly npx nodemon --watch '{bin,src,tests}/**/*.ts' --exec './node_modules/.bin/ts-node' bin/matrix-appservice-wechaty.ts","pack":"npm pack","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'","test":"npm run lint && npm run test:unit","watch":"nodemon --watch src/ --ext ts --ignore 'src/**/*.spec.ts' --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.12.3","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.16.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.4.10"},"bin":{"matrix-appservice-wechaty":"dist/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](docs/images/matrix-wechaty-1280x720.png)\n> Image credit: [Gnosis](https://blog.gnosis.pm/we-are-moving-our-open-gnosis-community-chat-to-matrix-542e9017499)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/chatie/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/chatie/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\nThe [Matrix] client [Riot](https://riot.im/app/) is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n## What is `matrix-appservice-wechaty`\n\n`matrix-appservice-wechaty` is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.\n\nIt has been officially listed at [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty).\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n## Features\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n1. Node.js wit NPM, or Docker\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/chatie/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVICE_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVICE_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVICE_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"/data/wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\nFor docker users:\n\n```sh\nexport SYNAPSE_CONTAINER_ID=$(docker ps | grep synapse | awk '{print $1}')\ndocker restart $SYNAPSE_CONTAINER_ID\n```\n\nOr if you are not using docker:\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: [Wechaty](https://github.com/wechaty/wechaty) is a very powerful framework that supporting Web, iPad, Win32, Mac, iOS protocols of WeChat. Learn more about WeChaty protocols at our [Wechaty Puppet Directory](https://github.com/wechaty/wechaty-puppet/wiki/Directory), and you can apply for a token for using [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus) at our [Support Developers Program](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: https://matrix.chatie.io\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"--config\", \"/data/config.yaml\", \"--file\", \"/data/wechaty-registration.yaml\", \"--port\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `!login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `!logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n### v0.9 Aug 1, 2021\n\nFinished [Display user's nickname and avatar in group #66](https://github.com/wechaty/matrix-appservice-wechaty/issues/66) and [Support image and file messages #86](https://github.com/wechaty/matrix-appservice-wechaty/issues/86).\n\n1. Support the display of the nickname and name of the contact.\n1. Support image and file messages.\n1. [fix a deprecated function warning](https://github.com/wechaty/matrix-appservice-wechaty/pull/82/commits/88b1d64cf53018a537397defd596f55447e9080a).\n1. [avoid inviting your own wechaty acount to matrix room](https://github.com/wechaty/matrix-appservice-wechaty/pull/83/commits/ad3aebed0de4bb129f7c43523225c3065d321526).\n\n### v0.8 Mar 1, 2020\n\nFinished  [#13](https://github.com/Chatie/matrix-appservice-wechaty/issues/13): [TypeScript] Add typing system to `matrix-js-sdk` and `matrix-appservice-bridge`.\n\n1. Code Refactoring\n1. Add `!login`, `!logout` command with help message\n1. Tested with iPad API([wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus))\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and iPad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nI accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n> &mdash; Credit: [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer)\n\n## Special Thanks\n\nWechaty community has setup the Matrix service([#94](https://github.com/wechaty/matrix-appservice-wechaty/issues/94)) which the server is sponsored by [@ericmigi](https://github.com/ericmigi), who is the founder of [Beeper](https://www.beeper.com), [Partner of Y Combinator](https://blog.ycombinator.com/author/eric-migicovsky/). He has also founded Pebble Technology (YC W11), which was acquired by Fitbit in 2016.\n\nLearn more about Beeper from [Beeper Brings iMessage to Android - No more green bubbles, LG's exit, Android 12, Oneplus and Oppo](https://www.youtube.com/watch?v=eyHqRVTvDw8)\n\n## Maintainers\n\n- [@huan](https://wechaty.js.org/contributors/huan) [(李卓桓)](http://linkedin.com/in/zixia) Tencent TVP of Chatbot, <zixia@zixia.net>\n- [@zhangchunsheng](https://wechaty.js.org/contributors/zhangchunsheng) Peter ZHANG\n- [@yswtrue](https://wechaty.js.org/contributors/yswtrue) Roy\n- [@lprintf](https://wechaty.js.org/contributors/lprintf) Yujing LIN (see: [wechaty/summer#59](https://github.com/wechaty/summer/issues/59))\n\n[Matrix] Server Admin:\n\n- [@lprintf](https://wechaty.js.org/contributors/lprintf) Yujing LIN\n\n## Copyright & License\n\n- Code & Docs © 2019-now Huan and Wechaty Contributors <https://wechaty.js.org>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"4dbc9a22dd2e859e151bbd714bb7d5a3e5ab8fcd","_id":"matrix-appservice-wechaty@0.9.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-ddGj64x9Y+iDNSEEeO8VCZx6IUw/aEN/6PnK3Xg8Yo0sxBRkn9JTkot+eNuftuHIdCYDsrCxYieEu4E5z+EGDg==","shasum":"d3ced3f5ae88873b85ad5e20e438cea75c76a464","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.9.5.tgz","fileCount":141,"unpackedSize":292055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhClsKCRA9TVsSAnZWagAAr5sP/jHRkVuKTqJY+jK3uq4I\nLWGKsRKnv+ejS3Vz3+Ou1z6zuCZl0cf58U5abKdDOK7ZQhYB54gxfv33YC6z\nOf25TWwBhowVPMQrl/K0z7pJpbEW/cjjIyjRU/ttAKqSfrpDLRs1wKq1dzfD\nRvzCTQ7kjMdco0H+HDocPeS8H1Px7hb96G5QM5COxhQDBmqf1cDnRCVG5c2/\n++yFIAjzUUnJTq72VydaFn2p6bJKKSw2dbL2NtcKbX+e2eUdrROHAf31jlkx\nPH+QxuzDq9vhGUn0BegH18hRoUCiA4ewsd3ELiYoN1JB6pwSsOjFW9Fe9FIY\njcshtZABaXUzRuZmS3oOyeWmTAxL8rWAXX/EwQrN/KphaBIEzGfKtNH3XxGs\nZp3q/he1NMP5hso45dc4lQW3EEA9QHL4kYZFBsAumac38DQU9bBz/enE+65u\nyWtBoY8TIDZzflcgiLUbKaVLzZfdKK1vLBFQJiUFxNrzQRUTHzhJz3NeH2Dd\nBg9SqSUsSuLWHJdu6y09pU6bLYfRdHQNkTC2uMUBkuQ71WrZMclAiZ4kDJ2L\n6t9m23vKZQJG11Thw2/v2qzCysnqu6oHKlom9RpHoB2fcY5SH96zpIwO0h6o\n7MOTVyPSMQGG+cZJhjBtdgZJKwFX6aH+3pWqIinls6K5jr++0Yq0rtGwPvAY\n0s88\r\n=ngWu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDClJfjZw7ROlNROV1aL+3DixpaVHSP7wBKIh0ZINJZYgIgXsyxKEoCuIuUqO4HxtRxEEZjcXJ7DdHYxtPkVmFvdIk="}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.9.5_1628068618367_0.8100754537211485"},"_hasShrinkwrap":false},"0.9.10":{"name":"matrix-appservice-wechaty","version":"0.9.10","description":"Matrix Application Services Bridge for Wechat","type":"module","exports":{".":{"import":"./dist/esm/src/mod.js","require":"./dist/cjs/src/mod.js"}},"typings":"./dist/esm/src/mod.d.ts","engines":{"node":">=16","npm":">=7","wechaty":">=0.69","wechaty-puppet":">=0.43"},"scripts":{"build":"tsc && tsc -p tsconfig.cjs.json","clean":"shx rm -fr dist/* ./*-store.db","dist":"npm-run-all clean build dist:copy dist:commonjs","dist:commonjs":"jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json","dist:copy":"npm-run-all dist:copy:esm dist:copy:cjs","dist:copy:esm":"cp -R config dist/esm && shx cp -R commonjs/ dist/esm/","dist:copy:cjs":"cp -R config dist/cjs && shx cp -R commonjs/ dist/cjs/","lint":"npm run lint:es && npm run lint:ts && npm run lint:md","lint:md":"markdownlint README.md","lint:es":"eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ","lint:ts":"tsc --isolatedModules --noEmit","dev":"cross-env LOG_LEVEL=silly NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" bin/matrix-appservice-wechaty.ts","dev:genarate-registration":"cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" bin/matrix-appservice-wechaty.ts --config wechaty-config.yaml --url http://localhost:8788 --generate-registration","dev:service":"cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" bin/matrix-appservice-wechaty.ts --config wechaty-config.yaml --file wechaty-registration.yaml","dev:watch":"cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" LOG_LEVEL=silly npx nodemon --watch \"{bin,src,tests}/**/*.ts\" --exec node bin/matrix-appservice-wechaty.ts","sloc":"sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests","test:pack":"bash -x scripts/npm-pack-testing.sh","test:unit":"tap --node-arg=--loader=ts-node/esm --node-arg=--no-warnings \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"","test":"npm-run-all lint test:unit","watch":"nodemon --watch src/ --ext ts --ignore \"src/**/*.spec.ts\" --exec npm run dist"},"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"keywords":["matrix","wechat","wechaty","bridge","appservice"],"author":{"name":"Huan LI","email":"zixia@zixia.net"},"license":"Apache-2.0","bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","dependencies":{"cuid":"^2.1.8","dotenv":"^10.0.0","matrix-appservice-bridge":"^2.7.0","npm-run-all":"^4.1.5","read-pkg-up":"^7.0.1","update-notifier":"^5.1.0","wechaty":"^0.62.3"},"devDependencies":{"@chatie/eslint-config":"^0.14.1","@chatie/git-scripts":"^0.6.2","@chatie/semver":"^0.4.7","@chatie/tsconfig":"^0.20.2","@types/nedb":"^1.8.11","@types/update-notifier":"^5.0.0","cross-env":"^7.0.3","nodemon":"^2.0.7","pkg-jq":"^0.2.11","qrcode-terminal":"^0.12.0","shx":"^0.3.3","sloc":"^0.2.1","tstest":"^0.5.16","type-fest":"^2.3.4","typescript":"^4.4.3"},"bin":{"matrix-appservice-wechaty":"dist/esm/bin/matrix-appservice-wechaty.js"},"publishConfig":{"access":"public","tag":"next"},"git":{"scripts":{"pre-push":"npx git-scripts-pre-push"}},"readme":"# matrix-appservice-wechaty [![[M] Matrix](https://img.shields.io/matrix/matrix-appservice-wechaty:matrix.org)](https://matrix.to/#/#matrix-appservice-wechaty:matrix.org)\n\nWechat (微信) Matrix Application Services Bridge\n\n![Matrix + Wechaty](docs/images/matrix-wechaty-1280x720.png)\n> Image credit: [Gnosis](https://blog.gnosis.pm/we-are-moving-our-open-gnosis-community-chat-to-matrix-542e9017499)\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n![NPM](https://github.com/chatie/matrix-appservice-wechaty/workflows/NPM/badge.svg)\n![Docker](https://github.com/chatie/matrix-appservice-wechaty/workflows/Docker/badge.svg)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/)\n\n## What is [Matrix]\n\n> [Matrix](https://matrix.org/blog/index) is an open network for secure, decentralized communication, like [Pidgin](http://pidgin.im) on your Phone.\n>\n> Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.\n\nThe [Matrix] client [Riot](https://riot.im/app/) is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.\n\n## What is `matrix-appservice-wechaty`\n\n`matrix-appservice-wechaty` is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.\n\nIt has been officially listed at [[Matrix] Bridge Page for Wechaty](https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty).\n\nAccording to [Types of Bridging](https://matrix.org/docs/guides/types-of-bridging), Wechaty Bot in Matrix will create an [Simple Puppeted Bridge](https://matrix.org/docs/guides/types-of-bridging#simple-puppeted-bridge) with [Portal Rooms](https://matrix.org/docs/guides/types-of-bridging#portal-rooms) because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.\n\n## Features\n\n1. Support connect to Wechat via [Web](https://github.com/wechaty/wechaty-puppet-puppeteer)/[iPad](https://github.com/wechaty/wechaty-puppet-padplus)/[Hostie](https://github.com/wechaty/wechaty-puppet-hostie)/Windows/Mac Protocol, with the power of [Wechaty](https://github.com/wechaty)\n1. Map all Wechat users/room/official accounts to Matrix virtual users\n\n## Requirements\n\n1. A Matrix homeserver that supports application services (e.g. [Synapse](https://github.com/matrix-org/synapse))\n1. Node.js wit NPM, or Docker\n\n## Installation\n\n[![NPM Version](https://badge.fury.io/js/matrix-appservice-wechaty.svg)](https://badge.fury.io/js/matrix-appservice-wechaty)\n[![npm (next)](https://img.shields.io/npm/v/matrix-appservice-wechaty/next.svg)](https://www.npmjs.com/package/matrix-appservice-wechaty?activeTab=versions)\n\n```sh\nsudo npm install -g matrix-appservice-wechaty\n```\n\n`matrix-appservcie-wechaty` is all you need.\n\n### 1 Configure `config.yaml`\n\nCopy [config/config.sample.yaml](https://github.com/chatie/matrix-appservice-wechaty/blob/master/config/config.sample.yaml) to `config.yaml` and update it to match your setup.\n\n1. `domain` needs to change to your domain name, which should points to your homeserver.\n1. `homeserverUrl` needs to change to your homeserver url, with the port number included.\n1. `registration` needs to change to your registration yaml file name (see next part for how to generate it)\n\n### 2 Generate `wechaty-registration.yaml`\n\nAfter we setup the `config.yaml`, then we can generate the `wechaty-registration.yaml` file for  registing to the home server:\n\n```sh\nexport APP_SERVICE_ENDPOINT='http://localhost:8788'\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --url     \"$APP_SERVICE_ENDPOINT\" \\\n  --generate-registration\n```\n\nNote: The URL `APP_SERVICE_ENDPIOINT` is used by the home server to communite with appservice, in this example is: `http://localhost:8788`. If you have other appservices, or other requirements, pick an appropriate hostname and port.\n\n### 3 Register the App Service\n\nEdit your `homeserver.yaml` file and update the `app_service_config_files` entry with the path to the `wechaty-registration.yaml` file.\n\n```json\napp_service_config_files: [\"/data/wechaty-registration.yaml\"]\n```\n\n### 4 Restart Home Server (Synapse)\n\nYou will then need to restart the synapse server.\n\nFor docker users:\n\n```sh\nexport SYNAPSE_CONTAINER_ID=$(docker ps | grep synapse | awk '{print $1}')\ndocker restart $SYNAPSE_CONTAINER_ID\n```\n\nOr if you are not using docker:\n\n```sh\nsynctl restart\n```\n\nRemember to restart it every time the registration file is updated.\n\n## Launch the Wechaty AppService Bridge\n\nLet's start the `matrix-appservice-wechaty` bridge, with the port specified in `wechaty-registration.yaml` (`8788` in the above example)\n\n```shell\nexport WECHATY_PUPPET=wechaty-puppet-padplus\nexport WECHATY_PUPPET_PADPLUS_TOKEN=xxxxxxxxxxxxxxxxxxxxx\n\nmatrix-appservice-wechaty \\\n  --config  config.yaml \\\n  --file    wechaty-registration.yaml\n```\n\n> Note: [Wechaty](https://github.com/wechaty/wechaty) is a very powerful framework that supporting Web, iPad, Win32, Mac, iOS protocols of WeChat. Learn more about WeChaty protocols at our [Wechaty Puppet Directory](https://github.com/wechaty/wechaty-puppet/wiki/Directory), and you can apply for a token for using [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus) at our [Support Developers Program](https://github.com/wechaty/wechaty/wiki/Support-Developers)\n\nThe bridge should start working shortly afterwards.\n\nThe current path (`$(pwd)`) should have the `wechaty-registration.yaml` file and `config.yaml` file. Additional bridge-related data will be stored here.\n\n## Examples\n\n### Example `wechaty-registration.yaml`\n\n```yaml\nid: wechaty\nhs_token: 4f2763d5cc6e931967ec89efdde1123772945184b4cbe99e8fa9538122015e92\nas_token: c27815bdd699d2eaefb499c83f99ce1a7983a9688811269fbcc17b632b0b250e\nnamespaces:\n  users:\n    - exclusive: true\n      regex: '@wechaty_.*'\n  aliases:\n    - exclusive: true\n      regex: '#wechaty_.*'\n  rooms: []\nurl: matrix.chatie.io:8788\nsender_localpart: wechaty\nrate_limited: false\nprotocols:\n  - wechaty\n```\n\n### Example `config.yaml`\n\n```yaml\ndomain: chatie.io\nhomeserverUrl: https://matrix.chatie.io\nregistration: wechaty-registration.yaml\n```\n\n### Example Docker Compose File\n\n[![dockeri.co](https://dockeri.co/image/wechaty/matrix-appservice)](https://hub.docker.com/r/wechaty/matrix-appservice)\n\nWe have published a docker image [wechaty/matrix-appservice](https://hub.docker.com/r/wechaty/matrix-appservice) for your convenience.\n\nYou can use docker to run matrix-appservice-wechaty bridge by adding the following configs to your `docker-compose.yml`\n\n```yaml\nmatrix-appservice-wechaty:\n  container_name: matrix-appservice-wechaty\n  image: wechaty/matrix-appservice\n  volumes:\n  - ./bridges/matrix-appservice-wechaty:/data\n  networks:\n  - default\n  environment:\n  - WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_<token>\n  - WECHATY_PUPPET=wechaty-puppet-padplus\n  command: [\"--config\", \"/data/config.yaml\", \"--file\", \"/data/wechaty-registration.yaml\", \"--port\", \"8788\"]\n```\n\n## Beidge Usage\n\n1. Talk to Wechaty Bot (`@wechaty:your.domain.ltd`)\n1. Send the message `!login` (three times ... wip... )\n1. The `wechaty` app service bot will then send you a QR Code for scanning by WeChat.\n\nAfter scan the QR Code and confirm on your phone, everything will be setup automatically by the wechaty bot.\n\n### Authentication\n\n#### Logging in\n\n1. Start a chat with the bridge bot. The bot should say _\"This room has been registered as your bridge management/status room.\"_ if you started the chat correctly.\n1. Run `!login`\n1. Log in by scanning the QR code. If the code expires before you scan it, the bridge will send an error to notify you.\n    1. Open Wechat on your phone.\n    1. Tap Menu or Settings and select Scan.\n    1. Point your phone at the image sent by the bot to capture the code.\n1. Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your Wechat groups and private chats.\n\n#### Logging out\n\nSimply run the `!logout` management command.\n\n## Install Matrix Server\n\nBy following the guide from [@spantaleev](https://github.com/spantaleev), you can set your matrix server up just in dozens of minutes.\n\n- [Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md)\n\n### TODO\n\nDistill steps to setup the matrix server from <https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/README.md>\n\n## See Also\n\n- [Matrix Application Services](https://matrix.org/docs/guides/application-services)\n- [Matrix Javascript SDK v2.0](https://matrix-org.github.io/matrix-js-sdk/2.0.1/index.html)\n- [Bridging infrastructure for Application Services - HOWTO](https://github.com/matrix-org/matrix-appservice-bridge/blob/master/HOWTO.md)\n- [Matrix Application Service Bridge Node.js SDK](http://matrix-org.github.io/matrix-appservice-bridge/)\n- [Matrix Application Service API](https://matrix.org/docs/spec/application_service/r0.1.0.html)\n- [Matrix Client-Server API](https://matrix.org/docs/spec/client_server/r0.4.0.html)\n- [Matrix Specification](https://matrix.org/docs/spec/)\n\n### Matrix AppService Bridges in TypeScript\n\n- [A bridge between Matrix and Discord](https://github.com/Half-Shot/matrix-appservice-discord)\n\n### Matrix AppService Bridges in JavaScript\n\n- [Matrix<->Skype user-puppeting portal](https://github.com/mobitel-ltd/matrix-skype-bridge)\n- [Communication Matrix with Skype via puppet](https://github.com/mobitel-ltd/mobitel-matrix-puppet-skype)\n- [Matrix AppService Bridge Gitter](https://github.com/matrix-org/matrix-appservice-gitter)\n- [Node.js Telegram bridge for Matrix](https://github.com/FruitieX/matrix-appservice-telegram)\n- [Slack-compatible webhooks for matrix](https://github.com/turt2live/matrix-appservice-webhooks)\n- [A matrix SMS bridge, powered by Twilio](https://github.com/turt2live/matrix-appservice-twilio)\n- [Node.js IRC bridge for Matrix](https://github.com/matrix-org/matrix-appservice-irc)\n\n## Background\n\n- [Integrate Wechat with Matrix with the power of Wechaty #1737](https://github.com/wechaty/wechaty/issues/1737)\n\n>\n> This week I had a great talk with YC partner Eric @[ericmigi](https://github.com/ericmigi), who is a serial entrepreneur and also a geek with technology. He uses Matrix a lot and almost integrated all the instance messanger to his Matrix.\n>\n> But, the matrix does not support Wechat yet. So we'd like to introduce a matrix-wechat bridge to implement the Wechat protocol, and fill the gap between Matrix and Wechat.\n>\n> @[ericmigi](https://github.com/ericmigi) provide some links that will help us to kick off a starter, hope we could make a workable POC soon, and any contribution will be welcome.\n>\n> 1. [homeserver install in 1 hr](https://github.com/spantaleev/matrix-docker-ansible-deploy)\n> 1. [examples of puppet bridges](https://github.com/matrix-hacks/matrix-puppet-bridge)\n>\n> &mdash; <cite>Huan, April 2019</cite>\n\n---\n\n> @[tulir](https://github.com/tulir) has very rich experiences with building the matrix bridges such as:\n>\n> 1. [A Matrix-Telegram hybrid puppeting/relaybot bridge](https://github.com/tulir/mautrix-telegram)\n> 1. [A Matrix-WhatsApp puppeting bridge](https://github.com/tulir/mautrix-whatsapp)\n>\n> &mdash; <cite>Huan, May 2019</cite>\n\n## Todo/Question List\n\n- [ ] How to get room list from the matrix homeserver from matrix-appservice-bridge ?\n- [ ] How to get members from a room from the homeserver matrix-appservice-bridge ?\n- [ ] Use Matrix Remote Room for linking WeChat Room with Matrix Room.\n\n## History\n\n### master\n\n1. ES Modules support\n\n### v0.9 Aug 1, 2021\n\nFinished [Display user's nickname and avatar in group #66](https://github.com/wechaty/matrix-appservice-wechaty/issues/66) and [Support image and file messages #86](https://github.com/wechaty/matrix-appservice-wechaty/issues/86).\n\n1. Support the display of the nickname and name of the contact.\n1. Support image and file messages.\n1. [fix a deprecated function warning](https://github.com/wechaty/matrix-appservice-wechaty/pull/82/commits/88b1d64cf53018a537397defd596f55447e9080a).\n1. [avoid inviting your own wechaty acount to matrix room](https://github.com/wechaty/matrix-appservice-wechaty/pull/83/commits/ad3aebed0de4bb129f7c43523225c3065d321526).\n\n### v0.8 Mar 1, 2020\n\nFinished  [#13](https://github.com/Chatie/matrix-appservice-wechaty/issues/13): [TypeScript] Add typing system to `matrix-js-sdk` and `matrix-appservice-bridge`.\n\n1. Code Refactoring\n1. Add `!login`, `!logout` command with help message\n1. Tested with iPad API([wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus))\n\n### v0.6 (Beta) Feb 25, 2020\n\n1. added docker-compose.yaml example. (thanks @[ericmigi](https://github.com/ericmigi))\n1. Added install documentation\n\n### v0.4 (Alpha) July 14, 2019\n\n1. Support receive/send Wechat message in Matrix. (individuals and rooms)\n1. Tested with Web API([wechaty-puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)) and iPad API([wechaty-puppet-padpro](https://github.com/botorange/wechaty-puppet-padpro))\n\n#### Known Issues\n\n1. The names/avatars of Wechat users/groups are not set right on Matrix.\n1. Only support text message, Image/Audio/Video message is not supported yet. (Will be supported in the future version)\n1. Appservice will create more than one matrix room for a Wechat room when receiving messages from it for the very first time. (It will stop creating new rooms after you accepted the invitation)\n1. Login QR Code should not use the 3rd party API for security considerations. A better way is to upload the QR Code image to matrix server instead.\n\n### v0.2 July 6,  2019\n\n1. Enable your matrix account to start using `matrix-appservice-wechaty` by talk to the bot `@wechaty:your.domain`\n1. After you talk to `@wechaty`, it will send you Wechat Login QR Code. Scan it to login Wechat\n1. All Wechat messages will be bridged to the Matrix system, in the room that you talk to the bot at the very first time.\n\n### v0.0.1 May 2019\n\n1. Auto response the message in a Matrix Room.\n\n## Disclaimer\n\nI accept no responsibility if Tencent ban your IP, Account or even your details on their system. They have never given official support on custom clients.\n\n> &mdash; Credit: [matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/puppeting.md#caveats--disclaimer)\n\n## Special Thanks\n\nWechaty community has setup the Matrix service([#94](https://github.com/wechaty/matrix-appservice-wechaty/issues/94)) which the server is sponsored by [@ericmigi](https://github.com/ericmigi), who is the founder of [Beeper](https://www.beeper.com), [Partner of Y Combinator](https://blog.ycombinator.com/author/eric-migicovsky/). He has also founded Pebble Technology (YC W11), which was acquired by Fitbit in 2016.\n\nLearn more about Beeper from [Beeper Brings iMessage to Android - No more green bubbles, LG's exit, Android 12, Oneplus and Oppo](https://www.youtube.com/watch?v=eyHqRVTvDw8)\n\n## Maintainers\n\n- [@huan](https://wechaty.js.org/contributors/huan) [(李卓桓)](http://linkedin.com/in/zixia) Tencent TVP of Chatbot, <zixia@zixia.net>\n- [@zhangchunsheng](https://wechaty.js.org/contributors/zhangchunsheng) Peter ZHANG\n- [@yswtrue](https://wechaty.js.org/contributors/yswtrue) Roy\n- [@lprintf](https://wechaty.js.org/contributors/lprintf) Yujing LIN (see: [wechaty/summer#59](https://github.com/wechaty/summer/issues/59))\n\n[Matrix] Server Admin:\n\n- [@lprintf](https://wechaty.js.org/contributors/lprintf) Yujing LIN\n\n## Copyright & License\n\n- Code & Docs © 2019-now Huan and Wechaty Contributors <https://wechaty.js.org>\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","readmeFilename":"README.md","gitHead":"bc22556c5fbe74efedb42b493e4e2b55ece8ee4a","_id":"matrix-appservice-wechaty@0.9.10","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-TWjyKl7AtSqw8GEIw2xqOhBcFzfUciw63qTkGZJBFJlSjxhvZkF/QFHhM3l36WnVsIeHxpycmJkk/dACe44+cQ==","shasum":"22be3e35b69688e93c2f1dbd61fe3f46e7a870cb","tarball":"https://registry.npmjs.org/matrix-appservice-wechaty/-/matrix-appservice-wechaty-0.9.10.tgz","fileCount":248,"unpackedSize":457038,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7Zq+gHwQgM00iw+QONtxI0wpkVt+eJsQHfKbrsODkgwIhAJ5gNifQbN2D4e5N5Un8g3kqO5ytMpHX0B7wG4w4MeDW"}]},"_npmUser":{"name":"zixia","email":"zixia@zixia.net"},"directories":{},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matrix-appservice-wechaty_0.9.10_1632288024940_0.7932180423188815"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-10T08:35:09.801Z","0.0.2":"2019-05-10T08:35:09.949Z","modified":"2022-05-08T23:20:00.041Z","0.0.13":"2019-06-13T04:14:42.710Z","0.0.14":"2019-06-13T04:24:09.258Z","0.0.15":"2019-06-13T18:00:28.719Z","0.0.16":"2019-06-14T16:58:34.956Z","0.0.20":"2019-06-16T09:49:17.988Z","0.0.21":"2019-06-17T18:06:40.772Z","0.0.22":"2019-06-17T18:39:17.635Z","0.0.23":"2019-06-18T19:43:20.932Z","0.0.24":"2019-06-19T18:36:33.567Z","0.0.25":"2019-06-20T17:38:09.756Z","0.0.26":"2019-06-23T08:46:31.018Z","0.0.27":"2019-06-24T17:24:00.239Z","0.0.28":"2019-06-27T10:50:24.384Z","0.0.29":"2019-06-27T11:16:15.915Z","0.0.30":"2019-06-27T20:38:31.241Z","0.0.31":"2019-07-01T16:30:47.825Z","0.0.32":"2019-07-01T16:46:15.891Z","0.0.33":"2019-07-04T08:10:01.324Z","0.2.3":"2019-07-07T18:34:14.544Z","0.3.4":"2019-07-07T19:26:00.729Z","0.3.5":"2019-07-13T16:18:43.181Z","0.3.6":"2019-07-13T17:38:57.041Z","0.3.7":"2019-07-13T18:04:46.551Z","0.3.8":"2019-07-13T18:41:39.488Z","0.4.1":"2019-07-13T19:07:09.804Z","0.4.2":"2019-07-13T19:22:45.773Z","0.4.3":"2019-07-13T19:57:57.356Z","0.4.4":"2019-07-13T20:13:44.035Z","0.4.7":"2019-07-14T07:25:33.124Z","0.4.8":"2019-08-28T10:01:47.791Z","0.4.9":"2020-02-25T03:21:22.633Z","0.4.10":"2020-02-25T03:24:31.978Z","0.4.11":"2020-02-25T03:48:02.505Z","0.4.15":"2020-02-25T04:16:50.289Z","0.4.16":"2020-02-25T07:12:08.449Z","0.4.17":"2020-02-25T10:25:57.208Z","0.5.2":"2020-02-25T10:38:53.275Z","0.5.3":"2020-02-25T15:02:01.326Z","0.5.4":"2020-02-25T15:48:10.445Z","0.5.7":"2020-02-25T17:02:03.278Z","0.5.8":"2020-02-25T17:04:57.349Z","0.5.9":"2020-02-25T17:34:26.697Z","0.5.10":"2020-02-25T17:38:29.166Z","0.5.11":"2020-02-25T17:39:16.488Z","0.5.12":"2020-02-25T17:42:52.687Z","0.5.13":"2020-02-26T02:37:50.877Z","0.5.14":"2020-02-26T03:12:32.714Z","0.5.15":"2020-02-26T17:34:45.810Z","0.6.1":"2020-02-26T17:45:26.902Z","0.5.16":"2020-02-26T17:45:33.257Z","0.6.2":"2020-02-26T18:13:12.253Z","0.6.3":"2020-02-28T15:45:35.170Z","0.7.2":"2020-03-01T06:52:19.274Z","0.7.3":"2020-03-01T07:34:54.677Z","0.7.4":"2020-03-01T07:41:05.411Z","0.7.5":"2020-03-01T07:43:54.509Z","0.8.1":"2020-03-01T07:46:56.442Z","0.8.2":"2020-03-01T07:52:36.149Z","0.8.3":"2020-03-01T07:59:14.052Z","0.8.4":"2020-03-01T14:38:07.606Z","0.8.5":"2020-03-01T14:45:03.495Z","0.8.6":"2020-03-01T14:55:37.542Z","0.8.7":"2020-03-01T14:58:28.271Z","0.8.10":"2020-03-02T09:30:22.283Z","0.8.11":"2020-03-02T09:40:06.340Z","0.8.12":"2020-03-02T10:14:49.222Z","0.8.13":"2020-03-02T13:17:58.332Z","0.8.14":"2020-03-02T13:22:46.072Z","0.8.15":"2020-03-02T13:35:47.593Z","0.8.17":"2020-03-03T12:52:03.457Z","0.8.18":"2020-03-05T16:04:09.819Z","0.8.19":"2020-03-06T14:59:09.433Z","0.8.20":"2020-03-06T15:01:03.409Z","0.8.21":"2020-10-20T06:13:20.810Z","0.8.22":"2020-11-18T17:17:54.079Z","0.8.23":"2021-02-01T04:23:14.375Z","0.8.24":"2021-02-01T05:00:55.922Z","0.8.25":"2021-02-03T10:49:25.702Z","0.8.26":"2021-02-03T11:05:33.721Z","0.8.27":"2021-02-03T11:37:45.639Z","0.8.28":"2021-06-09T12:21:02.447Z","0.8.30":"2021-07-22T19:42:02.915Z","0.8.32":"2021-07-28T05:08:18.606Z","0.9.0":"2021-07-30T16:07:38.187Z","0.9.1":"2021-08-04T06:59:42.856Z","0.9.2":"2021-08-04T07:02:55.375Z","0.9.4":"2021-08-04T09:15:14.445Z","0.9.5":"2021-08-04T09:16:58.537Z","0.9.10":"2021-09-22T05:20:25.128Z"},"maintainers":[{"name":"zixia","email":"zixia@zixia.net"}],"description":"Matrix Application Services Bridge for Wechat","homepage":"https://github.com/huan/matrix-appservice-wechaty#readme","keywords":["matrix","wechat","wechaty","bridge","appservice"],"repository":{"type":"git","url":"git+https://github.com/huan/matrix-appservice-wechaty.git"},"author":{"name":"Huan LI","email":"zixia@zixia.net"},"bugs":{"url":"https://github.com/huan/matrix-appservice-wechaty/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}