-
Notifications
You must be signed in to change notification settings - Fork 0
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
95 additions
and
2 deletions.
There are no files selected for viewing
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 +1 @@ | ||
tiddlywiki | ||
tango |
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,6 +1,6 @@ | ||
created: 20230126080041406 | ||
creator: Gezi | ||
modified: 20240901190237082 | ||
modified: 20240901192911920 | ||
modifier: Gezi-lzq | ||
title: $:/config/codemirror/theme | ||
type: string |
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,7 @@ | ||
created: 20240901191731778 | ||
creator: Gezi-lzq | ||
modified: 20240901191916130 | ||
modifier: Gezi-lzq | ||
title: $:/plugins/Gk0Wk/chat-gpt/openai-api-entrance | ||
|
||
https://one-api.hellocorp.site/v1 |
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,7 @@ | ||
created: 20240901192102479 | ||
creator: Gezi-lzq | ||
modified: 20240901192102479 | ||
modifier: Gezi-lzq | ||
title: $:/plugins/Gk0Wk/chat-gpt/openai-api-key | ||
|
||
sk-BZA8Z80TsHsymEh5A3938960F3834613A9648fE20d989a80 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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,10 @@ | ||
author: tiddlywiki | ||
dependents: | ||
description: Markdown parser based on markdown-it | ||
list: readme config syntax license | ||
name: Markdown | ||
plugin-type: plugin | ||
stability: STABILITY_2_STABLE | ||
title: $:/plugins/tiddlywiki/markdown | ||
type: application/json | ||
version: 5.3.5 |
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,34 @@ | ||
created: 20240901192106390 | ||
creator: Gezi-lzq | ||
list-after: $:/core/ui/ControlPanel/Settings/TiddlyWiki | ||
modified: 20240901192106392 | ||
modifier: Gezi-lzq | ||
tags: $:/tags/ControlPanel/SettingsTab | ||
title: ChatGPT | ||
type: text/vnd.tiddlywiki | ||
|
||
<$list filter="[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]" variable="lang"> | ||
<$list filter="[<lang>search[zh]]"> | ||
|
||
; <$text text="OpenAI" /> API Key | ||
: <$edit-text tiddler="$:/plugins/Gk0Wk/chat-gpt/openai-api-key" tag="input" default="" /> | ||
: 你应当注册自己的 <$text text="OpenAI" /> 账号,并申请 [[API Key|https://platform.openai.com/account/api-keys]]。 | ||
|
||
; <$text text="OpenAI" /> API 入口 | ||
: <$edit-text tiddler="$:/plugins/Gk0Wk/chat-gpt/openai-api-entrance" tag="input" default="" /> | ||
: 一般不用改,如果使用了第三方代理请修改。 | ||
|
||
</$list> | ||
|
||
<$list filter="[<lang>!search[zh]]"> | ||
|
||
; <$text text="OpenAI" /> API Key | ||
: <$edit-text tiddler="$:/plugins/Gk0Wk/chat-gpt/openai-api-key" tag="input" default="" /> | ||
: You should register your <$text text="OpenAI" /> account and request an [[API Key|https://platform.openai.com/account/api-keys]]. | ||
|
||
; <$text text="OpenAI" /> API Entrance | ||
: <$edit-text tiddler="$:/plugins/Gk0Wk/chat-gpt/openai-api-entrance" tag="input" default="" /> | ||
: Generally no need to change, if you use a third-party proxy please modify. | ||
|
||
</$list> | ||
</$list> |
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,19 @@ | ||
created: 20240901192824345 | ||
creator: Gezi-lzq | ||
modified: 20240901192824348 | ||
modifier: Gezi-lzq | ||
tags: $:/tags/ControlPanel/Settings/CodeMirror | ||
title: {{$:/language/codemirror/theme/hint}} | ||
|
||
\define lingo-base() $:/language/codemirror/ | ||
|
||
<$link to="$:/config/codemirror/theme"><<lingo hint>></$link> | ||
|
||
<$select tiddler="$:/config/codemirror/theme" default="default"> | ||
<option value="default">default</option> | ||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]module-type[codemirror-theme]!has[draft.of]get[name]]"> | ||
<option value=<<currentTiddler>>><$transclude field="name"><$text text=<<currentTiddler>>/></$transclude></option> | ||
</$list> | ||
</$select> | ||
|
||
//see the [[CodeMirror Usage|$:/plugins/tiddlywiki/codemirror/usage]] how to add themes// |