{"_id":"@8p/github","_rev":"4-afc41c05fc74dcaa2234eeffe816a05b","name":"@8p/github","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.3":{"name":"@8p/github","version":"0.1.3","keywords":["i18n.site/plugin"],"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","_id":"@8p/github@0.1.3","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"homepage":"https://atomgit.com/i18n/plugin/tree/dev/github","dist":{"shasum":"3a2ce88fb72e3066dbadcafad5d2f1710b097d15","tarball":"https://registry.npmjs.org/@8p/github/-/github-0.1.3.tgz","fileCount":134,"integrity":"sha512-BJ9+3+L1YApEhnphz9/0row+KycV+DA5CTom3oKs1h+qUwKF6ky/jd6JOEvxP4Ew4oMXWDFrkwy/5rhURkKv7Q==","signatures":[{"sig":"MEQCIC/VI6sj2bekTGtEliOnJm8ubK0B04MjcuyEg/l0thzuAiBBoBdDtVa7e8Z0uGoqUlqN3ax92i2TQi/ZB40Ejj0+Nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71162},"type":"module","_from":"file:8p-github-0.1.3.tgz","exports":{".":"./index.js","./*":"./*"},"scripts":{},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/f7de12a2f046a437579f3ac6bf9a9f82/8p-github-0.1.3.tgz","_integrity":"sha512-BJ9+3+L1YApEhnphz9/0row+KycV+DA5CTom3oKs1h+qUwKF6ky/jd6JOEvxP4Ew4oMXWDFrkwy/5rhURkKv7Q==","repository":{"url":"git+https://atomgit.com/i18n/plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"[‼️]: ✏️README.mdt","directories":{},"_nodeVersion":"22.3.0","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"@8p/auth":"^0.3.51","@8p/wait":"^0.3.5","@5-/github":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/github_0.1.3_1723690394273_0.22871669949593043","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@8p/github","version":"0.1.4","keywords":["i18n.site/plugin"],"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","_id":"@8p/github@0.1.4","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"homepage":"https://atomgit.com/i18n/plugin/tree/dev/github","dist":{"shasum":"733be14ccc0bf3b2900ff5b48fe583e9bba4875b","tarball":"https://registry.npmjs.org/@8p/github/-/github-0.1.4.tgz","fileCount":134,"integrity":"sha512-KkLQkaYvYUyHtuNTLNAQoPenbCDdkR3hHKS/H0H32x7nl18LTQmNKi8L6t4N6zmzYrBUxL5eelM1BWYFb6x8PA==","signatures":[{"sig":"MEUCIQDhKE3nJaVRD2/SUWnzJXUJDjEKBqaIEeQ0UiJNPZdv8QIgQFrkwFKOnDHyPA7SwYOGM9+7gVK7+utDfRwlnvNNrew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71197},"type":"module","_from":"file:8p-github-0.1.4.tgz","exports":{".":"./index.js","./*":"./*"},"scripts":{},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/c9ecd3af17adb558dcd5cc7344d8ecff/8p-github-0.1.4.tgz","_integrity":"sha512-KkLQkaYvYUyHtuNTLNAQoPenbCDdkR3hHKS/H0H32x7nl18LTQmNKi8L6t4N6zmzYrBUxL5eelM1BWYFb6x8PA==","repository":{"url":"git+https://atomgit.com/i18n/plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"[‼️]: ✏️README.mdt","directories":{},"_nodeVersion":"22.3.0","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"@8p/auth":"^0.3.51","@8p/wait":"^0.3.5","@5-/github":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/github_0.1.4_1723692428483_0.5886198197703898","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@8p/github","version":"0.1.5","keywords":["i18n.site/plugin"],"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","_id":"@8p/github@0.1.5","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"homepage":"https://atomgit.com/i18n/plugin/tree/dev/github","dist":{"shasum":"3be0342eaa1c20015ad56de4bf3fd1195ab49f8c","tarball":"https://registry.npmjs.org/@8p/github/-/github-0.1.5.tgz","fileCount":134,"integrity":"sha512-yNXN+DRTNCvusKYCvT9EW/tcXEn3U8OGbkZZQplVVawPEfHVDAoWpnAzLLcsLeExpFgIoKXYXdW++k/3Hnc51A==","signatures":[{"sig":"MEYCIQD+9TxddT0MSh5kSLsucnNKMFqDhyXWnw1KUFUFZOMpPQIhALNNSjiH2lmfD4eMihbqmKEm43dUa0dmY1kuPeDTjdWD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71136},"type":"module","_from":"file:8p-github-0.1.5.tgz","exports":{".":"./index.js","./*":"./*"},"scripts":{},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/5084e13722b0d2de1ac7f0b3eb1edb70/8p-github-0.1.5.tgz","_integrity":"sha512-yNXN+DRTNCvusKYCvT9EW/tcXEn3U8OGbkZZQplVVawPEfHVDAoWpnAzLLcsLeExpFgIoKXYXdW++k/3Hnc51A==","repository":{"url":"git+https://atomgit.com/i18n/plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"[‼️]: ✏️README.mdt","directories":{},"_nodeVersion":"22.3.0","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"@8p/auth":"^0.3.52","@8p/wait":"^0.3.5","@5-/github":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/github_0.1.5_1723692939260_0.19643025398437275","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@8p/github","version":"0.1.6","keywords":["i18n.site/plugin"],"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","_id":"@8p/github@0.1.6","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"homepage":"https://atomgit.com/i18n/plugin/tree/dev/github","dist":{"shasum":"f650b133ae1c3e2f5e78366f8b49511240bd93f5","tarball":"https://registry.npmjs.org/@8p/github/-/github-0.1.6.tgz","fileCount":134,"integrity":"sha512-cT5sAvfaP4WxRPN0QfJCn2bL/uc+BWkRgvWGCqMq/Y6EQEiPhlifm+btr94jVUubXetExz8B2515L9NRUJjjRw==","signatures":[{"sig":"MEYCIQCHwlxoSnMNUxl1T8pfTLWYr9YnQT5vnF1w5eIZSpVyswIhAOLsjm479FXITcMTt07qT/J3PWk0D0nTbuSpuKr4DckI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72377},"type":"module","_from":"file:8p-github-0.1.6.tgz","exports":{".":"./index.js","./*":"./*"},"scripts":{},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/ec24a068f87fa32c89d7d901e20a9603/8p-github-0.1.6.tgz","_integrity":"sha512-cT5sAvfaP4WxRPN0QfJCn2bL/uc+BWkRgvWGCqMq/Y6EQEiPhlifm+btr94jVUubXetExz8B2515L9NRUJjjRw==","repository":{"url":"git+https://atomgit.com/i18n/plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"[‼️]: ✏️README.mdt","directories":{},"_nodeVersion":"22.3.0","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"@8p/auth":"^0.3.59","@8p/wait":"^0.3.5","@5-/github":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/github_0.1.6_1723894271959_0.8104112768295801","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@8p/github","version":"0.1.7","repository":{"type":"git","url":"git+https://atomgit.com/i18n/plugin.git"},"homepage":"https://atomgit.com/i18n/plugin/tree/dev/github","keywords":["i18n.site/plugin"],"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","exports":{".":"./index.js","./*":"./*"},"type":"module","peerDependencies":{"@5-/github":"^0.1.6","@8p/auth":"^0.3.78","@8p/wait":"^0.3.6"},"dependencies":{},"scripts":{},"_id":"@8p/github@0.1.7","description":"如果绑定的用户或者github账号在githubUser中已经存在,并且uid不为0,那么就绑定失败","_integrity":"sha512-CJA1xNSZjK0ln3m1t+cWvzRe/05C1BH8vM/bz4v8w+iqSuTDZKERzXGBE3ubqG9oIy5SBiCybwzy42Vh0i9cQA==","_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/ac40f0c1bab9e1dee71d37eaa037d47b/8p-github-0.1.7.tgz","_from":"file:8p-github-0.1.7.tgz","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-CJA1xNSZjK0ln3m1t+cWvzRe/05C1BH8vM/bz4v8w+iqSuTDZKERzXGBE3ubqG9oIy5SBiCybwzy42Vh0i9cQA==","shasum":"2bea4056559b8a59ff880eeb5c4ecdd3ead897a4","tarball":"https://registry.npmjs.org/@8p/github/-/github-0.1.7.tgz","fileCount":134,"unpackedSize":72327,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR5wRvVKwH/JenPC9SM+0Jha3u9hWASxBgYNbocxXNCgIhALWMmLZi/bGVkYwFu6jFDZtC5c1bOvfsuZnxOAYWy+RG"}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/github_0.1.7_1730561158918_0.39825010045858056"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-15T02:53:14.178Z","modified":"2024-11-02T15:25:59.304Z","0.1.3":"2024-08-15T02:53:14.430Z","0.1.4":"2024-08-15T03:27:08.659Z","0.1.5":"2024-08-15T03:35:39.420Z","0.1.6":"2024-08-17T11:31:12.153Z","0.1.7":"2024-11-02T15:25:59.126Z"},"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","homepage":"https://atomgit.com/i18n/plugin/tree/dev/github","keywords":["i18n.site/plugin"],"repository":{"type":"git","url":"git+https://atomgit.com/i18n/plugin.git"},"description":"如果绑定的用户或者github账号在githubUser中已经存在,并且uid不为0,那么就绑定失败","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"readme":"# @3-/github\n\n如果绑定的用户或者github账号在githubUser中已经存在,并且uid不为0,那么就绑定失败\n\n请帮忙创建以下mysql表,ts和各种id都用无符号大整数\n\ngithubUser\n  id github的id\n  uid 默认为0\n  github_login varbinary(63)\n  token varbinary(63)\n\ngithubUserFollowers\n  id\n  n\n  ts 默认为当前unix时间戳\n\ngithubMail\n  id\n  github_user_id\n  auth_mail_id\n  primary bool\n\nCREATE TABLE githubUser (\n  id BIGINT UNSIGNED PRIMARY KEY,\n  uid BIGINT UNSIGNED DEFAULT 0 NOT NULL,\n  login VARBINARY(63) NOT NULL,\n  token VARBINARY(63) NOT NULL\n);\n\nCREATE TABLE githubUserFollowers (\n  id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,\n  github_user_id BIGINT UNSIGNED NOT NULL,\n  n BIGINT UNSIGNED NOT NULL,\n  ts BIGINT UNSIGNED DEFAULT UNIX_TIMESTAMP() NOT NULL,\n);\n\nCREATE TABLE githubMail (\n  id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,\n  github_user_id BIGINT UNSIGNED NOT NULL,\n  auth_mail_id BIGINT UNSIGNED NOT NULL,\n  primary BOOL,\n);\n\n通过kvrocks的stream告知后台\n\n后台用 XREAD 读取 BLOCK 设置为60 然后心跳\n完成后用 XDEL key id 删除\n\n后台会\n\n1. 获取邮箱\n2. 获取用户\n\n忽略以 .noreply.github.com 结尾的\n\n\n## TODO\n\n赠送金改为抵扣额度, 每月清零\n\n## About\n\nThis project is an open-source component of [i18n.site ⋅ Internationalization Solution](https://i18n.site).\n\n* [i18 : MarkDown Command Line Translation Tool](https://i18n.site/i18)\n\n  The translation perfectly maintains the Markdown format.\n\n  It recognizes file changes and only translates the modified files.\n\n  The translated Markdown content is editable; if you modify the original text and translate it again, manually edited translations will not be overwritten (as long as the original text has not been changed).\n\n* [i18n.site : MarkDown Multi-language Static Site Generator](https://i18n.site/i18n.site)\n\n  Optimized for a better reading experience\n\n## 关于\n\n本项目为 [i18n.site ⋅ 国际化解决方案](https://i18n.site) 的开源组件。\n\n* [i18 :  MarkDown命令行翻译工具](https://i18n.site/i18)\n\n  翻译能够完美保持 Markdown 的格式。能识别文件的修改，仅翻译有变动的文件。\n\n  Markdown 翻译内容可编辑；如果你修改原文并再次机器翻译，手动修改过的翻译不会被覆盖（如果这段原文没有被修改）。\n\n* [i18n.site : MarkDown多语言静态站点生成器](https://i18n.site/i18n.site) 为阅读体验而优化。","readmeFilename":"README.md"}