forked from TBXark/ChatGPT-Telegram-Workers
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"url": "https://lookup.binlist.net/{{DATA}}", | ||
"method": "GET", | ||
"response": { | ||
"content": { | ||
"input_type": "json", | ||
"output_type": "markdown", | ||
"output": "**卡BIN信息如下**\n卡品牌: {{scheme}}\n卡类型: {{type}}\n卡种类: {{brand}}\n发卡行: {{bank.name}}\n是否预付: {{#if prepaid}}是{{#else}}否{{/if}}\n发卡国家: {{country.emoji}}{{country.name}}\n币种: {{country.currency}}" | ||
}, | ||
"error": { | ||
"input_type": "text", | ||
"output_type": "text", | ||
"output": "Error: {{.}}" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"url": "https://60s.viki.moe/?v2=1", | ||
"method": "GET", | ||
"response": { | ||
"content": { | ||
"input_type": "json", | ||
"output_type": "markdown", | ||
"output": "**每日60s看世界**\n{{#each news in data.news}}\n- {{.}}\n{{/each}}\n> {{data.tip}}\n\n[Data Source]({{data.url}})[API Source](https://github.com/vikiboss/60s)\n[cover]({{data.cover}})\nUpdateTime: {{data.updated}}" | ||
}, | ||
"error": { | ||
"input_type": "json", | ||
"output_type": "text", | ||
"output": "Error: {{message}}" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable style/indent */ | ||
import { interpolate } from './interpolate.js'; | ||
|
||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable style/indent */ | ||
import { | ||
TemplateBodyTypeForm, | ||
TemplateBodyTypeJson, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable style/indent */ | ||
import fs from 'node:fs'; | ||
import { executeRequest } from './template.js'; | ||
|
||
|