-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
434 lines (365 loc) · 18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<html>
<head>
<meta charset="utf-8">
<title>林同学的小站 · @林同学不姓林</title>
<meta name="description" content="@林同学不姓林|哔哩哔哩 抖音 up主 博主" />
<meta name="keywords" content="林同学不姓林,LinTongXue,lin_tong_xue,lin2025" />
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, minimum-scale=0.5, user-scalable=no, viewport-fit=cover"/>
<meta name="format-detection" content="telephone=no">
<meta name="theme-color" content="#2b2b2b"/>
<link rel="apple-touch-icon" href="img/apple-touch-icon-180.png">
<link rel="stylesheet" href="css/screen.css">
<!-- cdn备用:https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/html5shiv/3.7.3/html5shiv.min.js -->
<!-- cdn备用:https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/respond.js/1.4.2/respond.min.js -->
<!--[if lt IE 9]>
<script src="https://cdn.bootcdn.net/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="wrap">
<!-- header -->
<header>
<div class="flexbox">
<div class="center-on-mobiles">
<h1>
<a href="/" class="logo">
<span class="sr-only">林同学</span>
<img src="img/logo-2x.png" width="140" height="65" alt="林同学">
</a>
</h1>
</div>
<nav class="main-nav hide-on-mobiles">
<ul>
<li>
<a href="https://lin2025.gitee.io/" title="lin2025.gitee.io">林同学的小站 · 国内高速线路</a>
</li>
<li class="current">
<a href="https://lin2025.github.io" title="lin2025.github.io 或 github.lintongxue.com">GitHub镜像站 · 国际线路</a>
</li>
</ul>
</nav>
</div>
<nav class="mobile-nav show-on-mobiles">
<ul>
<li>
<a href="https://lin2025.gitee.io/" title="林同学的小站·国内高速线路">林同学的小站 · 高速线路</a>
</li>
<li class="current">
<a href="https://lin2025.github.io" title="GitHub镜像·国际线路">GitHub · 国际线路</a>
</li>
</ul>
</nav>
<!-- header -->
</header>
<!-- *** -->
<section class="news">
<!-- *** -->
<div class="grid">
<!-- *** -->
<div class="unit whole">
<!-- 3_001_gpt3.5 id="001" -->
<article>
<h2 id="001" style="margin: 0.8em 0;">
<a>10秒轻松打造个性化ChatGPT 3.5版</a>
<a class="header-link" href="#001" title="001">
<span class="sr-only">Permalink</span>
<i class="fa fa-link"></i>
</a>
</h2>
<span class="post-category">
<span class="label">分享\写个网页</span>
</span>
<div class="post-meta">
<span class="post-date">2023.03.25</span>
<a class="post-author">
<img class="avatar avatar-small" width="24" height="24" src="https://avatars3.githubusercontent.com/lin2025" /><span class="author-name">@林同学不姓林</span>
</a>
</div>
<!-- -->
<div class="post-content">
<blockquote>
<p style="font-size: 14px;">
更新记录 <code style="font-size: 12px;"><a href="https://gitee.com/lin2025/gpt3.5" target="_blank">https://gitee.com/lin2025/gpt3.5</a></code> :4月23日 修补报错无法使用的大BUG、4月16日 修改PC端快捷键适配中文输入习惯 ......
</p>
</blockquote>
<p style="font-size: 16px;">
前段时间改写了个 ChatGPT 3.5 接口版网页 <code style="font-size: 12px;"><a href="#gpt3.5-code" title="gpt3.5-code">下载</a></code>,作为GPT工具的补充,用着还行,三句话简单的…介绍下:
</p>
<ol>
<li style="font-size: 16px;">
零门槛;人人都会,10秒搞定;只有一个 html 文件,在线/本地打开即用,无需部署;轻中度使用不需要再去挤官网,无需担心被封;使用 <code style="font-size: 12px;">win:记事本</code> 或 <code style="font-size: 12px;">mac:文本编辑.app</code> 即可改代码,无需懂技术;界面仿微信;支持上下文记忆、Temperature 设置、token 统计、撤销、重新回答、清空记忆、导出对话记录、对话框自适应高度等功能;<del>电脑端支持 Ctrl + Enter 快捷键发送</del>;长回复一次性接收;小白1分钟轻松完成以下个性化定制:<code style="font-size: 12px;">API-Key</code> 、指令、隐形指令、头像、标题、显示比例、字体大小…
</li>
<li style="font-size: 16px;">
AI工具不嫌多,本代码特点是无门槛 + 便捷;不用担心登录不上官网,无需登录,功能上也足以应对日常需求;一秒复制一个GPT,一分钟完成深度个性化定制,能复刻多数GPT小工具的功能;配合 <code style="font-size: 12px;">GitHub</code> 、<code style="font-size: 12px;">Gitee</code> 等开源代码托管平台,3分钟完成注册&上传,即可随时随地使用私有GPT,为亲朋好友定制不同版本GPT,不限数量,完全免费。
</li>
<li style="font-size: 16px;">
有以下缺点:和 ChatGPT 官网一样,国内需使用魔法让手机/电脑出趟国才可以正常使用;接口版本的上下文深度有限制,不适合需要深度记忆的场景;聊天界面不支持 Markdown 、代码高亮、表格线框;目前仅支持 ChatGPT 3.5 <code style="font-size: 12px;">gpt-3.5-turbo</code> 。
</li>
</ol>
<!-- 001下载 id="gpt3.5-code" -->
<div id="gpt3.5-code" class="note" style="margin-bottom:18px;">
<p style="font-size: 16px; font-weight: bold;">
GPT3.5网页只有一个文件,教程已写在网页代码的注释中,请先下载 / 在线查看 <code>.html</code> 或 <code>.txt</code> 文件
<a class="header-link" href="#gpt3.5-code" title="gpt3.5-code">
<span class="sr-only">Permalink</span>
<i class="fa fa-link"></i>
</a>
</p>
</div>
<div class="mobile-side-scroller">
<table>
<thead>
<tr>
<th>GPT代码<span class="version-badge" style="font-size: 0.7em;">3.5</span></th>
<th>第一种方法</th>
<th>第二种方法</th>
<th>其他</th>
</tr>
</thead>
<tbody>
<tr>
<td class="align-center"><p>在线使用GPT</p></td>
<td><p><a href="https://lin2025.gitee.io/gpt3.5/" target="_blank" title="高速 https://lin2025.gitee.io/gpt3.5/ ">国内高速线路<span class="version-badge" title="国内高速线路" style="font-size: 0.55em;">推荐</span></a></p></td>
<td><p><a href="https://lin2025.github.io/gpt3.5/" target="_blank" title="不稳定 https://lin2025.github.io/gpt3.5/ ">国际线路</a></p></td>
<td><p></p>国际线路为GitHub,国内访问不稳定,开魔法比较稳定</td>
</tr>
<tr>
<td class="align-center"><p>查看复制代码</p></td>
<td><p><a href="https://gitee.com/lin2025/gpt3.5/blob/master/index.html" target="_blank" title="页面上有[一键复制]">在Gitee上查看</a></p></td>
<td><p><a href="https://github.com/lin2025/gpt3.5/blob/main/index.html" target="_blank" title="需要梯子加持才能[一键复制],可以手动选择复制">在GitHub上查看</a></p></td>
<td><p>或打开在线版,用浏览器功能<code class="output">显示/查看网页源代码</code>查看</p></td>
</tr>
<tr>
<td class="align-center"><p>下载代码</p></td>
<td><p><a href="https://pan.baidu.com/s/1hI6UxweOTfTHO7bzQz1elQ?pwd=LLLL" target="_blank" title="提取码 LLLL">百度网盘地址</a></p></td>
<td><p><a href="https://www.aliyundrive.com/s/9ka3MPCVz2W" target="_blank" title="提取码 2sx2">阿里云盘地址</a></p></td>
<td><p><code class="output">阿里云盘提取码:2sx2</code> 下载压缩包: <a href="https://github.com/lin2025/gpt3.5/archive/refs/heads/main.zip" target="_blank" title="推荐打开魔法后再下载。解压后[LICENSE]、[README.md]文件可删除">GitHub直链地址</a></p></td>
</tr>
</tbody>
</table>
</div>
<div class="note info">
<p>
Mac电脑编辑html文件的方法:打开<code>文本编辑.app</code>,菜单栏 文件 > 打开 ,点击对话框下方的<code>显示选项/选项</code>,勾选<code>忽略多信息文本命令</code>后,打开文件
</p>
</div>
<div class="note warning">
<p>
聊天对话框或按钮出现<code>{{x.msg}}</code>、<code>{{sentext}}</code>,排除网络问题,刷新后仍报错,大概率是因为浏览器版本过低,请升级你的浏览器
</p>
</div>
<!-- <div class="post-content"> -->
</div>
<!-- 3_001_gpt3.5 -->
</article>
<!-- 2_导航_指令/提示词/描述语 id="zhiling" -->
<article>
<h2 id="zhiling" style="margin: 0.8em 0;">
<a>指令/提示词/Prompt</a>
<a class="header-link" href="#zhiling" title="zhiling">
<span class="sr-only">Permalink</span>
<i class="fa fa-link"></i>
</a>
</h2>
<span class="post-category">
<span class="label">导航\收藏夹</span>
</span>
<div class="post-meta">
<span class="post-date" style="margin-left: 15px;">2023.03.23</span>
<a class="post-author">
<img class="avatar avatar-small" width="24" height="24" src="https://avatars3.githubusercontent.com/lin2025" /><span class="author-name">@林同学不姓林</span>
</a>
</div>
<div class="post-content">
<p style="font-size: 15px;">
最近更新:2023.03.23 abc
</p>
<p style="font-size: 16px;">
待更新…
</p>
</div>
<!-- 2_导航_指令/提示词/描述语 -->
</article>
<!-- 1_导航_AI工具相关 id="aitool" -->
<article>
<h2 id="aitool" style="margin: 0.8em 0;">
<a>AI工具相关</a>
<a class="header-link" href="#aitool" title="aitool">
<span class="sr-only">Permalink</span>
<i class="fa fa-link"></i>
</a>
</h2>
<span class="post-category">
<span class="label">导航\收藏夹</span>
</span>
<div class="post-meta">
<span class="post-date" style="margin-left: 15px;">2023.03.23</span>
<a class="post-author">
<span class="author-name"></span>
</a>
</div>
<div class="post-content">
<p style="font-size: 15px;">
最近更新:2023.03.23 abc
</p>
<p style="font-size: 16px;">
待更新…
</p>
</div>
<!-- 1_导航_AI工具相关 -->
</article>
<!-- 0_about id="about" -->
<article>
<h2 id="about" style="margin: 0.8em 0;">
<a>思维过于跳跃 × 有点闲</a>
<a class="header-link" href="#about" title="about">
<span class="sr-only">Permalink</span>
<i class="fa fa-link"></i>
</a>
</h2>
<span class="post-category">
<span class="label">小站的由来</span>
</span>
<div class="post-meta">
<span class="post-date" style="margin-left: 15px;">2023.03.22</span>
<a class="post-author">
<img class="avatar avatar-small" width="24" height="24" src="https://avatars3.githubusercontent.com/lin2025" /><span class="author-name">@林同学不姓林</span>
</a>
</div>
<div class="post-content">
<blockquote>
<p style="font-size: 12px;">
首次分享的 GPT 3.5 代码是基于一个 CSDN 博主的 <code style="font-size: 9px;">ChatGPT简易Demo</code> 改写的(原帖已被博主删除/隐藏)。Demo 使用 <code style="font-size: 9px;">text-davci-003</code> 模型,界面无样式,只有一个输入框和一个发送按钮。林同学只能看懂点简单代码,之后在使用过程中结合自身的需求,尝试边学边改、增加功能、添加样式、升级为 <code style="font-size: 9px;">gpt-3.5-turbo</code> 模型。分享给朋友们试玩,得到的反馈也都还不错,在这个过程中,林同学产生了分享交流的想法…
</p>
</blockquote>
<p style="font-size: 16px;">
改写 GPT 代码的过程,林同学产生了分享交流的想法,期间又冒出做个“小站”的想法。随后找到了免费静态网站生成器<a href="https://jekyllrb.com" target="_blank" title="本站UI与CSS的创作者 Jekyll"> Jekyll </a>,并尝试借用其设计折腾出这个只有一个 Html 页面的静态网站。小站没有后端/后台(过于复杂,看不懂),内容打算以纯手工的方式写入 Html 代码… 好在小站的用途只是记录和导航,内容不多。
</p>
</div>
<!-- 0_about -->
</article>
<!-- ***<div class="unit whole"> -->
</div>
<!-- *** -->
<div class="clear"></div>
<!-- ***<div class="grid"> -->
</div>
<!-- ***<section class="news"> -->
</section>
<!-- *** -->
<section class="quickstart" style="margin: 10px 0;">
</section>
<!-- Social id="about-bilibili" -->
<section class="free-hosting">
<div class="grid" id="about-bilibili">
<div class="unit whole">
<div class="grid pane">
<div class="unit whole center-on-mobiles">
<img src="img/bilibili.png" width="300" height="205" alt="哔哩哔哩 bilibili">
<div class="pane-content">
<h2 class="center-on-mobiles">
Bilibili
</h2>
<p>
哔哩哔哩 <code>@林同学不姓林</code>
</p>
<a href="https://space.bilibili.com/3493262545389917" target="_blank" title="林同学的bilibili">
打开林同学的bilibili →
</a>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</section>
<!-- Social id="about-douyin" -->
<section class="free-hosting">
<div class="grid" id="about-douyin">
<div class="unit whole">
<div class="grid pane">
<div class="unit whole center-on-mobiles">
<img src="img/douyin.png" width="300" height="205" alt="抖音 Douyin">
<div class="pane-content">
<h2 class="center-on-mobiles">
Douyin
</h2>
<p>
抖音 <code>@林同学不姓林</code> 抖音号 <code>lin_tong_xue</code>
</p>
<a href="https://www.douyin.com/user/MS4wLjABAAAAVBMwb4AQWZt3xkbgvVS4FYCuQ2xzHCU9LgSX4vJz_n76JK62kQGEfHjYjzrOCHs7" target="_blank" title="林同学的抖音">
打开林同学的抖音 →
</a>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</section>
<!-- goTop -->
<div class="goTop" >△</div>
<!-- Footer -->
<footer>
<div class="grid">
<div class="unit one-third center-on-mobiles">
<p>
© 2023 <a href="http://lin2025.gitee.io/" target="_blank" title="林同学的小站 · http://lin2025.gitee.io/">LinTongXue.com</a>
</p>
</div>
<div class="unit two-thirds align-right center-on-mobiles">
<p>
Theme designed by
<a href="https://jekyllrb.com" target="_blank" title="本站UI与CSS的创作者 Jekyll">
Jekyll
</a>
</p>
</div>
</div>
</footer>
<!-- JavaScript goTop -->
<script>
var gotopdiv = document.querySelector(".goTop");
window.onscroll = function () {
var scrollT = document.documentElement.scrollTop || document.body.scrollTop;
if (scrollT >= 650) {
gotopdiv.style.display = "block";
} else {
gotopdiv.style.display = "none";
}
};
gotopdiv.onclick = function () {
clearInterval(gotopdiv.timer);
gotopdiv.timer = setInterval(function () {
var scrollT = document.documentElement.scrollTop || document.body.scrollTop;
scrollT = scrollT / 10;
scrollT = scrollT > 0 ? Math.ceil(scrollT) : Math.floor(scrollT);
if (scrollT <= 0) {
clearInterval(gotopdiv.timer);
}
document.body.scrollTop = document.body.scrollTop - scrollT;
document.documentElement.scrollTop = document.documentElement.scrollTop - scrollT;
if (scrollT == 1) {
scrollT = 0;
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
}, 15);
}
</script>
<!-- JavaScript Tongji -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?97e23707aaf97f5c79441b04c9da4bc2";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"K2fF2JbGdexGIsPu",ck:"K2fF2JbGdexGIsPu"});
</script>
</body>
</html>