diff --git a/guoba.support.js b/guoba.support.js index 4dd4e2e..f62e821 100644 --- a/guoba.support.js +++ b/guoba.support.js @@ -522,9 +522,22 @@ export function supportGuoba () { { field: 'cloudTranscode', label: '云转码API地址', - bottomHelpMessage: '目前只支持node-silk语音转码,如果本地无法安装node-silk可填写http://alcedogroup.com:3031', + bottomHelpMessage: '目前只支持node-silk语音转码,可在本地node-silk无法使用时尝试使用云端资源转码', component: 'Input' }, + { + field: 'cloudMode', + label: '云转码API发送数据模式', + bottomHelpMessage: '默认发送数据链接,如果你部署的是本地服务,请改为文件', + component: 'Select', + componentProps: { + options: [ + { label: '文件', value: 'file' }, + { label: '链接', value: 'url' }, + { label: '数据', value: 'buffer' } + ] + } + }, { field: 'noiseScale', label: 'noiseScale', diff --git a/server/static/index.html b/server/static/index.html index d2f1157..df1e569 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -17,4 +17,5 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. --> -
欢迎使用chatgpt-plugin插件
| Referral | Visitors | |
|---|---|---|
| 1,480 | 60% | |
| 5,480 | 70% | |
| 4,807 | 80% | |
| 3,678 | 75% | |
| 2,645 | 30% |
\r\n \r\n \r\n {{ statPercent }}%\r\n \r\n {{ statDescripiron }}\r\n
\r\n| \r\n 缓存地址\r\n | \r\n\r\n 用户\r\n | \r\n\r\n 群\r\n | \r\n\r\n 时间\r\n | \r\n
|---|---|---|---|
| \r\n {{ item.herf }} \r\n | \r\n\r\n {{ item.user }}\r\n | \r\n\r\n {{ item.group || '-' }}\r\n | \r\n\r\n {{ new Date(item.time).toLocaleString('zh', { hour12: false }).replaceAll('/', '-') }}\r\n | \r\n
\r\n\r\n\r\n 访问代码\r\n
\r\n\r\n {{this.$route.params.code}}\r\n
\r\n
\r\n {{ item.text }}\r\n
\r\n\r\n 当前页面发生错误,请联系服务管理人员检查后台错误信息!\r\n
\r\n\r\n 页面代码:{{this.$route.query.code}}\r\n
\r\n\r\n {{this.$route.query.error}}\r\n
\r\n\r\n 欢迎使用chatgpt-plugin插件\r\n
\r\n| \r\n Referral\r\n | \r\n\r\n Visitors\r\n | \r\n\r\n |
|---|---|---|
| \r\n Facebook\r\n | \r\n\r\n 1,480\r\n | \r\n\r\n \r\n 60%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n Facebook\r\n | \r\n\r\n 5,480\r\n | \r\n\r\n \r\n 70%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n Google\r\n | \r\n\r\n 4,807\r\n | \r\n\r\n \r\n 80%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n Instagram\r\n | \r\n\r\n 3,678\r\n | \r\n\r\n \r\n 75%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n twitter\r\n | \r\n\r\n 2,645\r\n | \r\n\r\n \r\n 30%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
欢迎使用chatgpt-plugin插件
| Referral | Visitors | |
|---|---|---|
| 1,480 | 60% | |
| 5,480 | 70% | |
| 4,807 | 80% | |
| 3,678 | 75% | |
| 2,645 | 30% |
\r\n \r\n \r\n {{ statPercent }}%\r\n \r\n {{ statDescripiron }}\r\n
\r\n| \r\n 缓存地址\r\n | \r\n\r\n 用户\r\n | \r\n\r\n 群\r\n | \r\n\r\n 时间\r\n | \r\n
|---|---|---|---|
| \r\n {{ item.herf }} \r\n | \r\n\r\n {{ item.user }}\r\n | \r\n\r\n {{ item.group || '-' }}\r\n | \r\n\r\n {{ new Date(item.time).toLocaleString('zh', { hour12: false }).replaceAll('/', '-') }}\r\n | \r\n
\r\n\r\n\r\n 访问代码\r\n
\r\n\r\n {{this.$route.params.code}}\r\n
\r\n
\r\n {{ item.text }}\r\n
\r\n\r\n 当前页面发生错误,请联系服务管理人员检查后台错误信息!\r\n
\r\n\r\n 页面代码:{{this.$route.query.code}}\r\n
\r\n\r\n {{this.$route.query.error}}\r\n
\r\n\r\n 欢迎使用chatgpt-plugin插件\r\n
\r\n| \r\n Referral\r\n | \r\n\r\n Visitors\r\n | \r\n\r\n |
|---|---|---|
| \r\n Facebook\r\n | \r\n\r\n 1,480\r\n | \r\n\r\n \r\n 60%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n Facebook\r\n | \r\n\r\n 5,480\r\n | \r\n\r\n \r\n 70%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n Google\r\n | \r\n\r\n 4,807\r\n | \r\n\r\n \r\n 80%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n Instagram\r\n | \r\n\r\n 3,678\r\n | \r\n\r\n \r\n 75%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
| \r\n twitter\r\n | \r\n\r\n 2,645\r\n | \r\n\r\n \r\n 30%\r\n \r\n \r\n \r\n \r\n \r\n \r\n | \r\n
'+n+\"\"}}t.b=function(){var e=new i.a;return e.set({html:!0,breaks:!0,linkify:!1,typographer:!0}),e}},function(e,t){e.exports=/[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4E\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]|\\uD800[\\uDD00-\\uDD02\\uDF9F\\uDFD0]|\\uD801\\uDD6F|\\uD802[\\uDC57\\uDD1F\\uDD3F\\uDE50-\\uDE58\\uDE7F\\uDEF0-\\uDEF6\\uDF39-\\uDF3F\\uDF99-\\uDF9C]|\\uD803[\\uDF55-\\uDF59]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/},function(e,t,r){\"use strict\";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t\"+s(e[t].content)+\"\\n\"},o.fence=function(e,t,r,n,o){var a,c,l,u,p,h=e[t],f=h.info?i(h.info).trim():\"\",d=\"\",g=\"\";return f&&(d=(l=f.split(/(\\s+)/g))[0],g=l.slice(2).join(\"\")),0===(a=r.highlight&&r.highlight(h.content,d,g)||s(h.content)).indexOf(\"\"+a+\"\\n\"):\"\"+a+\"\\n\"},o.image=function(e,t,r,n,i){var s=e[t];return s.attrs[s.attrIndex(\"alt\")][1]=i.renderInlineAsText(s.children,r,n),i.renderToken(e,t,r)},o.hardbreak=function(e,t,r){return r.xhtmlOut?\"o;n-=d[n]+1)if((s=t[n]).marker===i.marker&&s.open&&s.end<0&&(c=!1,(s.close||i.open)&&(s.length+i.length)%3==0&&(s.length%3==0&&i.length%3==0||(c=!0)),!c)){l=n>0&&!t[n-1].open?d[n-1]+1:0,d[r]=r-n+l,d[n]=l,i.open=!1,s.end=r,s.close=!1,a=-1,f=-2;break}-1!==a&&(u[i.marker][(i.open?3:0)+(i.length||0)%3]=a)}}}e.exports=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(0,e.delimiters),t=0;t0&&n++,\"text\"===i[t].type&&t+1 '+(e?' '+e+\" ' + katex.renderToString(latex, options) + '0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(s),i},a.prototype.scanDelims=function(e,t){var r,n,a,c,l,u,p,h,f,d=e,g=!0,m=!0,_=this.posMax,b=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<_&&this.src.charCodeAt(d)===b;)d++;return a=d-e,n=d<_?this.src.charCodeAt(d):32,p=o(r)||s(String.fromCharCode(r)),f=o(n)||s(String.fromCharCode(n)),u=i(r),(h=i(n))?g=!1:f&&(u||p||(g=!1)),u?m=!1:p&&(h||f||(m=!1)),t?(c=g,l=m):(c=g&&(!m||p),l=m&&(!g||f)),{can_open:c,can_close:l,length:a}},a.prototype.Token=n,e.exports=a},function(e,t,r){\"use strict\";function n(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function i(e){return Object.prototype.toString.call(e)}function s(e){return\"[object Function]\"===i(e)}function o(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={\"http:\":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp(\"^\\\\/\\\\/\"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,\"i\")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},\"https:\":\"http:\",\"ftp:\":\"http:\",\"//\":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp(\"^\"+r.re.src_auth+\"(?:localhost|(?:(?:\"+r.re.src_domain+\")\\\\.)+\"+r.re.src_domain_root+\")\"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,\"i\")),r.re.no_http.test(n)?t>=3&&\":\"===e[t-3]||t>=3&&\"/\"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},\"mailto:\":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp(\"^\"+r.re.src_email_name+\"@\"+r.re.src_host_strict,\"i\")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l=\"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф\".split(\"|\");function u(e){var t=e.re=r(69)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace(\"%TLDS%\",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(\"a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]\"),n.push(t.src_xn),t.src_tlds=n.join(\"|\"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),\"i\"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),\"i\"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),\"i\"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),\"i\");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema \"'+e+'\": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,\"[object Object]\"===i(r))return!function(e){return\"[object RegExp]\"===i(e)}(r.validate)?s(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(s(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return\"[object String]\"===i(e)}(r)?l(t,r):c.push(t)}})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[\"\"]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join(\"|\");e.re.schema_test=RegExp(\"(^|(?!_)(?:[><|]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"i\"),e.re.schema_search=RegExp(\"(^|(?!_)(?:[><|]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"ig\"),e.re.pretest=RegExp(\"(\"+e.re.schema_test.source+\")|(\"+e.re.host_fuzzy_test.source+\")|@\",\"i\"),function(e){e.__index__=-1,e.__text_cache__=\"\"}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function h(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__=\"\",this.__text_cache__=\"\",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},f.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,i,s,o,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__[\"http:\"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=55296&&t<=56319&&i65535&&(t+=d((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=d(e)})).join(\"\")}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,r){var n=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;n+=36)e=f(e/35);return f(n+36*e/(e+38))}function x(e){var t,r,n,i,s,o,a,l,u,p,h,d=[],m=e.length,_=0,b=128,v=72;for((r=e.lastIndexOf(\"-\"))<0&&(r=0),n=0;n\"+e+\"
\":\"\")+\"\\n\"},after:function(){return\"\" + token.content.replace(/