Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7277622c24 | ||
|
|
9127c690a7 | ||
|
|
f2d7f74d5a | ||
|
|
defa7f357e | ||
|
|
d1fb575243 | ||
|
|
adc4f4b29d | ||
|
|
44dc5a6bb3 | ||
|
|
8a1f3a7f04 | ||
|
|
9bcb10adf1 | ||
|
|
d09e81cb94 | ||
|
|
b78c74aeff | ||
|
|
93e1d4b39e | ||
|
|
63a9d3ded1 | ||
|
|
66f7d55f76 | ||
|
|
64b1485070 | ||
|
|
25759ebe0b | ||
|
|
c101368109 | ||
|
|
e4c3c552d7 | ||
|
|
8f531832e5 | ||
|
|
915de0b41a | ||
|
|
0f11aab089 | ||
|
|
213f410143 | ||
|
|
21cab0b4a6 | ||
|
|
801f400b31 | ||
|
|
01fce8116f | ||
|
|
2385e6f980 | ||
|
|
78e1c5b286 | ||
|
|
84966c26ff | ||
|
|
eea466c7fa | ||
|
|
a305536ca9 | ||
|
|
0180c601f0 | ||
|
|
a021dc230d | ||
|
|
1252de9014 | ||
|
|
9eff19dfb4 | ||
|
|
658a26def2 | ||
|
|
2afe1ee44e | ||
|
|
314c68dfc9 | ||
|
|
34994ebff5 | ||
|
|
d59e1880f0 | ||
|
|
fe90d1afea | ||
|
|
3ed7d070df | ||
|
|
84644b1487 | ||
|
|
ad4b523367 | ||
|
|
ac05fdd566 | ||
|
|
fcccafbbc2 | ||
|
|
09caaee7d5 | ||
|
|
7324319081 | ||
|
|
00f5d6a679 | ||
|
|
c3773310a8 | ||
|
|
044651516e | ||
|
|
98a14a0c1b | ||
|
|
bd95563686 | ||
|
|
154dd069ff | ||
|
|
c0390adc01 | ||
|
|
e81c5e1091 | ||
|
|
466ef1a4d3 | ||
|
|
6656b397f6 | ||
|
|
d80fdc5b4b | ||
|
|
fb20e2cd34 | ||
|
|
296619128d | ||
|
|
a2f115c390 | ||
|
|
017869932d | ||
|
|
2c57d0efb6 | ||
|
|
7fd5feac44 | ||
|
|
0c8f068a8a | ||
|
|
a3a32e9d64 | ||
|
|
0ca66ee471 | ||
|
|
342d83c334 | ||
|
|
2ec83210ea | ||
|
|
8ba3984a46 | ||
|
|
a35be76874 | ||
|
|
9c5b14d634 | ||
|
|
0d087d6908 | ||
|
|
f2bf169189 | ||
|
|
0c9dffd737 | ||
|
|
66a21f24dd | ||
|
|
282aac7078 | ||
|
|
cf0edde885 | ||
|
|
eb6c2f5930 | ||
|
|
948cf4c20c | ||
|
|
9aeeda3602 | ||
|
|
2a86cf7905 | ||
|
|
8f23c72b4e | ||
|
|
91acec71c1 | ||
|
|
4170461f4c | ||
|
|
bdfdf79dd2 | ||
|
|
28560f6e31 | ||
|
|
00319f182f | ||
|
|
e529cc621d | ||
|
|
ed3324fadc | ||
|
|
ec7a839324 | ||
|
|
79defc8775 | ||
|
|
21108ffe13 | ||
|
|
b8434daa91 | ||
|
|
c1f3fb49ca | ||
|
|
27a8163d4e | ||
|
|
cf52cbcd33 | ||
|
|
20fc880586 | ||
|
|
0c3699af17 | ||
|
|
87c50ce418 | ||
|
|
b3923821c7 | ||
|
|
4ba8e4d811 | ||
|
|
6491761014 | ||
|
|
80eadabfa2 | ||
|
|
905ab023c0 | ||
|
|
82f1c89571 | ||
|
|
471b36a6d9 | ||
|
|
86720a71fd | ||
|
|
ac48ed0e40 | ||
|
|
12c47a9397 | ||
|
|
194a19a338 | ||
|
|
ad99a7ba65 | ||
|
|
e4c9bf05cb | ||
|
|
fad9d7a322 | ||
|
|
f9d83512e0 | ||
|
|
1a3f9dc10f | ||
|
|
4757eda089 | ||
|
|
5d0d656a3c | ||
|
|
815c881a5e | ||
|
|
4384578b34 | ||
|
|
6ca5a4820b | ||
|
|
eab26b2d7e | ||
|
|
1a98ef22ab | ||
|
|
9303a75ad6 | ||
|
|
a501f59445 | ||
|
|
e30b7a4448 | ||
|
|
d9a8598632 | ||
|
|
b0e72bd969 | ||
|
|
264d566c92 | ||
|
|
a2fdea3bb2 | ||
|
|
64432edecd | ||
|
|
72efa08a88 | ||
|
|
a1770b8c6b | ||
|
|
7b10aa63a8 | ||
|
|
7328ae56bc | ||
|
|
db9afd80a4 | ||
|
|
51e141a6dc | ||
|
|
23cc5e43aa | ||
|
|
891ce398b1 | ||
|
|
0009538d04 | ||
|
|
cd35b35df3 | ||
|
|
d96eaac951 | ||
|
|
66b001c2b1 | ||
|
|
ed2cd1ab23 | ||
|
|
1af8fa8ec6 | ||
|
|
2a1938bc93 | ||
|
|
dc4f20ed26 | ||
|
|
0c55bc6a09 | ||
|
|
db58aae28e | ||
|
|
024c2f73de | ||
|
|
60d64bb67e | ||
|
|
e489061b6f | ||
|
|
8548d4ca47 | ||
|
|
89f605dac6 | ||
|
|
a3c9d58f86 | ||
|
|
1506845052 | ||
|
|
7f35986b9c | ||
|
|
5390d8226b | ||
|
|
b2b199d247 | ||
|
|
ce1f33679e | ||
|
|
4cfad2029c | ||
|
|
5ec5d70111 | ||
|
|
ea9ba9d759 | ||
|
|
b295f5a49d | ||
|
|
ddb7eee3fb | ||
|
|
2ab42f40f7 | ||
|
|
3eb9fa975c | ||
|
|
67ac6a07a2 | ||
|
|
263090660d | ||
|
|
c5a7151ab3 | ||
|
|
e3419403a6 | ||
|
|
03691d08e2 | ||
|
|
3b0c6183ff | ||
|
|
488edf38c9 | ||
|
|
ce85c5b21d | ||
|
|
d79d7576bd | ||
|
|
cf9af364fb | ||
|
|
57d2e46450 | ||
|
|
832acc1309 | ||
|
|
006c5b63cc | ||
|
|
4e3c9db5ae | ||
|
|
a71c39ec7f | ||
|
|
9e97212c83 | ||
|
|
b3498a47eb | ||
|
|
bfd30b82e3 | ||
|
|
119309a778 | ||
|
|
885ef0c37c | ||
|
|
dcd9ef3127 | ||
|
|
5e5baa5249 | ||
|
|
a82c9af78e | ||
|
|
2a03e7879d | ||
|
|
41a41732d1 | ||
|
|
d73ae6d0f7 | ||
|
|
3acb43a7a4 | ||
|
|
374d7ddcb6 | ||
|
|
ef52e20986 | ||
|
|
e4bf4026de | ||
|
|
868515b898 | ||
|
|
a81056d7e3 | ||
|
|
94abd80bb2 | ||
|
|
5cdac69f7a | ||
|
|
83e5fdf2cb | ||
|
|
2d839d0955 | ||
|
|
27b50c0780 | ||
|
|
e009656c43 | ||
|
|
6126710795 | ||
|
|
1022f3836f | ||
|
|
1541683492 | ||
|
|
52879ec6a9 | ||
|
|
4e77d485f5 | ||
|
|
12bc1e7ae4 | ||
|
|
a12fa50b17 | ||
|
|
1dc92ffff5 | ||
|
|
ec3d3d6247 | ||
|
|
b9ae8efc5b | ||
|
|
95b5ada024 | ||
|
|
f9a6cfc806 | ||
|
|
c20df162df | ||
|
|
ede612c324 | ||
|
|
21b6ae0168 | ||
|
|
55e2c7439f | ||
|
|
5adb6e9b8c | ||
|
|
f94dd07ae5 | ||
|
|
8847c0b81c | ||
|
|
67d2514edc | ||
|
|
7371a02991 | ||
|
|
54678c2fe6 | ||
|
|
e5a7f579ea | ||
|
|
bae5567138 | ||
|
|
45df23ff9a | ||
|
|
0bf66d522b | ||
|
|
6ab38964dc | ||
|
|
9d512e09bc | ||
|
|
ca889b420a | ||
|
|
b9a767ff15 | ||
|
|
44f461254c | ||
|
|
bab50bd58b | ||
|
|
7c4f06e4d9 | ||
|
|
cd4f699e74 | ||
|
|
ae7e21d6c5 | ||
|
|
2c4876ac39 | ||
|
|
322f02dec3 | ||
|
|
2836b93463 | ||
|
|
31ec4f078e | ||
|
|
c1124d58a0 | ||
|
|
2d66b72735 | ||
|
|
b71d7006ab | ||
|
|
b65e8b4286 | ||
|
|
ce75a41388 | ||
|
|
90b74e20d0 | ||
|
|
ab6b1a2f0f | ||
|
|
a9ad722841 | ||
|
|
1d7c63ee77 | ||
|
|
190bfdd3f4 | ||
|
|
9c31ab0039 | ||
|
|
45b4407ec3 | ||
|
|
3b547c24aa | ||
|
|
0b1a7cc06d | ||
|
|
b3d992baee | ||
|
|
d18f005268 | ||
|
|
b9a192c524 | ||
|
|
f8200e914e | ||
|
|
a48cf50756 | ||
|
|
1842bef60d | ||
|
|
1cbda8a6ea | ||
|
|
4d73ee7dd8 | ||
|
|
0e97d26645 | ||
|
|
43ade01424 | ||
|
|
72f5e12016 | ||
|
|
af053b3d3a | ||
|
|
7fb8166e7b | ||
|
|
1e73248520 | ||
|
|
b40ee7236c | ||
|
|
4c4ff5f12b | ||
|
|
3d41e68a8f | ||
|
|
9b3613c63c | ||
|
|
96faff5b2e | ||
|
|
0e00e1b363 | ||
|
|
eeb6a281d9 | ||
|
|
906ed9f284 | ||
|
|
964bbda8a4 | ||
|
|
9944d729f8 | ||
|
|
f14a1cb7e9 | ||
|
|
19def2536f | ||
|
|
a9b52767a5 | ||
|
|
660c816106 | ||
|
|
08560c5d10 | ||
|
|
52fea181ab | ||
|
|
d1ece06028 | ||
|
|
4f0e9ab417 | ||
|
|
73b76d3974 | ||
|
|
1bf3377a70 | ||
|
|
68bf2f3400 | ||
|
|
fd2c74b8ec | ||
|
|
968bc5025a | ||
|
|
3e1e5439d0 | ||
|
|
e609ed719e | ||
|
|
5fa42387d7 | ||
|
|
82e771df0d | ||
|
|
255617e085 | ||
|
|
9c4ed44b5e | ||
|
|
800bd0980f | ||
|
|
b7f7a2cd3d | ||
|
|
66fd7123bc | ||
|
|
b5b9538c08 | ||
|
|
662cce8c6c | ||
|
|
f45ea2a5a2 | ||
|
|
e1a337f140 | ||
|
|
bd7e7c6379 | ||
|
|
a1f16f470b | ||
|
|
339d3c357d | ||
|
|
9eebe6ce61 | ||
|
|
321ecbec77 | ||
|
|
57713c53a3 | ||
|
|
afab72dfd7 | ||
|
|
1b7632c352 | ||
|
|
a46e7a30bd | ||
|
|
c75fd0379d | ||
|
|
9f3d40e3ed | ||
|
|
4e8739b7c7 | ||
|
|
7ea6f7f8e1 | ||
|
|
5dc62f78b4 | ||
|
|
5c537e6eb8 | ||
|
|
a67e72ba1c | ||
|
|
abad09caa3 | ||
|
|
100e572aae | ||
|
|
2821f2d6a5 | ||
|
|
a82c07548b | ||
|
|
40433c6ddf | ||
|
|
65cbf1fb9d | ||
|
|
b24f39bd5f | ||
|
|
67e30681e7 | ||
|
|
801952f97b | ||
|
|
dc79f678c3 | ||
|
|
cde51513da | ||
|
|
d4524e1e0e | ||
|
|
65f598fde3 | ||
|
|
125c48690b | ||
|
|
ff4b0e17f5 | ||
|
|
3fe0e629c0 | ||
|
|
1588c88100 | ||
|
|
b9da16ed95 | ||
|
|
a575b072da | ||
|
|
862ac3fed8 | ||
|
|
c44bb9bb41 | ||
|
|
bbe6583e03 | ||
|
|
2e5244eec4 | ||
|
|
a96ff7049c | ||
|
|
d271dd2c97 | ||
|
|
6aa7bef671 | ||
|
|
4e2bc3e80a | ||
|
|
3ebca48279 | ||
|
|
3d0abbaf9d | ||
|
|
34a2436a67 | ||
|
|
ba9b4696bb | ||
|
|
41266b353c | ||
|
|
9ed03185fb | ||
|
|
2b3856d879 | ||
|
|
fd14855da9 | ||
|
|
7cce26bd22 | ||
|
|
edab2e84b9 | ||
|
|
fe0fd95720 | ||
|
|
e6413d0905 | ||
|
|
4d4a9b97a5 | ||
|
|
12eef00da2 | ||
|
|
bd47521ed6 | ||
|
|
343b6c21f9 | ||
|
|
afda35876c | ||
|
|
7292c86735 | ||
|
|
2e9a36b0cc | ||
|
|
15af85c77d | ||
|
|
7ec99c705a | ||
|
|
ecced62bc7 | ||
|
|
93d421e029 | ||
|
|
24cee20cfb | ||
|
|
f6a0a2b65c | ||
|
|
dc9e8add6f | ||
|
|
5f39014f91 | ||
|
|
624b843f79 | ||
|
|
d6fbe65bbb | ||
|
|
f705f12f34 | ||
|
|
43a461c580 | ||
|
|
20c6cb242b | ||
|
|
8fef5288b9 | ||
|
|
e268fbb9b1 | ||
|
|
ca9a5c72ea | ||
|
|
11d31b7a17 | ||
|
|
324398a9ed | ||
|
|
8893b024ca | ||
|
|
09fd3b16cf | ||
|
|
a9061efa36 | ||
|
|
19a05e8e43 | ||
|
|
2b1cadc7cb | ||
|
|
1adea9305e | ||
|
|
5f32055a64 | ||
|
|
4ddeeab3cc | ||
|
|
2d0d735528 | ||
|
|
c60cafda45 | ||
|
|
2c9805858a | ||
|
|
1785c2ac95 | ||
|
|
cc42dcf555 | ||
|
|
b124c5c87d | ||
|
|
4c9ce79811 | ||
|
|
c414a20221 | ||
|
|
847a179b7a | ||
|
|
1a1f445a14 | ||
|
|
8bae9d8472 | ||
|
|
df8e44e527 | ||
|
|
68452e6c08 | ||
|
|
b3f495a923 | ||
|
|
ea43b8c441 | ||
|
|
f6e56ad8e6 | ||
|
|
3dc13ee272 | ||
|
|
b6332d4939 | ||
|
|
c1cd609ade | ||
|
|
15edcbb4ac | ||
|
|
6177985340 | ||
|
|
2a4a8811f7 | ||
|
|
63409e26f1 | ||
|
|
296deba415 | ||
|
|
54b0628631 | ||
|
|
006ffec1f9 | ||
|
|
379207a3d8 | ||
|
|
43c29b0df9 | ||
|
|
8f81da2363 | ||
|
|
3f49c69328 | ||
|
|
fe9dec1fea | ||
|
|
7b947c96d7 | ||
|
|
e67d6baffe | ||
|
|
b0405955e3 | ||
|
|
d2914ccbeb | ||
|
|
2840305d29 | ||
|
|
e58e3e4df8 | ||
|
|
e97546c194 | ||
|
|
f1dab2288c | ||
|
|
b0d6e6d0c3 | ||
|
|
66ecd37b4a | ||
|
|
c9e64c8091 | ||
|
|
ad765f2275 | ||
|
|
40e371aa72 | ||
|
|
993d3faa03 | ||
|
|
d964e0d667 | ||
|
|
79fea63198 | ||
|
|
ba7621f845 | ||
|
|
9886ebb3a1 | ||
|
|
95ca39d8e0 | ||
|
|
971f1c40b7 | ||
|
|
6b623cead9 | ||
|
|
92d4a7f19e | ||
|
|
bf5b2a5c40 | ||
|
|
0fe838223f | ||
|
|
932d2509e1 | ||
|
|
d7547ef869 | ||
|
|
7b6eaf6ed0 | ||
|
|
cddbc60587 | ||
|
|
92637fd1f9 | ||
|
|
4d7c776ecd | ||
|
|
1317889dc4 | ||
|
|
1bc54f06cf | ||
|
|
6bbee41565 | ||
|
|
ca1bed3b47 | ||
|
|
c2006a60ea | ||
|
|
f25a6c6bcc | ||
|
|
c038ebbcfa | ||
|
|
fdeb3f225f | ||
|
|
5c0bb34f69 | ||
|
|
7b065b782b | ||
|
|
54a9f630d0 | ||
|
|
7ae31cf980 | ||
|
|
9d5c1800fa | ||
|
|
f6297ed304 | ||
|
|
4bfd6ded89 | ||
|
|
1cc49e70e7 | ||
|
|
d78bd26977 | ||
|
|
4777531014 | ||
|
|
0a7f06855b | ||
|
|
33659c4e7a | ||
|
|
440c2851f2 | ||
|
|
de27382e50 | ||
|
|
1f959a0e82 | ||
|
|
07c6f09be2 | ||
|
|
12540bfbcd | ||
|
|
ec00cc023f | ||
|
|
839b76dedd | ||
|
|
dfce704278 | ||
|
|
c2bad577ea | ||
|
|
658d046e2f | ||
|
|
bd60065e90 | ||
|
|
5f2c6b8853 | ||
|
|
8beb1ade21 | ||
|
|
2b3910b968 | ||
|
|
ecf991ec81 | ||
|
|
2f2092106e | ||
|
|
9811b0dc3a | ||
|
|
7ff70819c1 | ||
|
|
0942a2012e | ||
|
|
bdd2708f89 | ||
|
|
a894036d34 | ||
|
|
420fb5ef17 | ||
|
|
a89f31d614 | ||
|
|
10a4d39c7e | ||
|
|
b20b865887 | ||
|
|
9ab8ca9b6b | ||
|
|
ef6d0acaed | ||
|
|
b09d7abf49 | ||
|
|
0081f5d0d7 | ||
|
|
5ef3b3417b | ||
|
|
a328058b93 | ||
|
|
c0a285eaa2 | ||
|
|
f6dc978595 | ||
|
|
4ce7fa59be | ||
|
|
4225f217d0 | ||
|
|
2d48a3bd25 | ||
|
|
fb0fd0d242 | ||
|
|
6b1b614045 | ||
|
|
85da761244 | ||
|
|
c617b7e7d5 | ||
|
|
165cad1549 | ||
|
|
2cda80ffe4 | ||
|
|
a79aed4694 | ||
|
|
f558e12bda | ||
|
|
eec9844e39 | ||
|
|
a527ae1ad7 | ||
|
|
0736e72baf | ||
|
|
e85b26d5dc | ||
|
|
15f1d14db2 | ||
|
|
9483ec464a | ||
|
|
34b20b664f | ||
|
|
6d85f527a2 | ||
|
|
16ac0f3a31 | ||
|
|
231ae91ae6 | ||
|
|
0442d39e60 | ||
|
|
cdadad1ede | ||
|
|
5f2882e33f | ||
|
|
c51f63cd7a | ||
|
|
4ea7b22f4b | ||
|
|
7ee05adf9b | ||
|
|
cbcb772a64 | ||
|
|
2434822a44 | ||
|
|
b8c99ef2c1 | ||
|
|
20dc882b75 | ||
|
|
c1699b4193 | ||
|
|
4488110ea0 | ||
|
|
6a5a0efff9 | ||
|
|
61a8c65b2d | ||
|
|
abe5aa7cc0 | ||
|
|
1668b94f97 | ||
|
|
93d9af931a | ||
|
|
2f76bbb7d6 | ||
|
|
74647ab270 | ||
|
|
15f6f745a0 | ||
|
|
6f4832b491 | ||
|
|
4fdc5acfbe | ||
|
|
0f2a56ddf1 | ||
|
|
b01bf57fda | ||
|
|
76f0e892a4 | ||
|
|
8bff8a59a5 | ||
|
|
de99802ac8 | ||
|
|
198526bcbe | ||
|
|
625f4fe8b4 | ||
|
|
2b51a3348c | ||
|
|
28004e7616 | ||
|
|
c6e5b394f2 | ||
|
|
439286b946 | ||
|
|
100c934f5a | ||
|
|
216b251f3e | ||
|
|
142ac02293 | ||
|
|
7cc9ebff8d | ||
|
|
7c7b212684 | ||
|
|
af709ce079 | ||
|
|
af7d30b248 | ||
|
|
d804720357 | ||
|
|
5f4c9bf301 | ||
|
|
6cafd60bb3 | ||
|
|
62a6fa8519 | ||
|
|
f91bcb6c73 | ||
|
|
d15ad3ef8f | ||
|
|
6d53ab3001 | ||
|
|
4676777d17 | ||
|
|
73d669628d | ||
|
|
ef7e412896 | ||
|
|
c21317d69e | ||
|
|
63ddd82792 | ||
|
|
92109d9044 | ||
|
|
93ec43893c | ||
|
|
56cf662081 | ||
|
|
936cb32264 | ||
|
|
837ecb636a | ||
|
|
2a41834b3d | ||
|
|
1c9658c82a | ||
|
|
16b4503d8f | ||
|
|
67e94493cb | ||
|
|
427c21ee8c | ||
|
|
50743afaa9 | ||
|
|
36a62aad9e | ||
|
|
9134504a7b | ||
|
|
d2cce0eead | ||
|
|
88a2b46a77 | ||
|
|
b03fd99588 | ||
|
|
2cd6739aaa | ||
|
|
4031a599ac | ||
|
|
1db21e1a13 | ||
|
|
f7f2c3078f | ||
|
|
f6aa6609cd | ||
|
|
6793db967f | ||
|
|
5bde642f5b | ||
|
|
3616895190 | ||
|
|
507cddcba7 | ||
|
|
569ca97b13 | ||
|
|
7ce52046fd | ||
|
|
939d1bf663 | ||
|
|
eb30b84bff | ||
|
|
b856e2f566 | ||
|
|
f5013d373d | ||
|
|
6199fcb5da | ||
|
|
402d88c354 | ||
|
|
b0baeba156 | ||
|
|
751647461e | ||
|
|
6c3984d4f4 | ||
|
|
6b3bd1e6cf | ||
|
|
7a3e62692c | ||
|
|
cfa642507f | ||
|
|
36b3d4cac3 | ||
|
|
6cc4918d25 | ||
|
|
da8ccbbcc1 | ||
|
|
f5635155b9 | ||
|
|
faf850794a | ||
|
|
ce90556729 | ||
|
|
65f900f0be | ||
|
|
48c9c8ca51 | ||
|
|
41437c7770 | ||
|
|
7b3a6135f7 | ||
|
|
496e5008b1 | ||
|
|
66562c53be | ||
|
|
4d07e4f785 | ||
|
|
569ae28e9e | ||
|
|
c4a30056a2 | ||
|
|
71c02d0297 | ||
|
|
9950bdda31 | ||
|
|
327063f7fa | ||
|
|
a297962b99 | ||
|
|
c1e967021f | ||
|
|
8e2ffa3a01 | ||
|
|
3b30672b09 | ||
|
|
a73ad9d53f | ||
|
|
dac14985f4 | ||
|
|
a67d771d75 | ||
|
|
db19ccb0f0 | ||
|
|
e16b1d533b | ||
|
|
ea30e8abe5 | ||
|
|
fdc0665987 | ||
|
|
d9a7a74116 | ||
|
|
0e59edf5e1 | ||
|
|
a1c797fb13 | ||
|
|
1b8b8f0f37 | ||
|
|
f215ff664e | ||
|
|
aa05749e9b | ||
|
|
82566e1163 | ||
|
|
097cfc2e4f | ||
|
|
7ecf8b58ca | ||
|
|
29623350bd | ||
|
|
76cfa2c050 | ||
|
|
5d38f57292 | ||
|
|
335f311474 | ||
|
|
4aecc49e2a | ||
|
|
2a13d1d9d5 | ||
|
|
4d36ebd6f3 | ||
|
|
3d05198efd | ||
|
|
2263ebe75d | ||
|
|
384bb56f1e | ||
|
|
2500fc3cdd | ||
|
|
d44cbac87f | ||
|
|
e24e2bb2ca | ||
|
|
6ad55a7fa5 | ||
|
|
d33c08abd4 | ||
|
|
61b672f02e | ||
|
|
3a6e1cc660 | ||
|
|
26417f1383 | ||
|
|
e156373ad0 | ||
|
|
5029c6c3f5 | ||
|
|
4f2174eced | ||
|
|
60cbda218c | ||
|
|
d63c5683e3 | ||
|
|
64a1ecac7e | ||
|
|
2cda771055 | ||
|
|
d400a74bed | ||
|
|
de6cfc339a | ||
|
|
a0efd37a0c | ||
|
|
13a1110474 | ||
|
|
05ef64769d | ||
|
|
001c8fa2b8 | ||
|
|
cc55a885a4 | ||
|
|
a079dfaf11 | ||
|
|
433a6575e8 | ||
|
|
9a136dbd75 | ||
|
|
63a1f7abee | ||
|
|
9b9a6d909a | ||
|
|
743371159b | ||
|
|
5cf91b1264 | ||
|
|
aa33f3be94 | ||
|
|
1f4c01fedf | ||
|
|
1c0ce37d3e | ||
|
|
872c39ce3b | ||
|
|
3663eb4564 | ||
|
|
02330b4d12 | ||
|
|
d8544385ab | ||
|
|
21198fbad8 | ||
|
|
b879b53a55 | ||
|
|
5bea179f3b | ||
|
|
6eedc8e44c | ||
|
|
9f04dcb498 | ||
|
|
215e7cef65 | ||
|
|
3686971848 | ||
|
|
406724f200 | ||
|
|
eff98b6efd | ||
|
|
b36932f4df | ||
|
|
6b619b225b | ||
|
|
4d95807d4d | ||
|
|
e787370fc3 | ||
|
|
fd416dc6ae | ||
|
|
c17e4c321c | ||
|
|
41ab2eb1c3 | ||
|
|
53bfce557f | ||
|
|
94d4b06dc7 | ||
|
|
a104082943 | ||
|
|
f24fd58710 | ||
|
|
388acc4ddd | ||
|
|
d6afa07560 | ||
|
|
6cf2d95144 | ||
|
|
7b9837fd06 | ||
|
|
5e272e91d2 | ||
|
|
82323fb2eb | ||
|
|
cebcd970c1 | ||
|
|
7cf902b7d2 | ||
|
|
fcac6b0fe2 | ||
|
|
2989f9566d | ||
|
|
e764f94c8a | ||
|
|
f60f2cb7a7 | ||
|
|
a73decaac6 | ||
|
|
171806db2f | ||
|
|
dbcc628d53 | ||
|
|
366f235c02 | ||
|
|
7d2e4d4888 | ||
|
|
4ed158e23e | ||
|
|
d6e6f9520d | ||
|
|
3affc38b39 | ||
|
|
10e5e1e5ea | ||
|
|
083e5efb32 | ||
|
|
41c32fd12f | ||
|
|
338de3f042 | ||
|
|
dde7e9ba97 | ||
|
|
e13c1a3877 | ||
|
|
44e7d2ab01 | ||
|
|
cb00faa570 | ||
|
|
baabea2c55 | ||
|
|
8b7b51ffad | ||
|
|
8a47fa8385 | ||
|
|
052f12f8bc | ||
|
|
1041fb77f7 | ||
|
|
ebe4c5ef7b | ||
|
|
d1b7423f7b | ||
|
|
c89e28a645 | ||
|
|
a465b39b8a | ||
|
|
99b054b644 | ||
|
|
3d4b16d18c | ||
|
|
20147fc8ca | ||
|
|
9490c898c9 | ||
|
|
028b860bde | ||
|
|
1922499193 | ||
|
|
2dc54a95b5 | ||
|
|
c0a8e26564 | ||
|
|
b2fbd3d972 | ||
|
|
0eb8aecdb2 | ||
|
|
cb628ae072 | ||
|
|
455f1f0293 | ||
|
|
89f575852b | ||
|
|
4e638c65c5 | ||
|
|
7309796847 | ||
|
|
38d83c7eec | ||
|
|
309b1679c5 | ||
|
|
e0724a2825 | ||
|
|
c9271a9462 | ||
|
|
87428fba78 | ||
|
|
2389cd91b4 | ||
|
|
8e4c872b2b | ||
|
|
d09e3d114c | ||
|
|
3c295cff77 | ||
|
|
d6763a2931 | ||
|
|
d4e512ebe9 | ||
|
|
f3bd18b79d | ||
|
|
dc40b82c9a | ||
|
|
46f4b1e735 | ||
|
|
2dec0ffce6 | ||
|
|
abc2bce7cf | ||
|
|
bea28c1845 | ||
|
|
1e48220711 | ||
|
|
fc8dad5c3f | ||
|
|
d79d4f83f9 | ||
|
|
0c77d41fa6 | ||
|
|
26790f9b3c | ||
|
|
a76a47c541 | ||
|
|
0c423b7d08 | ||
|
|
8baeb0c8d4 | ||
|
|
60234d7b3f | ||
|
|
e90c9c5576 | ||
|
|
3850477814 | ||
|
|
c760ba54f2 | ||
|
|
a34592b397 | ||
|
|
2aa9af07a9 | ||
|
|
06dc120c22 | ||
|
|
e8c23a9cd5 | ||
|
|
0a13b2da53 | ||
|
|
0d54556d6d | ||
|
|
1f28dc26fb | ||
|
|
d23f6e541d | ||
|
|
b4f877e8fd | ||
|
|
e25f2be75f | ||
|
|
1e91cfa679 | ||
|
|
7a0362c5f0 | ||
|
|
997146b4e6 | ||
|
|
aa8958adba | ||
|
|
e451bdf4d0 | ||
|
|
e859011a98 | ||
|
|
5b6f7548e6 | ||
|
|
28b2615c7a | ||
|
|
2b4e36340e | ||
|
|
9c569eff8a | ||
|
|
00d731a55b | ||
|
|
01da74e3a0 | ||
|
|
e7ecb6689f | ||
|
|
14c471170e | ||
|
|
efac6bbe67 | ||
|
|
634add4b45 | ||
|
|
b535250428 | ||
|
|
d37d624b76 | ||
|
|
ee6a50fa8c | ||
|
|
de97167789 | ||
|
|
e3b173703c | ||
|
|
4ae387be93 | ||
|
|
95a2c736cf | ||
|
|
d80a0f1132 | ||
|
|
f96bc01d9b | ||
|
|
19397c37ff | ||
|
|
50589d51da | ||
|
|
bd338518a0 | ||
|
|
52ee6eaa1d | ||
|
|
18732874dc | ||
|
|
9642f8acf5 | ||
|
|
8cfa142b23 | ||
|
|
b695107b39 | ||
|
|
1bf922d395 | ||
|
|
ec607362b6 | ||
|
|
e23a0d2a93 | ||
|
|
4591056e38 | ||
|
|
448941af5d | ||
|
|
5a6e8a8d0d | ||
|
|
9aafceacc6 | ||
|
|
4e720aa333 | ||
|
|
910a54725f | ||
|
|
e63968212c | ||
|
|
e499f6bfb4 | ||
|
|
680dada017 | ||
|
|
741f4c41f9 | ||
|
|
f950972468 | ||
|
|
1960be197b | ||
|
|
ab87fdec38 | ||
|
|
a8ea6d621c | ||
|
|
b8d7706752 | ||
|
|
2192308e08 | ||
|
|
deb55c1eef | ||
|
|
f784dbf556 | ||
|
|
3ade2a3c90 | ||
|
|
8bb41605e9 | ||
|
|
7391878b1c | ||
|
|
f04961c8d3 | ||
|
|
4e92d6a582 | ||
|
|
533dca5a1a | ||
|
|
e38df3bf0a | ||
|
|
b07c6f203b | ||
|
|
ec7b9b26c1 | ||
|
|
790695a2e5 | ||
|
|
cd6244d4b7 | ||
|
|
7b87227cd2 | ||
|
|
26ebf6ec64 | ||
|
|
21898e64fb | ||
|
|
308c780d69 | ||
|
|
a0c6f6d482 | ||
|
|
099809c742 | ||
|
|
ba24a691f0 | ||
|
|
5e15e685a7 | ||
|
|
e424f37da1 | ||
|
|
f87976cc8b | ||
|
|
486cda3592 | ||
|
|
7b228eead7 | ||
|
|
ac529307b9 | ||
|
|
82986f7cf3 | ||
|
|
3e7b8b796b | ||
|
|
932ce422e3 | ||
|
|
e4fa5945a7 | ||
|
|
44e7e646f6 | ||
|
|
385539938c | ||
|
|
fbf2d5fc00 | ||
|
|
a9c0d50da2 | ||
|
|
d8136649c1 | ||
|
|
637a60812f | ||
|
|
07401cfd21 | ||
|
|
213a4f1aee | ||
|
|
f306fd8ca5 | ||
|
|
2d7cc1185c | ||
|
|
d4e1a8cda8 | ||
|
|
db7f0de1f3 | ||
|
|
cafb8eb9ce | ||
|
|
564c5301ce | ||
|
|
5a6b3af66d | ||
|
|
1e578ba85f | ||
|
|
a417031af4 |
@@ -1,14 +1,4 @@
|
||||
.git
|
||||
.github
|
||||
.vscode
|
||||
node_modules
|
||||
npm-debug.log
|
||||
readme*
|
||||
Start.bat
|
||||
/dist
|
||||
/backups
|
||||
cloudflared.exe
|
||||
access.log
|
||||
/data
|
||||
/cache
|
||||
.DS_Store
|
||||
Start.bat
|
||||
@@ -1,14 +0,0 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{js, conf, json, css, less, html}]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
@@ -1,91 +0,0 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
],
|
||||
env: {
|
||||
es6: true,
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
// Server-side files (plus this configuration file)
|
||||
files: ['src/**/*.js', './*.js', 'plugins/**/*.js'],
|
||||
env: {
|
||||
node: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['src/**/*.mjs'],
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
},
|
||||
env: {
|
||||
node: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
// Browser-side files
|
||||
files: ['public/**/*.js'],
|
||||
env: {
|
||||
browser: true,
|
||||
jquery: true,
|
||||
},
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
},
|
||||
// These scripts are loaded in HTML; tell ESLint not to complain about them being undefined
|
||||
globals: {
|
||||
DOMPurify: 'readonly',
|
||||
droll: 'readonly',
|
||||
Fuse: 'readonly',
|
||||
Handlebars: 'readonly',
|
||||
hljs: 'readonly',
|
||||
localforage: 'readonly',
|
||||
moment: 'readonly',
|
||||
pdfjsLib: 'readonly',
|
||||
Popper: 'readonly',
|
||||
showdown: 'readonly',
|
||||
showdownKatex: 'readonly',
|
||||
SVGInject: 'readonly',
|
||||
toastr: 'readonly',
|
||||
Readability: 'readonly',
|
||||
isProbablyReaderable: 'readonly',
|
||||
ePub: 'readonly',
|
||||
diff_match_patch: 'readonly',
|
||||
},
|
||||
},
|
||||
],
|
||||
// There are various vendored libraries that shouldn't be linted
|
||||
ignorePatterns: [
|
||||
'public/lib/**/*',
|
||||
'*.min.js',
|
||||
'src/ai_horde/**/*',
|
||||
'plugins/**/*',
|
||||
'data/**/*',
|
||||
'backups/**/*',
|
||||
'node_modules/**/*',
|
||||
],
|
||||
rules: {
|
||||
'no-unused-vars': ['error', { args: 'none' }],
|
||||
'no-control-regex': 'off',
|
||||
'no-constant-condition': ['error', { checkLoops: false }],
|
||||
'require-yield': 'off',
|
||||
'quotes': ['error', 'single'],
|
||||
'semi': ['error', 'always'],
|
||||
'indent': ['error', 4, { SwitchCase: 1, FunctionDeclaration: { parameters: 'first' } }],
|
||||
'comma-dangle': ['error', 'always-multiline'],
|
||||
'eol-last': ['error', 'always'],
|
||||
'no-trailing-spaces': 'error',
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
'space-infix-ops': 'error',
|
||||
'no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }],
|
||||
'no-cond-assign': 'error',
|
||||
|
||||
// These rules should eventually be enabled.
|
||||
'no-async-promise-executor': 'off',
|
||||
'no-inner-declarations': 'off',
|
||||
},
|
||||
};
|
||||
@@ -1,90 +0,0 @@
|
||||
name: Bug Report 🐛
|
||||
description: Report something that's not working the intended way. Support requests for external programs (reverse proxies, 3rd party servers, other peoples' forks) will be refused! Please use English only.
|
||||
title: '[BUG] <title>'
|
||||
labels: ['🐛 Bug']
|
||||
body:
|
||||
- type: dropdown
|
||||
id: environment
|
||||
attributes:
|
||||
label: Environment
|
||||
description: Where are you running SillyTavern?
|
||||
options:
|
||||
- 🪟 Windows
|
||||
- 🐧 Linux
|
||||
- 📱 Termux
|
||||
- 🐋 Docker
|
||||
- 🍎 Mac
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: system
|
||||
attributes:
|
||||
label: System
|
||||
description: >-
|
||||
For deployment issues, specify your [distro or OS](https://whatsmyos.com/) and/ or Docker version.
|
||||
For client-side issues, include your [browser version](https://www.whatsmybrowser.org/)
|
||||
placeholder: e.g. Firefox 101, Manjaro Linux 21.3.0, Docker 20.10.16
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Version
|
||||
description: What version of SillyTavern are you running?
|
||||
placeholder: (check User Settings to see the version)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: desktop
|
||||
attributes:
|
||||
label: Desktop Information
|
||||
description: Please provide details about your desktop environment.
|
||||
placeholder: |
|
||||
- Node.js version (if applicable): [run `node --version` in cmd]
|
||||
- Generation API [e.g. KoboldAI, OpenAI]
|
||||
- Branch [staging, release]
|
||||
- Model [e.g. Pygmalion 6b, LLaMa 13b]
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: repro
|
||||
attributes:
|
||||
label: Describe the problem
|
||||
description: Please describe exactly what is not working, include the steps to reproduce, actual result and expected result
|
||||
placeholder: When doing ABC then DEF, I expect to see XYZ, but I actually see ZYX
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Additional info
|
||||
description: Logs? Screenshots? Yes, please.
|
||||
placeholder: If the issue happens during build-time, include terminal logs. For run-time errors, include browser logs which you can view in the Dev Tools (F12), under the Console tab. Take care to blank out any personal info.
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: checkboxes
|
||||
id: user-check
|
||||
attributes:
|
||||
label: Please tick the boxes
|
||||
description: Before submitting, please ensure that you have completed the following checklist
|
||||
options:
|
||||
- label: I have explained the issue clearly, and I included all relevant info
|
||||
required: true
|
||||
- label: I have checked that this [issue hasn't already been raised](https://github.com/SillyTavern/SillyTavern/issues?q=is%3Aissue)
|
||||
required: true
|
||||
- label: I have checked the [docs](https://docs.sillytavern.app/) 
|
||||
required: true
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |-
|
||||
## Thanks 🙏
|
||||
Thank you for raising this ticket - in doing so you are helping to make SillyTavern better for everyone.
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: "[BUG]"
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
- OS/Device: [e.g. Windows 11]
|
||||
- Environment: [cloud, local]
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Generation API [e.g. KoboldAI, OpenAI]
|
||||
- Branch [main, dev]
|
||||
- Model [e.g. Pygmalion 6b, LLaMa 13b]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
@@ -1,91 +0,0 @@
|
||||
name: Feature Request ✨
|
||||
description: Suggest an idea for future development of this project. Please use English only.
|
||||
title: '[FEATURE_REQUEST] <title>'
|
||||
labels: ['🦄 Feature Request']
|
||||
|
||||
body:
|
||||
|
||||
# Field 1 - Did the user searched for similar requests
|
||||
- type: dropdown
|
||||
id: similarRequest
|
||||
attributes:
|
||||
label: Have you searched for similar requests?
|
||||
description:
|
||||
options:
|
||||
- 'No'
|
||||
- 'Yes'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
# Field 2 - Is it bug-related
|
||||
- type: textarea
|
||||
id: issue
|
||||
attributes:
|
||||
label: Is your feature request related to a problem? If so, please describe.
|
||||
description:
|
||||
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
validations:
|
||||
required: false
|
||||
|
||||
# Field 3 - Describe feature
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: Describe the solution you'd like
|
||||
placeholder: An outline of how you would like this to be implemented, include as much details as possible
|
||||
validations:
|
||||
required: true
|
||||
|
||||
# Field 4 - Describe alternatives
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Describe alternatives you've considered
|
||||
placeholder: A clear and concise description of any alternative solutions or features you've considered.
|
||||
validations:
|
||||
required: false
|
||||
|
||||
# Field 5 - Additional context
|
||||
- type: textarea
|
||||
id: addcontext
|
||||
attributes:
|
||||
label: Additional context
|
||||
placeholder: Add any other context or screenshots about the feature request here.
|
||||
validations:
|
||||
required: false
|
||||
|
||||
# Field 6 - Priority
|
||||
- type: dropdown
|
||||
id: priority
|
||||
attributes:
|
||||
label: Priority
|
||||
description: How urgent is the development of this feature
|
||||
options:
|
||||
- Low (Nice-to-have)
|
||||
- Medium (Would be very useful)
|
||||
- High (The app does not function without it)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
# Field 7 - Can the user user test in staging
|
||||
- type: dropdown
|
||||
id: canTestStaging
|
||||
attributes:
|
||||
label: Are you willing to test this on staging/unstable branch if this is implemented?
|
||||
description: Otherwise you'll need to wait until the next stable release after the feature is developed.
|
||||
options:
|
||||
- 'No'
|
||||
- 'Maybe'
|
||||
- 'Yes'
|
||||
validations:
|
||||
required: false
|
||||
|
||||
# Final text
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |-
|
||||
## Thanks 🙏
|
||||
Thank you for your feature suggestion.
|
||||
Please note that there is no guarantee that your idea will be implemented.
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -1,2 +0,0 @@
|
||||
🐛 Bug: ✅ Fixed
|
||||
🦄 Feature Request: ✅ Implemented
|
||||
@@ -1,62 +0,0 @@
|
||||
comment:
|
||||
footer: |
|
||||
---
|
||||
> I am a bot, and this is an automated message 🤖
|
||||
labels:
|
||||
- name: ✖️ Invalid
|
||||
labeled:
|
||||
issue:
|
||||
action: close
|
||||
body: >
|
||||
Hello @{{ issue.user.login }} your ticket has been marked as invalid.
|
||||
Please ensure you follow the issue template, provide all requested info,
|
||||
and be sure to check the docs + previous issues prior to raising tickets.
|
||||
pr:
|
||||
body: Thank you @{{ pull_request.user.login }} for suggesting this. Please follow the pull request templates.
|
||||
action: close
|
||||
|
||||
- name: 👩💻 Good First Issue
|
||||
labeled:
|
||||
issue:
|
||||
body: >
|
||||
This issue has been marked as a good first issue for first-time contributors to implement!
|
||||
This is a great way to support the project, while also improving your skills, you'll also be credited as a contributor once your PR is merged.
|
||||
If you're new to SillyTavern [here are a collection of resources](https://docs.sillytavern.app/)
|
||||
If you need any support at all, feel free to reach out via [Discord](https://discord.gg/sillytavern).
|
||||
|
||||
- name: ❌ wontfix
|
||||
labeled:
|
||||
issue:
|
||||
action: close
|
||||
body: >
|
||||
This ticked has been marked as 'wontfix', which usually means it is out-of-scope, or not feasible at this time.
|
||||
You can still fork the project and make the changes yourself.
|
||||
|
||||
- name: ✅ Fixed
|
||||
labeled:
|
||||
issue:
|
||||
body: >
|
||||
Hello @{{ issue.user.login }}! It looks like all or part of this issue has now been implemented.
|
||||
|
||||
|
||||
- name: ‼️ High Priority
|
||||
labeled:
|
||||
issue:
|
||||
body: >
|
||||
This ticket has been marked as high priority, and has been bumped to the top of the priority list.
|
||||
You should expect an implementation to be pushed out soon. Thank you for your patience.
|
||||
|
||||
- name: 💀 Spam
|
||||
labeled:
|
||||
issue:
|
||||
action: close
|
||||
locking: lock
|
||||
lock_reason: spam
|
||||
body: >
|
||||
This issue has been identified as spam, and is now locked.
|
||||
Users who repeatedly raise spam issues may be blocked or reported.
|
||||
|
||||
- name: ⛔ Don't Merge
|
||||
labeled:
|
||||
pr:
|
||||
body: This PR has been temporarily blocked from merging.
|
||||
@@ -1,18 +0,0 @@
|
||||
# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
|
||||
#critical:
|
||||
# - '(critical|urgent)'
|
||||
|
||||
🪟 Windows:
|
||||
- '(🪟 Windows)'
|
||||
|
||||
🍎 Mac:
|
||||
- '(🍎 Mac)'
|
||||
|
||||
🐋 Docker:
|
||||
- '(🐋 Docker)'
|
||||
|
||||
📱 Termux:
|
||||
- '(📱 Termux)'
|
||||
|
||||
🐧 Linux:
|
||||
- '(🐧 Linux)'
|
||||
@@ -1,5 +0,0 @@
|
||||
<!-- Put X in the box below to confirm -->
|
||||
|
||||
## Checklist:
|
||||
|
||||
- [ ] I have read the [Contributing guidelines](https://github.com/SillyTavern/SillyTavern/blob/release/CONTRIBUTING.md).
|
||||
@@ -1,314 +0,0 @@
|
||||
[English](readme.md) | [中文](readme-zh_cn.md) | 日本語 | [Русский](readme-ru_ru.md)
|
||||
|
||||

|
||||
|
||||
モバイルデバイスにも適したレイアウト・マルチAPI(KoboldAI/CPP、Horde、NovelAI、Ooba、OpenAI、OpenRouter、Claude、Scale)、VN ライクな Waifu モード、Stable Diffusion、TTS、WorldInfo(伝承本)、カスタマイズ可能なUI、自動翻訳、大量のプロンプトオプション+サードパーティの拡張機能をインストールする機能
|
||||
|
||||
[TavernAI](https://github.com/TavernAI/TavernAI) v.1.2.8 のフォークに基づいています。
|
||||
|
||||
## 重要事項
|
||||
|
||||
1. 私たちは[ドキュメントウェブサイト](https://docs.sillytavern.app/) を作成し、ほとんどの質問にお答えしています。
|
||||
|
||||
2. アップデートしたら使っていた拡張機能を見失いましたか?リリースバージョン 1.10.6 以降、これまで内蔵されていた拡張機能のほとんどがダウンロード可能なアドオンに変更されました。ダウンロードは、拡張機能パネル(トップバーのスタックドブロックアイコン)にある内蔵の "Download Extensions and Assets" メニューから行えます。
|
||||
|
||||
### Cohee、RossAscends、SillyTavern コミュニティがお届けします
|
||||
|
||||
### SillyTavern または TavernAI とは何ですか?
|
||||
|
||||
SillyTavern は、あなたのコンピュータ(および Android スマホ)にインストールできるユーザーインターフェイスで、テキスト生成 AI と対話したり、あなたやコミュニティが作成したキャラクターとチャットやロールプレイをすることができます。
|
||||
|
||||
SillyTavern は TavernAI 1.2.8 のフォークで、より活発な開発が行われており、多くの主要な機能が追加されています。現時点では、これらは完全に独立したプログラムと考えることができます。
|
||||
|
||||
### ブランチ
|
||||
|
||||
SillyTavern は、すべてのユーザーにスムーズな体験を保証するために、2 つのブランチシステムを使用して開発されています。
|
||||
|
||||
* release -🌟 **ほとんどのユーザーにお勧め。** これは最も安定した推奨ブランチで、メジャーリリースがプッシュされた時のみ更新されます。大半のユーザーに適しています。
|
||||
* staging - ⚠️ **カジュアルな使用にはお勧めしない。** このブランチには最新の機能がありますが、いつ壊れるかわからないので注意してください。パワーユーザーとマニア向けです。
|
||||
|
||||
git CLI の使い方に慣れていなかったり、ブランチが何なのかわからなかったりしても、心配はいりません!releaseブランチが良い選択肢となります。
|
||||
|
||||
### Tavern 以外に何が必要ですか?
|
||||
|
||||
Tavern は単なるユーザーインターフェイスなので、それだけでは何もできません。ロールプレイキャラクターとして機能する AI システムのバックエンドにアクセスする必要があります。様々なバックエンドがサポートされています。リストはこちらです: OpenAPI API (GPT)、KoboldAI (ローカルまたは Google Colab 上で動作)、その他。詳しくは [FAQ](https://docs.sillytavern.app/usage/faq/) をご覧ください。
|
||||
|
||||
### Tavern を実行するには、ハイスペックなPCが必要ですか?
|
||||
|
||||
Tavern は単なるフロントエンドのUIであり、必要なハードウェアはごくわずかです。パワフルである必要があるのは、AI システムのバックエンドです。
|
||||
|
||||
## モバイルサポート
|
||||
|
||||
> **注**
|
||||
|
||||
> **このフォークは Termux を使って Android スマホで実行できます。ArroganceComplex#2659 のガイドを参照してください:**
|
||||
|
||||
<https://rentry.org/STAI-Termux>
|
||||
|
||||
## ご質問やご提案
|
||||
|
||||
### コミュニティ Discord サーバーを開設しました
|
||||
|
||||
サポートを受けたり、作成したキャラを共有したり、コミュニティの作ったキャラと遊びたいですか?:
|
||||
|
||||
### [参加](https://discord.gg/RZdyAEUPvj)
|
||||
|
||||
***
|
||||
|
||||
開発者と直接連絡:
|
||||
|
||||
* Discord: cohee または rossascends
|
||||
* Reddit: /u/RossAscends または /u/sillylossy
|
||||
* [GitHub issue を投稿](https://github.com/SillyTavern/SillyTavern/issues)
|
||||
|
||||
## このバージョンには以下のコードが含まれます
|
||||
|
||||
* 大幅に修正された TavernAI 1.2.8 (コードの 50% 以上が書き換えまたは最適化されています)
|
||||
* スワイプ
|
||||
* グループチャット: キャラクター同士が会話できるマルチボットルーム
|
||||
* チャットチェックポイント / ブランチ
|
||||
* 高度なKoboldAI / TextGen生成設定と、コミュニティが作成した多くのプリセット
|
||||
* ワールド情報サポート: 豊富な伝承を作成したり、キャラクターカードにトークンを保存したりできます
|
||||
* [OpenRouter](https://openrouter.ai) 各種 API(Claude、GPT-4/3.5 など)の接続
|
||||
* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API 接続
|
||||
* [AI Horde](https://horde.koboldai.net/) 接続
|
||||
* プロンプト生成フォーマットの調整
|
||||
|
||||
## 拡張機能
|
||||
|
||||
SillyTavern は拡張できるようになっており、[SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) でいくつかの追加AIモジュールをホストしています
|
||||
|
||||
* 作者ノート/キャラクターバイアス
|
||||
* キャラクターの感情表現(スプライト)
|
||||
* チャット履歴の自動サマリー
|
||||
* チャットに画像を送り、AI が内容を解釈する
|
||||
* Stable Diffusion 画像生成 (5 つのチャット関連プリセットと 'free mode')
|
||||
* AI 応答メッセージの音声合成(ElevenLabs、Silero、または OS のシステム TTS 経由)
|
||||
|
||||
含まれている拡張機能の完全なリストとその使い方のチュートリアルは [Docs](https://docs.sillytavern.app/) にあります。
|
||||
|
||||
## RossAscends による UI/CSS/クオリティオブライフの調整
|
||||
|
||||
* iOS 用に最適化されたモバイル UI で、ホーム画面へのショートカット保存とフルスクリーンモードでの起動をサポート。
|
||||
* ホットキー
|
||||
* Up = チャットの最後のメッセージを編集する
|
||||
* Ctrl+Up = チャットで最後のユーザーメッセージを編集する
|
||||
* Left = 左スワイプ
|
||||
* Right = 右スワイプ (注: チャットバーに何か入力されている場合、スワイプホットキーが無効になります)
|
||||
* Ctrl+Left = ローカルに保存された変数を見る(ブラウザのコンソールウィンドウにて)
|
||||
* Enter (チャットバー選択時) = AI にメッセージを送る
|
||||
* Ctrl+Enter = 最後の AIのレスポンスを再生成する
|
||||
|
||||
* ユーザー名の変更と文字の削除でページが更新されなくなりました。
|
||||
|
||||
* ページロード時に API に自動的に接続するかどうかを切り替えます。
|
||||
* ページの読み込み時に、最近見た文字を自動的に読み込むかどうかを切り替えます。
|
||||
* より良いトークンカウンター - 保存されていないキャラクターに対して機能し、永続的なトークンと一時的なトークンの両方を表示する。
|
||||
|
||||
* より良い過去のチャット
|
||||
* 新しいチャットのファイル名は、"(文字) - (作成日)" という読みやすい形式で保存されます
|
||||
* チャットのプレビューが 40 文字から 300 文字に増加。
|
||||
* 文字リストの並べ替えに複数のオプション(名前順、作成日順、チャットサイズ順)があります。
|
||||
|
||||
* デフォルトでは、左右の設定パネルはクリックすると閉じます。
|
||||
* ナビパネルのロックをクリックすると、パネルが開いたままになり、この設定はセッションをまたいで記憶されます。
|
||||
* ナビパネルの開閉状態もセッションをまたいで保存されます。
|
||||
|
||||
* カスタマイズ可能なチャット UI:
|
||||
* 新しいメッセージが届いたときにサウンドを再生する
|
||||
* 丸型、長方形のアバタースタイルの切り替え
|
||||
* デスクトップのチャットウィンドウを広くする
|
||||
* オプションの半透明ガラス風パネル
|
||||
* 'メインテキスト'、'引用テキスト'、'斜体テキスト'のページカラーをカスタマイズ可能。
|
||||
* カスタマイズ可能な UI 背景色とぼかし量
|
||||
|
||||
## インストール
|
||||
|
||||
*注: このソフトウェアはローカルにインストールすることを目的としており、colab や他のクラウドノートブックサービス上では十分にテストされていません。*
|
||||
|
||||
> **警告**
|
||||
|
||||
> WINDOWS が管理しているフォルダ(Program Files、System32 など)にはインストールしないでください
|
||||
|
||||
> START.BAT を管理者権限で実行しないでください
|
||||
|
||||
### Windows
|
||||
|
||||
Git 経由でのインストール(更新を容易にするため推奨)
|
||||
|
||||
写真付きのわかりやすいガイドはこちらです:
|
||||
<https://docs.sillytavern.app/installation/windows/>
|
||||
|
||||
1. [NodeJS](https://nodejs.org/en) をインストール(最新の LTS 版を推奨)
|
||||
2. [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32) をインストールする
|
||||
3. Windows エクスプローラーを開く (`Win+E`)
|
||||
4. Windows によって制御または監視されていないフォルダを参照または作成する。(例: C:\MySpecialFolder\)
|
||||
5. 上部のアドレスバーをクリックし、`cmd` と入力して Enter キーを押し、そのフォルダーの中にコマンドプロンプトを開きます。
|
||||
6. 黒いボックス(コマンドプロンプト)がポップアップしたら、そこに以下のいずれかを入力し、Enter を押します:
|
||||
|
||||
* Release ブランチの場合: `git clone https://github.com/SillyTavern/SillyTavern -b release`
|
||||
* Staging ブランチの場合: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
|
||||
|
||||
7. すべてをクローンしたら、`Start.bat` をダブルクリックして、NodeJS に要件をインストールさせる。
|
||||
8. サーバーが起動し、SillyTavern がブラウザにポップアップ表示されます。
|
||||
|
||||
ZIP ダウンロードによるインストール(推奨しない)
|
||||
|
||||
1. [NodeJS](https://nodejs.org/en) をインストールする(最新の LTS 版を推奨)
|
||||
2. GitHub のリポジトリから zip をダウンロードする。(`ソースコード(zip)` は [Releases](https://github.com/SillyTavern/SillyTavern/releases/latest) から入手)
|
||||
3. お好きなフォルダに解凍してください
|
||||
4. `Start.bat` をダブルクリックまたはコマンドラインで実行する。
|
||||
5. サーバーが準備できれば、ブラウザのタブを開きます。
|
||||
|
||||
### Linux
|
||||
|
||||
1. `node -v` を実行して、Node.js v18 以上(最新の [LTS バージョン](https://nodejs.org/en/download/) を推奨)がインストールされていることを確認してください。
|
||||
または、[Node Version Manager](https://github.com/nvm-sh/nvm#installing-and-updating) スクリプトを使用して、迅速かつ簡単に Node のインストールを管理します。
|
||||
2. `start.sh` スクリプトを実行する。
|
||||
3. お楽しみください。
|
||||
|
||||
## API キー管理
|
||||
|
||||
SillyTavern は API キーをサーバーディレクトリの `secrets.json` ファイルに保存します。
|
||||
|
||||
デフォルトでは、入力後にページをリロードしても、フロントエンドには表示されません。
|
||||
|
||||
API ブロックのボタンをクリックして、キーを閲覧できるようにする:
|
||||
|
||||
1. ファイル `config.yaml` で `allowKeysExposure` の値を `true` に設定する。
|
||||
2. SillyTavern サーバを再起動します。
|
||||
|
||||
## リモート接続
|
||||
|
||||
SillyTavern をスマホで使用しながら、同じ Wifi ネットワーク上で ST サーバーを PC で実行したい場合に使用します。
|
||||
|
||||
しかし、これはどこからでもリモート接続を許可するために使用することができます。
|
||||
|
||||
**重要: SillyTavern はシングルユーザーのプログラムなので、ログインすれば誰でもすべてのキャラクターとチャットを見ることができ、UI 内で設定を変更することができます。**
|
||||
|
||||
### 1. ホワイトリスト IP の管理
|
||||
|
||||
* SillyTavern のベースインストールフォルダ内に `whitelist.txt` という新しいテキストファイルを作成します。
|
||||
* テキストエディタでこのファイルを開き、接続を許可したい IP のリストを追加します。
|
||||
|
||||
*個々の IP とワイルドカード IP 範囲の両方が受け入れられる。例:*
|
||||
|
||||
```txt
|
||||
192.168.0.1
|
||||
192.168.0.20
|
||||
```
|
||||
|
||||
または
|
||||
|
||||
```txt
|
||||
192.168.0.*
|
||||
```
|
||||
|
||||
(上記のワイルドカード IP 範囲は、ローカルネットワーク上のどのデバイスでも)
|
||||
|
||||
CIDR マスクも受け付ける(例:10.0.0.0/24)。
|
||||
|
||||
* `whitelist.txt` ファイルを保存する。
|
||||
* TAI サーバーを再起動する。
|
||||
|
||||
これでファイルに指定された IP を持つデバイスが接続できるようになります。
|
||||
|
||||
*注: `config.yaml` にも `whitelist` 配列があり、同じように使うことができるが、`whitelist.txt` が存在する場合、この配列は無視される。*
|
||||
|
||||
### 2. ST ホストマシンの IP の取得
|
||||
|
||||
ホワイトリストの設定後、ST ホストデバイスの IP が必要になります。
|
||||
|
||||
ST ホストデバイスが同じ無線 LAN ネットワーク上にある場合、ST ホストの内部無線 LAN IP を使用します:
|
||||
|
||||
* Windows の場合: ウィンドウズボタン > 検索バーに `cmd.exe` と入力 > コンソールに `ipconfig` と入力して Enter > `IPv4` のリストを探す。
|
||||
|
||||
同じネットワーク上にいない状態で、ホストしているSTに接続したい場合は、STホスト機器のパブリックIPが必要です。
|
||||
|
||||
* ST ホストデバイスを使用中に、[このページ](https://whatismyipaddress.com/)にアクセスし、`IPv4` を探してください。これはリモートデバイスからの接続に使用するものです。
|
||||
|
||||
### 3. リモートデバイスを ST ホストマシンに接続します。
|
||||
|
||||
最終的に使用する IP が何であれ、その IP アドレスとポート番号をリモートデバイスのウェブブラウザに入力します。
|
||||
|
||||
同じ無線 LAN ネットワーク上の ST ホストの典型的なアドレスは以下のようになります:
|
||||
|
||||
`http://192.168.0.5:8000`
|
||||
|
||||
http:// を使用し、https:// は使用しないでください
|
||||
|
||||
### ST をすべての IP に開放する
|
||||
|
||||
これはお勧めしませんが、`config.yaml` を開き、`whitelistMode` を `false` に変更してください。
|
||||
|
||||
SillyTavern のベースインストールフォルダにある `whitelist.txt` が存在する場合は削除(または名前の変更)する必要があります。
|
||||
|
||||
これは通常安全ではないので、これを行う際にはユーザー名とパスワードを設定する必要があります。
|
||||
|
||||
ユーザー名とパスワードは `config.yaml` で設定します。
|
||||
|
||||
ST サーバを再起動すると、ユーザ名とパスワードさえ知っていれば、IP に関係なくどのデバイスでも ST サーバに接続できるようになる。
|
||||
|
||||
### まだ接続できませんか?
|
||||
|
||||
* `config.yaml` で見つかったポートに対して、インバウンド/アウトバウンドのファイアウォールルールを作成します。これをルーターのポートフォワーディングと間違えないでください。そうしないと、誰かがあなたのチャットログを見つける可能性があり、それはマジで止めましょう。
|
||||
* 設定 > ネットワークとインターネット > イーサネットで、プライベートネットワークのプロファイルタイプを有効にします。そうしないと、前述のファイアウォールルールを使っても接続できません。
|
||||
|
||||
## パフォーマンスに問題がありますか?
|
||||
|
||||
ユーザー設定パネルでブラー効果なし(高速 UI)モードを有効にしてみてください。
|
||||
|
||||
## このプロジェクトが気に入りました!どうすれば貢献できますか?
|
||||
|
||||
### やるべきこと
|
||||
|
||||
1. プルリクエストを送る
|
||||
2. 確立されたテンプレートを使って機能提案と課題レポートを送る
|
||||
3. 何か質問する前に、readme ファイルや組み込みのドキュメントを読んでください
|
||||
|
||||
### やるべきではないこと
|
||||
|
||||
1. 金銭の寄付を申し出る
|
||||
2. 何の脈絡もなくバグ報告を送る
|
||||
3. すでに何度も回答されている質問をする
|
||||
|
||||
## 古い背景画像はどこにありますか?
|
||||
|
||||
100% オリジナルコンテンツのみのポリシーに移行しているため、古い背景画像はこのリポジトリから削除されました。
|
||||
|
||||
アーカイブはこちら:
|
||||
|
||||
<https://files.catbox.moe/1xevnc.zip>
|
||||
|
||||
## スクリーンショット
|
||||
|
||||
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/228649245-8061c60f-63dc-488e-9325-f151b7a3ec2d.png">
|
||||
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/228649856-fbdeef05-d727-4d5a-be80-266cbbc6b811.png">
|
||||
|
||||
## ライセンスとクレジット
|
||||
|
||||
**このプログラムは有用であることを願って配布されていますが、いかなる保証もありません;
|
||||
また、商品性または特定目的への適合性についての黙示の保証もありません。
|
||||
詳細は GNU Affero General Public License をご覧ください。**
|
||||
|
||||
* Humi によるTAI Base: 不明ライセンス
|
||||
* Cohee の修正と派生コード: AGPL v3
|
||||
* RossAscends の追加: AGPL v3
|
||||
* CncAnon の TavernAITurbo 改造の一部: 不明ライセンス
|
||||
* kingbri のさまざまなコミットと提案 (<https://github.com/bdashore3>)
|
||||
* city_unit の拡張機能と様々な QoL 機能 (<https://github.com/city-unit>)
|
||||
* StefanDanielSchwarz のさまざまなコミットとバグ報告 (<https://github.com/StefanDanielSchwarz>)
|
||||
* PepperTaco の作品にインスパイアされた Waifu モード (<https:/fugithub.com/peppertaco/Tavern/>)
|
||||
* ピグマリオン大学の皆さん、素晴らしいテスターとしてクールな機能を提案してくれてありがとう!
|
||||
* TextGen のプリセットをコンパイルしてくれた obabooga に感謝
|
||||
* KAI Lite の KoboldAI プリセット: <https://lite.koboldai.net/>
|
||||
* Google による Noto Sans フォント(OFLライセンス)
|
||||
* Font Awesome によるアイコンテーマ <https://fontawesome.com> (アイコン: CC BY 4.0、フォント: SIL OFL 1.1、コード: MIT License)
|
||||
* ZeldaFan0225 による AI Horde クライアントライブラリ: <https://github.com/ZeldaFan0225/ai_horde>
|
||||
* AlpinDale による Linux 起動スクリプト
|
||||
* FAQ を提供してくれた paniphons に感謝
|
||||
* 10K ディスコード・ユーザー記念背景 by @kallmeflocc
|
||||
* デフォルトコンテンツ(キャラクターと伝承書)の提供: @OtisAlejandro、@RossAscends、@kallmeflocc
|
||||
* @doloroushyeonse による韓国語翻訳
|
||||
* k_euler_a による Horde のサポート <https://github.com/Teashrock>
|
||||
* [@XXpE3](https://github.com/XXpE3) による中国語翻訳、中国語 ISSUES の連絡先は @XXpE3
|
||||
@@ -1,359 +0,0 @@
|
||||
<a name="readme-top"></a>
|
||||
|
||||
[English](readme.md) | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | Русский
|
||||
|
||||
![][cover]
|
||||
|
||||
Мобайл-френдли интерфейс, поддержка множества API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), ВН-образный режим Вайфу, Stable Diffusion, TTS, поддержка миров (лорбуков), кастомизируемый UI, автоперевод, тончайшая настройка промптов + возможность устанавливать расширения.
|
||||
|
||||
Основано на форке [TavernAI](https://github.com/TavernAI/TavernAI) версии 1.2.8
|
||||
|
||||
## Важные новости!
|
||||
|
||||
1. Чтобы помочь вам быстрее разобраться в SillyTavern, мы создали [сайт с документацией](https://docs.sillytavern.app/). Ответы на большинство вопросов можно найти там.
|
||||
|
||||
2. Почему пропали расширения после апдейта? Начиная с версии 1.10.6, большинство встроенных расширений были конвертированы в формат загружаемых аддонов. Их можно установить обратно через меню "Download Extensions and Assets" на панели расширений (значок с тремя кубиками сверху).
|
||||
|
||||
3. Не поддерживается следующая платформа: android arm LEtime-web. 32-битный Android требует внешнюю зависимость, которую нельзя установить посредством npm. Для её установки потребуется следующая команда: `pkg install esbuild`. После этого продолжайте установку по общей инструкции.
|
||||
|
||||
### Разрабатывается Cohee, RossAscends и всем сообществом SillyTavern
|
||||
|
||||
### Что такое SillyTavern и TavernAI?
|
||||
|
||||
SillyTavern — это интерфейс, который устанавливается на ПК (и на Android), который даёт возможность общаться с генеративным ИИ и чатиться/ролеплеить с вашими собственными персонажами или персонажами других пользователей.
|
||||
|
||||
SillyTavern — это форк версии TavernAI 1.2.8, который разрабатывается более активно и имеет множество новых функций. Сейчас уже можно сказать, что это две отдельные и абсолютно самостоятельные программы.
|
||||
|
||||
## Скриншоты
|
||||
|
||||
<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/e902c7a2-45a6-4415-97aa-c59c597669c1">
|
||||
<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/f8a79c47-4fe9-4564-9e4a-bf247ed1c961">
|
||||
|
||||
### Ветки
|
||||
|
||||
SillyTavern разрабатывается в двух ветках, чтобы всем категориям пользователей было удобно.
|
||||
|
||||
* release -🌟 **Рекомендовано для большинства пользователей.** Самая стабильная ветка, рекомендуем именно её. Обновляется только в момент крупных релизов. Подходит для большей части пользователей.
|
||||
* staging - ⚠️ **Не рекомендуется для повседневного использования.** В этой ветке весь самый свежий и новый функционал, но будьте аккуратны, поскольку сломаться может в любом месте и в любое время. Только для продвинутых пользователей и энтузиастов.
|
||||
|
||||
Если вы не умеете обращаться с git через командную строку, или не знаете, что такое ветка, то не переживайте! Наилучшим вариантом всегда остаётся ветка release.
|
||||
|
||||
### Что ещё нужно, кроме SillyTavern?
|
||||
|
||||
Сама по себе SillyTavern бесполезна, ведь это просто интерфейс. Вам потребуется доступ к бэкенду с ИИ, который и будет отыгрывать выбранного вами персонажа. Поддерживаются разные виды бэкендов: OpenAPI API (GPT), KoboldAI (локально или на Google Colab), и многое другое. Больше информации в [FAQ](https://docs.sillytavern.app/usage/faq/).
|
||||
|
||||
### Требуется ли для SillyTavern мощный ПК?
|
||||
|
||||
SillyTavern — это просто интерфейс, поэтому запустить его можно на любой картошке. Мощным должен быть бэкенд с ИИ.
|
||||
|
||||
## Есть вопросы или предложения?
|
||||
|
||||
### У нас появился сервер в Discord
|
||||
|
||||
| [![][discord-shield-badge]][discord-link] | [Вступайте в наше Discord-сообщество!](https://discord.gg/sillytavern) Задавайте вопросы, делитесь любимыми персонажами и промптами. |
|
||||
| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
|
||||
|
||||
Также можно написать разработчикам напрямую:
|
||||
|
||||
* Discord: cohee или rossascends
|
||||
* Reddit: [/u/RossAscends](https://www.reddit.com/user/RossAscends/) или [/u/sillylossy](https://www.reddit.com/user/sillylossy/)
|
||||
* [Запостить issue на GitHub](https://github.com/SillyTavern/SillyTavern/issues)
|
||||
|
||||
## Эта версия включает
|
||||
|
||||
* Глубоко переработанную TavernAI 1.2.8 (переписано и оптимизировано более 50% кода)
|
||||
* Свайпы
|
||||
* Групповые чаты: комнаты для нескольких ботов, где персонажи могут говорить друг с другом и с вами
|
||||
* Чекпоинты и ветки для чатов
|
||||
* Продвинутые настройки для KoboldAI / TextGen со множеством созданных сообществом пресетов
|
||||
* Поддержка миров (функция "Информация о мире" / WorldInfo): создавайте свой богатый лор, или экономьте токены для карточек персонажей
|
||||
* Соединение через [OpenRouter](https://openrouter.ai) для разных API (Claude, GPT-4/3.5 и других)
|
||||
* Соединение с API [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui)
|
||||
* Соединение с [AI Horde](https://horde.koboldai.net/)
|
||||
* Настройку форматирования промптов
|
||||
|
||||
## Расширения
|
||||
|
||||
SillyTavern поддерживает расширения, при этом некоторые из ИИ-модулей работают через [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras)
|
||||
|
||||
* Заметки автора / Смещение характера
|
||||
* Эмоции для персонажей (спрайты)
|
||||
* Автоматический саммарайз (краткий пересказ) истории чата
|
||||
* Возможность отправить в чат картинку, которую ИИ сможет рассмотреть и понять
|
||||
* Генерация картинок в Stable Diffusion (5 пресетов для чата, плюс свободный режим)
|
||||
* Text-to-speech для сообщений ИИ (с помощью ElevenLabs, Silero, или родной TTS вашей ОС)
|
||||
|
||||
Полный список расширений и инструкций к ним можно найти в [документации](https://docs.sillytavern.app/).
|
||||
|
||||
## Улучшения от RossAscends для UI/CSS/общего удобства
|
||||
|
||||
* Мобильный интерфейс адаптирован для iOS, добавлена возможность сохранить ярлык на главный экран и открыть приложение в полноэкранном режиме.
|
||||
* Горячие клавиши
|
||||
* Up = Редактировать последнее сообщение в чате
|
||||
* Ctrl+Up = Редактировать ВАШЕ последнее сообщение в чате
|
||||
* Left = свайп влево
|
||||
* Right = свайп вправо (ОБРАТИТЕ ВНИМАНИЕ: когда в окне ввода что-то напечатано, клавиши для свайпа не работают)
|
||||
* Ctrl+Left = посмотреть локальные переменные (в консоли браузера)
|
||||
* Enter (при нахождении внутри окна ввода) = отправить ваше сообщение ИИ
|
||||
* Ctrl+Enter = Повторная генерация последнего ответа ИИ
|
||||
|
||||
* Страница больше не перезагружается при смене имени пользователя или удалении персонажа
|
||||
|
||||
* Отключаемая возможность автоматически соединяться с API при загрузке страницы.
|
||||
* Отключаемая возможность автоматически загружать последнего открытого персонажа при загрузке страницы.
|
||||
* Улучшенный счётчик токенов - работает с несохранёнными персонажами, отображает и перманентные, и временные токены
|
||||
|
||||
* Улучшенный менеджер чатов
|
||||
* Файлы с новыми чатами получают читабельные названия вида "(персонаж) - (когда создано)"
|
||||
* Увеличен размер превью чата с 40 символов до 300.
|
||||
* Несколько вариантов сортировки списка персонажей (по имени, дате создания, размеру чата).
|
||||
|
||||
* Панели настроек слева и справа автоматически скрываются, если щёлкнуть за их пределы.
|
||||
* При нажатии на значок замка навигационная панель будет закреплена на экране, и эта настройка сохранится между сессиями
|
||||
* Сам статус панели (открыта или закрыта) также сохраняется между сессиями
|
||||
|
||||
* Кастомизируемый интерфейс чата:
|
||||
* Настройте звук при получении нового ответа
|
||||
* Переключайтесь между круглыми и прямоугольными аватарками
|
||||
* Увеличенное вширь окно чата для стационарных ПК
|
||||
* Возможность включать полупрозрачные панели, стилизованные под стекло
|
||||
* Настраиваемые цвета для обычного текста, курсива, цитат
|
||||
* Настраиваемый цвет фона и интенсивность размытия
|
||||
|
||||
# ⌛ Установка
|
||||
|
||||
> **Внимание!**
|
||||
> * НЕ УСТАНАВЛИВАЙТЕ В ПАПКИ, КОТОРЫЕ КОНТРОЛИРУЕТ WINDOWS (Program Files, System32 и т.п.).
|
||||
> * НЕ ЗАПУСКАЙТЕ START.BAT С ПРАВАМИ АДМИНИСТРАТОРА
|
||||
> * УСТАНОВКА НА WINDOWS 7 НЕВОЗМОЖНА ИЗ-ЗА ОТСУТСТВИЯ NODEJS 18.16
|
||||
|
||||
## 🪟 Windows
|
||||
|
||||
## Установка через Git
|
||||
1. Установите [NodeJS](https://nodejs.org/en) (рекомендуется последняя LTS-версия)
|
||||
2. Установите [Git for Windows](https://gitforwindows.org/)
|
||||
3. Откройте Проводник (`Win+E`)
|
||||
4. Перейдите в папку, которую не контролирует Windows, или создайте её. (пример: C:\MySpecialFolder\)
|
||||
5. Откройте командную строку. Для этого нажмите на адресную строку (сверху), введите `cmd` и нажмите Enter.
|
||||
6. Когда появится чёрное окошко (командная строка), введите ОДНУ из перечисленных ниже команд:
|
||||
|
||||
- для ветки release: `git clone https://github.com/SillyTavern/SillyTavern -b release`
|
||||
- для ветки staging: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
|
||||
|
||||
7. Когда клонирование закончится, дважды щёлкните по `Start.bat`, чтобы установить зависимости для NodeJS.
|
||||
8. После этого сервер запустится, и SillyTavern откроется в вашем браузере.
|
||||
|
||||
## Установка с помощью SillyTavern Launcher
|
||||
1. Установите [Git for Windows](https://gitforwindows.org/)
|
||||
2. Откройте Проводник (`Win+E`) и создайте или выберите папку, в которую будет установлен лаунчер
|
||||
3. Откройте командную строку. Для этого нажмите на адресную строку (сверху), введите `cmd` и нажмите Enter.
|
||||
4. Когда появится чёрное окошко, введите следующую команду: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
|
||||
5. Дважды щёлкните по `installer.bat` и выберите, что именно хотите установить
|
||||
6. После завершения установки дважды щёлкните по `launcher.bat`
|
||||
|
||||
## Установка с помощью GitHub Desktop
|
||||
(Тут речь про git **только** в рамках GitHub Desktop, если хотите использовать `git` в командной строке, вам также понадобится [Git for Windows](https://gitforwindows.org/))
|
||||
1. Установите [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
||||
2. Установите [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
|
||||
3. После завершения установки GitHub Desktop, нажмите `Clone a repository from the internet....` (обратите внимание: для этого шага **НЕ требуется** аккаунт на GitHub)
|
||||
4. В меню перейдите на вкладку URL, введите адрес `https://github.com/SillyTavern/SillyTavern`, и нажмите Clone. В поле Local path можно изменить директорию, в которую будет загружена SillyTavern.
|
||||
6. Чтобы запустить SillyTavern, откройте Проводник и перейдите в выбранную на предыдущем шаге папку. По умолчанию репозиторий будет склонирован сюда: `C:\Users\[Имя пользователя]\Documents\GitHub\SillyTavern`
|
||||
7. Дважды щёлкните по файлу `start.bat`. (обратите внимание: окончание `.bat` может быть скрыто настройками вашей ОС. Таким образом, имя файла будет выглядеть как "`Start`". Дважды щёлкните по нему, чтобы запустить SillyTavern)
|
||||
8. После того, как вы дважды щёлкнули по файлу, должно открыться чёрное окошко, и SillyTavern начнёт устанавливать свои зависимости.
|
||||
9. Если установка прошла успешно, то в командной строке будет вот такое, а в браузере откроется вкладка с SillyTavern:
|
||||
10. Подключайтесь к любому из [поддерживаемых API](https://docs.sillytavern.app/usage/api-connections/) и начинайте переписку!
|
||||
|
||||
## 🐧 Linux и 🍎 MacOS
|
||||
|
||||
В MacOS и Linux всё это делается через Терминал.
|
||||
|
||||
1. Установите git и nodeJS (как именно - зависит от вашей ОС)
|
||||
2. Клонируйте репозиторий
|
||||
|
||||
- для ветки release: `git clone https://github.com/SillyTavern/SillyTavern -b release`
|
||||
- для ветки staging: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
|
||||
|
||||
3. Перейдите в папку установки с помощью `cd SillyTavern`.
|
||||
4. Запустите скрипт `start.sh` с помощью одной из команд:
|
||||
|
||||
- `./start.sh`
|
||||
- `bash start.sh`
|
||||
|
||||
## Установка с помощью SillyTavern Launcher
|
||||
|
||||
### Для пользователей Linux
|
||||
1. Откройте любимый терминал и установите git
|
||||
2. Загрузите Sillytavern Launcher с помощью команды: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
|
||||
3. Перейдите в SillyTavern-Launcher: `cd SillyTavern-Launcher`
|
||||
4. Запустите лаунчер установки: `chmod +x install.sh && ./install.sh`, затем выберите, что конкретно хотите установить
|
||||
5. После завершения установки, запустите лаунчер следующей командой: `chmod +x launcher.sh && ./launcher.sh`
|
||||
|
||||
### Для пользователей Mac
|
||||
1. Откройте терминал и установите brew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
|
||||
2. Затем установите git: `brew install git`
|
||||
3. Загрузите Sillytavern Launcher: `git clone https://github.com/SillyTavern/SillyTavern-Launcher.git`
|
||||
4. Перейдите в SillyTavern-Launcher: `cd SillyTavern-Launcher`
|
||||
5. Запустите лаунчер установки: `chmod +x install.sh && ./install.sh` and choose what you wanna install
|
||||
6. После завершения установки, запустите лаунчер следующей командой: `chmod +x launcher.sh && ./launcher.sh`
|
||||
|
||||
## 📱 Мобильные устройства - Установка при помощи termux
|
||||
|
||||
> **ОБРАТИТЕ ВНИМАНИЕ!**
|
||||
>
|
||||
> **На Android-телефонах SillyTavern можно запускать нативно посредством Termux. Обратитесь к гайду, написанному ArroganceComplex#2659:**
|
||||
>
|
||||
> * <https://rentry.org/STAI-Termux>
|
||||
|
||||
|
||||
## Управление ключами от API
|
||||
|
||||
SillyTavern сохраняет ключи от ваших API в файле `secrets.json` в папке на сервере.
|
||||
|
||||
По умолчанию, ключи не будут отображаться на фронте после их ввода и перезагрузки страницы.
|
||||
|
||||
Чтобы включить возможность отображения ключей путём нажатия кнопки в блоке API:
|
||||
|
||||
1. Зайдите в файл `config.yaml` и установите `allowKeysExposure` в положение `true`.
|
||||
2. Перезапустите сервер SillyTavern.
|
||||
|
||||
## Удалённое подключение
|
||||
|
||||
В основном этим пользуются тогда, когда хотят использовать SillyTavern с телефона, запустив сервер SillyTavern на стационарном ПК в той же Wi-Fi-сети.
|
||||
|
||||
Однако это позволит подключаться откуда угодно, а не только вам.
|
||||
|
||||
**ВАЖНО: в SillyTavern не предусмотрена возможность использования программы несколькими людьми. Поэтому любой, кто подключится к вашему серверу, получит доступ ко всем вашим персонажам и чатам, а также сможет менять настройки через UI.**
|
||||
|
||||
### 1. Заведение "белого списка" IP-адресов
|
||||
|
||||
* Создайте в корневой папке SillyTavern файл с названием `whitelist.txt`.
|
||||
* Откройте файл в текстовом редакторе и внесите список IP-адресов, с которых хотите разрешить подключение.
|
||||
|
||||
*Принимаются как обычные IP-адреса, так и целые диапазоны, размеченные с помощью астериска. Примеры:*
|
||||
|
||||
```txt
|
||||
192.168.0.1
|
||||
192.168.0.20
|
||||
```
|
||||
|
||||
или
|
||||
|
||||
```txt
|
||||
192.168.0.*
|
||||
```
|
||||
|
||||
(диапазон из примера сверху позволит подключаться всем устройствам в локальной сети)
|
||||
|
||||
Также принимаются маски CIDR (вида 10.0.0.0/24).
|
||||
|
||||
* Сохраните файл `whitelist.txt`.
|
||||
* Перезапустите сервер ST.
|
||||
|
||||
После этого устройства из белого списка смогут подключаться к вашему серверу.
|
||||
|
||||
*Обратите внимание: в файле `config.yaml` также имеется массив `whitelist`, который работает по тому же принципу. Однако если существует файл `whitelist.txt`, то этот массив игнорируется.*
|
||||
|
||||
### 2. Получение IP хост-машины с ST
|
||||
|
||||
После настройки белого списка адресов, следующим шагом будет получение IP-адреса хост-машины, на которой запущена SillyTavern.
|
||||
|
||||
Если хост-машина находится в той же Wi-Fi-сети, то можно воспользоваться её внутренним Wi-Fi-IP-адресом:
|
||||
|
||||
* На Windows: нажмите Пуск > введите `cmd.exe` в поиске > в консоли введите команду `ipconfig` и нажмите Enter > найдите пункт `IPv4-адрес`.
|
||||
|
||||
Если вы (или кто-то другой) хотите подключаться к хост-машине из другой сети, то вам понадобится ваш публичный IP-адрес.
|
||||
|
||||
* Откройте [эту страницу](https://whatismyipaddress.com/) с вашей хост-машины и найдите пункт `IPv4`. На этот адрес и будет подключаться удалённое устройство.
|
||||
|
||||
### 3. Соединить удалённое устройство с хост-машиной ST
|
||||
|
||||
Какой бы IP-адрес вы ни выбрали, вам нужно будет вводить его в адресной строке браузера вашего удалённого устройства.
|
||||
|
||||
Обычный адрес хост-машины, находящейся в той же Wi-Fi-сети, выглядит примерно так:
|
||||
|
||||
`http://192.168.0.5:8000`
|
||||
|
||||
НЕ используйте https://
|
||||
Только http://
|
||||
|
||||
### Открытие доступа до ST для всех IP-адресов
|
||||
|
||||
Мы не рекомендуем так делать, но вы можете открыть файл `config.yaml` и изменить `whitelistMode` на `false`.
|
||||
|
||||
Обязательно нужно удалить (или переименовать) файл `whitelist.txt`, если такой файл есть в корневой директории SillyTavern.
|
||||
|
||||
Эта практика считается небезопасной, поэтому, если вы решите так сделать, мы попросим вас установить логин и пароль.
|
||||
|
||||
Оба этих параметра настраиваются в `config.yaml` (username и password).
|
||||
|
||||
Останется только перезапустить сервер ST, и после этого к вам сможет подключиться любой пользователь вне зависимости от IP-адреса его устройства. Главное, чтобы он знал логин и пароль.
|
||||
|
||||
### Не получается соединиться?
|
||||
|
||||
* Создайте входящее/исходящее правило в вашем фаерволле для порта, указанного в `config.yaml`. НЕ ПУТАЙТЕ этот процесс с пробросом портов на роутере. Если по ошибке перепутаете, то на ваш сервер сможет забраться посторонний человек и украсть ваши логи, этого следует избегать.
|
||||
* Переключите Сетевой профиль на значение "Частные". Для этого зайдите в Параметры > Сеть и Интернет > Ethernet. КРАЙНЕ важно для Windows 11, без этого не получится подключиться даже с правилом фаервола.
|
||||
|
||||
## Проблемы с производительностью?
|
||||
|
||||
Попробуйте включить опцию "Отключить эффект размытия" в меню "Пользовательские настройки".
|
||||
|
||||
## Нравится ваш проект! Как помочь?
|
||||
|
||||
### ЧТО ДЕЛАТЬ
|
||||
|
||||
1. Присылайте пулл реквесты
|
||||
2. Присылайте идеи и баг-репорты, оформленные по установленным шаблонам
|
||||
3. Прежде чем задавать вопросы, прочтите readme и документацию
|
||||
|
||||
### ЧЕГО НЕ ДЕЛАТЬ
|
||||
|
||||
1. Предлагать донаты
|
||||
2. Присылать баг-репорты безо всякого контекста
|
||||
3. Задавать вопросы, на которые уже отвечали
|
||||
|
||||
## Где найти старые фоны?
|
||||
|
||||
Мы двигаемся в сторону 100% уникальности всего используемого контента, поэтому старые фоны были убраны из репозитория.
|
||||
|
||||
Они отправлены в архив, скачать их можно здесь:
|
||||
|
||||
<https://files.catbox.moe/1xevnc.zip>
|
||||
|
||||
|
||||
|
||||
|
||||
## Авторы и лицензии
|
||||
|
||||
**Мы надеемся, что эта программа принесёт людям пользу,
|
||||
но мы не даём НИКАКИХ ГАРАНТИЙ; мы ни в коем случае не гарантируем того,
|
||||
что программа СООТВЕТСТВУЕТ КАКИМ-ЛИБО КРИТЕРИЯМ или ПРИГОДНА ДЛЯ КАКОЙ-ЛИБО ЦЕЛИ.
|
||||
Подробнее можно узнать в GNU Affero General Public License.**
|
||||
|
||||
* Базовая TAI от Humi: Лицензия неизвестна
|
||||
* Модификации от Cohee и производная кодовая база: AGPL v3
|
||||
* Дополнения RossAscends: AGPL v3
|
||||
* Кусочки TavernAITurbo мода от CncAnon: Лицензия неизвестна
|
||||
* Различные коммиты и предложения от kingbri (<https://github.com/bdashore3>)
|
||||
* Расширения и внедрение разного рода удобств - city_unit (<https://github.com/city-unit>)
|
||||
* Различные коммиты и баг-репорты от StefanDanielSchwarz (<https://github.com/StefanDanielSchwarz>)
|
||||
* Режим Вайфу вдохновлён работой PepperTaco (<https://github.com/peppertaco/Tavern/>)
|
||||
* Благодарность Pygmalion University за прекрасную работу по тестированию и за все предлагаемые крутые фичи!
|
||||
* Благодарность oobabooga за компиляцию пресетов для TextGen
|
||||
* Пресеты для KoboldAI из KAI Lite: <https://lite.koboldai.net/>
|
||||
* Шрифт Noto Sans от Google (OFL license)
|
||||
* Тема Font Awesome <https://fontawesome.com> (Иконки: CC BY 4.0, Шрифты: SIL OFL 1.1, Код: MIT License)
|
||||
* Клиентская библиотека для AI Horde от ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
|
||||
* Пусковой скрипт для Linux от AlpinDale
|
||||
* Благодарность paniphons за оформление документа с FAQ
|
||||
* Фон в честь 10 тысяч пользователей в Discord от @kallmeflocc
|
||||
* Стандартный контент (персонажи и лорбуки) предоставлен пользователями @OtisAlejandro, @RossAscends и @kallmeflocc
|
||||
* Корейский перевод от @doloroushyeonse
|
||||
* Поддержка k_euler_a для Horde от <https://github.com/Teashrock>
|
||||
* Китайский перевод от [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
|
||||
|
||||
<!-- LINK GROUP -->
|
||||
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
|
||||
[cover]: https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4
|
||||
[discord-link]: https://discord.gg/sillytavern
|
||||
[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
|
||||
[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
|
||||
@@ -1,306 +0,0 @@
|
||||
[English](readme.md) | 中文 | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
|
||||
|
||||

|
||||
|
||||
移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 的聊天信息总结。
|
||||
|
||||
基于 TavernAI 1.2.8 的分叉版本
|
||||
|
||||
### 由 Cohee、RossAscends 和 SillyTavern 社区为您呈现
|
||||
|
||||
注意:我们创建了一个 [帮助文档](https://docs.sillytavern.app/) 网站来回答各类问题与帮助您开始使用。
|
||||
|
||||
### SillyTavern 或 TavernAI 是什么?
|
||||
|
||||
SillyTavern 是一个可以安装在电脑(和安卓手机)上的用户界面,让您可以与文本生成的人工智能互动,并与您或社区创建的角色聊天/玩角色扮演游戏。
|
||||
|
||||
SillyTavern 是 TavernAI 1.2.8 的一个分支,正在进行更积极地开发,并添加了许多重要功能。在这一点上,它可以被视为完全独立的程序。
|
||||
|
||||
### 分支
|
||||
|
||||
SillyTavern 采用双分支进行开发,以确保所有用户都能获得流畅的使用体验。
|
||||
|
||||
* release -🌟 **推荐给大多数用户。** 这是最稳定、最推荐的分支,只有在重大版本推送时才会更新。适合大多数用户使用。
|
||||
* staging - ⚠️ **不建议随意使用。** 该分支拥有最新功能,但要谨慎,因为它随时可能崩溃。仅适用于高级用户和爱好者。
|
||||
|
||||
如果你不熟悉使用 Git 命令,或者不了解什么是分支,别担心!release 分支始终是您的首选。
|
||||
|
||||
### 除了 SillyTavern,我还需要什么?
|
||||
|
||||
SillyTavern 本身并无用处,因为它只是一个用户聊天界面。你必须接入一个能充当角色扮演的人工智能系统。支持的人工智能系统有多种:OpenAPI API (GPT)、KoboldAI(可在本地或 Google Colab 上运行)等。您可以在 [常见问题](https://docs.sillytavern.app/usage/faq/) 中阅读更多相关信息。
|
||||
|
||||
### 我需要一台性能强大的电脑来运行 SillyTavern 吗?
|
||||
|
||||
由于 SillyTavern 只是一个用户聊天界面,它对硬件性能的要求很低,可以在任何电脑上运行。需要强大性能的是人工智能系统。
|
||||
|
||||
### 移动设备支持
|
||||
|
||||
> 注意
|
||||
|
||||
> **此分叉可使用 Termux 在安卓手机上原生运行。请参考 ArroganceComplex#2659 编写的指南:**
|
||||
|
||||
<https://rentry.org/STAI-Termux>
|
||||
|
||||
## 有问题或建议?
|
||||
|
||||
### 我们现在有了 Discord 社区
|
||||
|
||||
获取支持,或分享喜爱的角色和 Prompt:
|
||||
|
||||
### [加入 Discord 社区](https://discord.gg/sillytavern)
|
||||
|
||||
***
|
||||
|
||||
直接与开发人员联系:
|
||||
|
||||
* Discord: cohee 或 rossascends
|
||||
* Reddit:/u/RossAscends 或 /u/sillylossy
|
||||
* [发布 GitHub 问题](https://github.com/SillyTavern/SillyTavern/issues)
|
||||
|
||||
## 此版本包括
|
||||
|
||||
* 经过大量修改的 TavernAI 1.2.8(超过 50% 的代码经过重写或优化)
|
||||
* 根据自定义规则自动重新生成消息
|
||||
* 群聊:多机器人房间,供角色与你或彼此交谈
|
||||
* 聊天书签/分支(复制当前状态下的对话)
|
||||
* 先进的 KoboldAI / TextGen 生成设置,包含大量社区预设
|
||||
* 支持世界信息(Lorebooks):创建丰富的传说
|
||||
* 支持 Window AI 浏览器扩展(运行 Claude、GPT 4 等模型):<https://windowai.io/>
|
||||
* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API 连接
|
||||
* 连接 [AI Horde](https://horde.koboldai.net/)
|
||||
* Prompt 生成格式调整
|
||||
* Webp 角色卡支持(PNG 仍是内部格式)
|
||||
|
||||
## 扩展
|
||||
|
||||
SillyTavern 支持扩展服务,一些额外的人工智能模块可通过 [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras) 提供。
|
||||
|
||||
* 作者注释/角色偏见
|
||||
* 角色情绪识别
|
||||
* 聊天记录自动摘要
|
||||
* 在聊天窗口发送图片,并由人工智能解释图片内容
|
||||
* 文本图像生成(5 预设,以及 "自由模式")
|
||||
* 聊天信息的文字转语音(通过 ElevenLabs、Silero 或操作系统的语音生成)
|
||||
|
||||
扩展服务的完整功能介绍和使用教程,请参阅 [Docs](https://docs.sillytavern.app/)。
|
||||
|
||||
## 界面/CSS/性能,由 RossAscends 调整并优化
|
||||
|
||||
* 针对 iOS 系统优化了界面,并支持将快捷方式保存到主屏幕,在全屏模式下打开。
|
||||
* 热键
|
||||
* 上 = 编辑聊天中的最后一条信息
|
||||
* Ctrl+P = 编辑聊天中最后一条用户信息
|
||||
* 左 = 向左滑动
|
||||
* 右 = 向右滑动(注意:当聊天窗口输入内容时,轻扫快捷键将被禁用)
|
||||
* Ctrl+左 = 查看本地存储的变量(在浏览器控制台窗口中)
|
||||
* 回车(选择聊天栏)= 向人工智能发送信息
|
||||
* Ctrl+Enter = 重新生成人工智能最后的回复
|
||||
|
||||
* 用户名更改和角色删除不再强制重新刷新页面。
|
||||
|
||||
* 增加在页面加载时自动连接 API 的选项。
|
||||
* 增加选项,在页面加载时自动加载最近的聊天信息。
|
||||
* 更好的 Tokens 计算器 - 适用于未保存的文字,并显示永久和临时 Tokens 数量
|
||||
|
||||
* 更好的聊天历史查询窗口
|
||||
* 聊天的文件名以"(角色卡名称)+(创建时间)"的可读格式保存
|
||||
* 聊天历史预览从 40 个字符增加到 300 个字符。
|
||||
* 聊天历史排序有多种选择(按名称、创建日期、聊天记录大小)。
|
||||
|
||||
* 默认情况下,左侧和右侧弹出的设置面板会在点击其他区域时自动关闭。
|
||||
* 点击导航面板上的 "锁按钮" 将保持弹出面板打开,并在不同聊天中记住此设置。
|
||||
* 导航面板的打开或关闭状态也会跨聊天保存。
|
||||
|
||||
* 自定义聊天界面:
|
||||
* 收到新消息时播放提示音
|
||||
* 切换圆形或长方形头像样式
|
||||
* 在台式电脑上拥有更宽的聊天窗口
|
||||
* 可选的半透明玻璃效果聊天窗口
|
||||
* 可定制 "主文本"、"引用文本 "和 "斜体文本 "的字体颜色。
|
||||
* 可定制聊天界面的背景颜色和透明模糊程度
|
||||
|
||||
## 安装
|
||||
|
||||
*注意:SillyTavern 用于本地安装,尚未在 Colab 或其他云服务上进行全面测试。
|
||||
|
||||
> **警告**
|
||||
|
||||
> 切勿安装到任何受 Windows 控制的系统文件夹(Program Files, System32, etc)中。
|
||||
|
||||
> 不要以管理员权限运行 start.bat
|
||||
|
||||
### Windows
|
||||
|
||||
通过 Git 安装(推荐使用,便于更新)
|
||||
|
||||
附有精美图片示例的简易指南:
|
||||
<https://docs.sillytavern.app/installation/windows/>
|
||||
|
||||
1. 安装 [NodeJS](https://nodejs.org/en)(建议使用最新的 LTS 版本)
|
||||
2. 安装 [GitHub 客户端](https://central.github.com/deployments/desktop/desktop/latest/win32)
|
||||
3. 打开 Windows 资源管理器 (`Win+E`)
|
||||
4. 浏览或创建一个不受 Windows 控制或监控的文件夹。(例如:C:\MySpecialFolder\)
|
||||
5. 点击顶部的 "地址栏",在该文件夹内打开命令提示符,输入 `cmd`,然后按回车。
|
||||
6. 弹出黑框(CMD 命令提示符)后,键入以下其中一项并按 Enter:
|
||||
|
||||
* 稳定分支:`git clone https://github.com/SillyTavern/SillyTavern -b release`
|
||||
* 开发分支: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
|
||||
|
||||
7. 等待 Git 克隆完成后,双击文件夹中的 `Start.bat` 将启动 NodeJS 并开始自动安装需要的软件包。
|
||||
8. 然后 SillyTavern 服务就会自动启动,同时在浏览器新标签页中自动打开。
|
||||
|
||||
通过压缩包下载安装(不推荐)
|
||||
|
||||
1. 安装 [NodeJS](https://nodejs.org/en)(建议使用最新的 LTS 版本)
|
||||
2. 从该 GitHub 仓库下载压缩包。(从 [Releases](https://github.com/SillyTavern/SillyTavern/releases/latest) 获取 "Source code(zip)")。
|
||||
3. 将压缩包解压到您选择的文件夹中
|
||||
4. 双击或在命令行中运行 `Start.bat`。
|
||||
5. SillyTavern 服务自动为你准备好一切后,会在你的浏览器中打开一个新标签页。
|
||||
|
||||
### Linux
|
||||
|
||||
1.运行 `start.sh` 脚本。
|
||||
2.等待自动完成,然后开始享受
|
||||
|
||||
## API 密钥管理
|
||||
|
||||
SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。
|
||||
|
||||
默认情况下,输入密钥并重新加载页面后,密钥会自动隐藏以保证安全。
|
||||
|
||||
如果要想通过点击 API 输入框旁边的按钮来查看密钥,请按照以下设置:
|
||||
|
||||
1. 打开 `config.yaml` 文件,将里面的 `allowKeysExposure` 设置为 `true`。
|
||||
2. 然后重启 SillyTavern 服务。
|
||||
|
||||
## 远程访问
|
||||
|
||||
这通常是为那些想在手机上使用 SillyTavern 的人准备的,而他们的电脑和手机在同一个局域网中。
|
||||
|
||||
不过,SillyTavern 也可以被设置为允许从任何地方进行远程访问。
|
||||
|
||||
**重要提示:SillyTavern 是单用户程序,因此任何人登录后都能看到所有的角色卡和聊天内容,并能更改任何设置。
|
||||
|
||||
### 1.管理白名单 IP
|
||||
|
||||
* 在你的 SillyTavern 文件夹中新建一个文本文件,名为 `whitelist.txt`。
|
||||
* 用文本编辑器打开该文件,添加你希望允许连接的 IP 地址列表。
|
||||
* 接受单个 IP 地址和 IP 范围,示例:
|
||||
|
||||
```
|
||||
192.168.0.1
|
||||
192.168.0.20
|
||||
```
|
||||
|
||||
或者
|
||||
|
||||
```
|
||||
192.168.0.*
|
||||
```
|
||||
|
||||
(上述 IP 范围将允许局域网中的任何设备连接)
|
||||
|
||||
也接受子网掩码设置(如 10.0.0.0/24)。
|
||||
|
||||
* 保存`whitelist.txt`文件。
|
||||
* 重启 SillyTavern 服务。
|
||||
|
||||
然后,文件中设置的 IP 就可以访问 SillyTavern 了。
|
||||
|
||||
*注意:"config.yaml" 文件内也有一个 "whitelist" 设置,你可以用同样的方法设置它,但如果 "whitelist.txt" 文件存在,这个设置将被忽略。
|
||||
|
||||
### 2.获取 SillyTavern 服务的 IP 地址
|
||||
|
||||
白名单设置完成后,您需要 SillyTavern 服务的 IP 地址。
|
||||
|
||||
如果 SillyTavern 服务设备在同一个局域网上,则使用安装 SillyTavern 服务的电脑的局域网 IP 地址:
|
||||
|
||||
* Windows:Windows 按钮 > 在搜索栏中输入 `cmd.exe` > 在打开的控制台中输入 `ipconfig`,回车 > 然后在输出中查找 `IPv4` 地址。
|
||||
|
||||
如果您(或其他人)想在互联网中访问你自己的 SillyTavern 服务,则需要运行 SillyTavern 服务的设备的互联网 IP 地址。
|
||||
|
||||
* 使用运行 SillyTavern 的设备,访问 [this page](https://whatismyipaddress.com/) 并查找 `IPv4`。这是您从互联网访问时要用到的。
|
||||
|
||||
### 3. 使用其他设备访问 SillyTavern 服务
|
||||
|
||||
无论你最终使用的是什么 IP 地址,都要将该 IP 地址和端口号输入其他设备网络浏览器。
|
||||
|
||||
同一局域网中的 SillyTavern 服务的典型默认地址如下:
|
||||
|
||||
`http://192.168.0.5:8000`
|
||||
|
||||
使用 http:// 而不是 https://
|
||||
|
||||
### 向所有 IP 开放您的 SillyTavern 服务
|
||||
|
||||
我们不建议这样做,但您可以打开 `config.yaml` 并将里面的 `whitelistMode` 设置改为 `false`。
|
||||
|
||||
你必须删除(或重命名)SillyTavern 文件夹中的 `whitelist.txt` 文件(如果有的话)。
|
||||
|
||||
这通常是不安全的做法,所以我们要求在这样做时必须设置用户名和密码。
|
||||
|
||||
用户名和密码在`config.yaml`文件中设置。
|
||||
|
||||
重启 SillyTavern 服务后,只要知道用户名和密码,任何设备都可以访问。
|
||||
|
||||
### 还是无法访问?
|
||||
|
||||
* 为 `config.yaml` 文件中的端口创建一条入站/出站防火墙规则。切勿将此误认为是路由器上的端口转发,否则,有人可能会发现你的聊天隐私,那就大错特错了。
|
||||
* 在 "设置" > "网络和 Internet" > "以太网" 中启用 "专用网络" 配置。这对 Windows 11 非常重要,否则即使添加了上述防火墙规则也无法连接。
|
||||
|
||||
### 性能问题?
|
||||
|
||||
尝试在用户设置面板上关闭模糊效果(快速用户界面)模式。
|
||||
|
||||
## 我喜欢你的项目!我该如何贡献自己的力量?
|
||||
|
||||
### 应该
|
||||
|
||||
1. 发送 Fork 请求
|
||||
2. 使用规定的模板发送功能建议和问题报告
|
||||
3. 在提出任何问题之前,请先阅读 Readme 文件和文档
|
||||
|
||||
#### 不应该
|
||||
|
||||
1. 提供金钱捐赠
|
||||
2. 发送错误报告而不提供任何详细信息
|
||||
3. 提出已经回答过无数次的问题
|
||||
|
||||
## 我在哪里可以找到以前的聊天背景图片?
|
||||
|
||||
我们正在实行 100% 原创内容的政策,因此旧的背景图片已从该资源库中删除。
|
||||
|
||||
不过你可以在这里找到它们的存档:
|
||||
|
||||
<https://files.catbox.moe/1xevnc.zip>
|
||||
|
||||
## 屏幕截图
|
||||
|
||||
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/228649245-8061c60f-63dc-488e-9325-f151b7a3ec2d.png">
|
||||
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/228649856-fbdeef05-d727-4d5a-be80-266cbbc6b811.png">
|
||||
|
||||
## 许可证和贡献
|
||||
|
||||
**发布本程序是希望它能有所帮助,但不做任何保证;甚至没有明示的性能、稳定性和其他任何特定用途的可用性保证。更多详情,请参阅 GNU Affero 通用公共许可证。**
|
||||
|
||||
**This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.**
|
||||
|
||||
* TAI Base by Humi: Unknown license
|
||||
* Cohee's modifications and derived code: AGPL v3
|
||||
* RossAscends' additions: AGPL v3
|
||||
* Portions of CncAnon's TavernAITurbo mod: Unknown license
|
||||
* kingbri's various commits and suggestions (<https://github.com/bdashore3>)
|
||||
* StefanDanielSchwarz's various commits and bug reports (<https://github.com/StefanDanielSchwarz>)
|
||||
* Waifu mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
|
||||
* Thanks Pygmalion University for being awesome testers and suggesting cool features!
|
||||
* Thanks oobabooga for compiling presets for TextGen
|
||||
* KoboldAI Presets from KAI Lite: <https://lite.koboldai.net/>
|
||||
* Noto Sans font by Google (OFL license)
|
||||
* Icon theme by Font Awesome <https://fontawesome.com> (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* AI Horde client library by ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
|
||||
* Linux startup script by AlpinDale
|
||||
* Thanks paniphons for providing a FAQ document
|
||||
* 10K Discord Users Celebratory Background by @kallmeflocc
|
||||
* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
|
||||
* Korean translation by @doloroushyeonse
|
||||
* 中文翻译由 [@XXpE3](https://github.com/XXpE3) 完成,中文 ISSUES 可以联系 @XXpE3
|
||||
@@ -1,420 +0,0 @@
|
||||
<a name="readme-top"></a>
|
||||
|
||||
English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
|
||||
|
||||
![][cover]
|
||||
|
||||
Mobile-friendly layout, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), VN-like Waifu Mode, Stable Diffusion, TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need + ability to install third-party extensions.
|
||||
|
||||
Based on a fork of [TavernAI](https://github.com/TavernAI/TavernAI) 1.2.8
|
||||
|
||||
## Important news!
|
||||
|
||||
1. We have created a [Documentation website](https://docs.sillytavern.app/) to answer most of your questions and help you get started.
|
||||
|
||||
2. Missing extensions after the update? Since the 1.10.6 release version, most of the previously built-in extensions have been converted to downloadable add-ons. You can download them via the built-in "Download Extensions and Assets" menu in the extensions panel (stacked blocks icon in the top bar).
|
||||
|
||||
3. Unsupported platform: android arm LEtime-web. 32-bit Android requires an external dependency that can't be installed with npm. Use the following command to install it: `pkg install esbuild`. Then run the usual installation steps.
|
||||
|
||||
### Brought to you by Cohee, RossAscends, and the SillyTavern community
|
||||
|
||||
### What is SillyTavern or TavernAI?
|
||||
|
||||
SillyTavern is a user interface you can install on your computer (and Android phones) that allows you to interact with text generation AIs and chat/roleplay with characters you or the community create.
|
||||
|
||||
SillyTavern is a fork of TavernAI 1.2.8 which is under more active development and has added many major features. At this point, they can be thought of as completely independent programs.
|
||||
|
||||
## Screenshots
|
||||
|
||||
<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/e902c7a2-45a6-4415-97aa-c59c597669c1">
|
||||
<img width="400" alt="image" src="https://github.com/SillyTavern/SillyTavern/assets/61471128/f8a79c47-4fe9-4564-9e4a-bf247ed1c961">
|
||||
|
||||
### Branches
|
||||
|
||||
SillyTavern is being developed using a two-branch system to ensure a smooth experience for all users.
|
||||
|
||||
* release -🌟 **Recommended for most users.** This is the most stable and recommended branch, updated only when major releases are pushed. It's suitable for the majority of users.
|
||||
* staging - ⚠️ **Not recommended for casual use.** This branch has the latest features, but be cautious as it may break at any time. Only for power users and enthusiasts.
|
||||
|
||||
If you're not familiar with using the git CLI or don't understand what a branch is, don't worry! The release branch is always the preferable option for you.
|
||||
|
||||
### What do I need other than SillyTavern?
|
||||
|
||||
On its own SillyTavern is useless, as it's just a user interface. You have to have access to an AI system backend that can act as the roleplay character. There are various supported backends: OpenAPI API (GPT), KoboldAI (either running locally or on Google Colab), and more. You can read more about this in [the FAQ](https://docs.sillytavern.app/usage/faq/).
|
||||
|
||||
### Do I need a powerful PC to run SillyTavern?
|
||||
|
||||
Since SillyTavern is only a user interface, it has tiny hardware requirements, it will run on anything. It's the AI system backend that needs to be powerful.
|
||||
|
||||
## Questions or suggestions?
|
||||
|
||||
### We now have a community Discord server
|
||||
|
||||
| [![][discord-shield-badge]][discord-link] | [Join our Discord community!](https://discord.gg/sillytavern) Get support, share favorite characters and prompts. |
|
||||
| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
|
||||
|
||||
Or get in touch with the developers directly:
|
||||
|
||||
* Discord: cohee or rossascends
|
||||
* Reddit: [/u/RossAscends](https://www.reddit.com/user/RossAscends/) or [/u/sillylossy](https://www.reddit.com/user/sillylossy/)
|
||||
* [Post a GitHub issue](https://github.com/SillyTavern/SillyTavern/issues)
|
||||
|
||||
## This version includes
|
||||
|
||||
* A heavily modified TavernAI 1.2.8 (more than 50% of code rewritten or optimized)
|
||||
* Swipes
|
||||
* Group chats: multi-bot rooms for characters to talk to you or each other
|
||||
* Chat checkpoints / branching
|
||||
* Advanced KoboldAI / TextGen generation settings with a lot of community-made presets
|
||||
* World Info support: create rich lore or save tokens on your character card
|
||||
* [OpenRouter](https://openrouter.ai) connection for various APIs (Claude, GPT-4/3.5 and more)
|
||||
* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API connection
|
||||
* [AI Horde](https://horde.koboldai.net/) connection
|
||||
* Prompt generation formatting tweaking
|
||||
|
||||
## Extensions
|
||||
|
||||
SillyTavern has extensibility support, with some additional AI modules hosted via [SillyTavern Extras API](https://github.com/SillyTavern/SillyTavern-extras)
|
||||
|
||||
* Author's Note / Character Bias
|
||||
* Character emotional expressions (sprites)
|
||||
* Auto-Summary of the chat history
|
||||
* Sending images to chat, and the AI interpreting the content
|
||||
* Stable Diffusion image generation (5 chat-related presets plus 'free mode')
|
||||
* Text-to-speech for AI response messages (via ElevenLabs, Silero, or the OS's System TTS)
|
||||
|
||||
A full list of included extensions and tutorials on how to use them can be found in the [Docs](https://docs.sillytavern.app/).
|
||||
|
||||
## UI/CSS/Quality of Life tweaks by RossAscends
|
||||
|
||||
* Mobile UI optimized for iOS, and supports saving a shortcut to the home screen and opening in fullscreen mode.
|
||||
* HotKeys
|
||||
* Up = Edit last message in chat
|
||||
* Ctrl+Up = Edit last USER message in chat
|
||||
* Left = swipe left
|
||||
* Right = swipe right (NOTE: swipe hotkeys are disabled when the chat bar has something typed into it)
|
||||
* Ctrl+Left = view locally stored variables (in the browser console window)
|
||||
* Enter (with chat bar selected) = send your message to AI
|
||||
* Ctrl+Enter = Regenerate the last AI response
|
||||
|
||||
* User Name Changes and Character Deletion no longer force the page to refresh.
|
||||
|
||||
* Toggle option to automatically connect to API on page load.
|
||||
* Toggle option to automatically load the most recently viewed character on page load.
|
||||
* Better Token Counter - works on unsaved characters, and shows both permanent and temporary tokens.
|
||||
|
||||
* Better Past Chats View
|
||||
* New Chat filenames are saved in a readable format of "(character) - (when it was created)"
|
||||
* Chat preview increased from 40 characters to 300.
|
||||
* Multiple options for characters list sorting (by name, creation date, chat sizes).
|
||||
|
||||
* By default the left and right settings panel will close when you click away from it.
|
||||
* Clicking the Lock on the nav panel will hold the panel open, and this setting be remembered across sessions.
|
||||
* Nav panel status of open or closed will also be saved across sessions.
|
||||
|
||||
* Customizable chat UI:
|
||||
* Play a sound when a new message arrives
|
||||
* Switch between round or rectangle avatar styles
|
||||
* Have a wider chat window on the desktop
|
||||
* Optional semi-transparent glass-like panels
|
||||
* Customizable page colors for 'main text', 'quoted text', and 'italics text'.
|
||||
* Customizable UI background color and blur amount
|
||||
|
||||
# ⌛ Installation
|
||||
|
||||
> \[!WARNING]
|
||||
> * DO NOT INSTALL INTO ANY WINDOWS CONTROLLED FOLDER (Program Files, System32, etc).
|
||||
> * DO NOT RUN START.BAT WITH ADMIN PERMISSIONS
|
||||
> * INSTALLATION ON WINDOWS 7 IS IMPOSSIBLE AS IT CAN NOT RUN NODEJS 18.16
|
||||
|
||||
## 🪟 Windows
|
||||
|
||||
## Installing via Git
|
||||
1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
||||
2. Install [Git for Windows](https://gitforwindows.org/)
|
||||
3. Open Windows Explorer (`Win+E`)
|
||||
4. Browse to or Create a folder that is not controlled or monitored by Windows. (ex: C:\MySpecialFolder\)
|
||||
5. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter.
|
||||
6. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter:
|
||||
|
||||
- for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
|
||||
- for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
|
||||
|
||||
7. Once everything is cloned, double-click `Start.bat` to make NodeJS install its requirements.
|
||||
8. The server will then start, and SillyTavern will pop up in your browser.
|
||||
|
||||
## Installing via SillyTavern Launcher
|
||||
1. On your keyboard: press **`WINDOWS + R`** to open Run dialog box. Then, run the following command to install git:
|
||||
```shell
|
||||
cmd /c winget install -e --id Git.Git
|
||||
```
|
||||
2. On your keyboard: press **`WINDOWS + E`** to open File Explorer, then navigate to the folder where you want to install the launcher. Once in the desired folder, type `cmd` into the address bar and press enter. Then, run the following command:
|
||||
```shell
|
||||
git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher && start installer.bat
|
||||
```
|
||||
|
||||
## Installing via GitHub Desktop
|
||||
(This allows git usage **only** in GitHub Desktop, if you want to use `git` on the command line too, you also need to install [Git for Windows](https://gitforwindows.org/))
|
||||
1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
||||
2. Install [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
|
||||
3. After installing GitHub Desktop, click on `Clone a repository from the internet....` (Note: You **do NOT need** to create a GitHub account for this step)
|
||||
4. On the menu, click the URL tab, enter this URL `https://github.com/SillyTavern/SillyTavern`, and click Clone. You can change the Local path to change where SillyTavern is going to be downloaded.
|
||||
6. To open SillyTavern, use Windows Explorer to browse into the folder where you cloned the repository. By default, the repository will be cloned here: `C:\Users\[Your Windows Username]\Documents\GitHub\SillyTavern`
|
||||
7. Double-click on the `start.bat` file. (Note: the `.bat` part of the file name might be hidden by your OS, in that case, it will look like a file called "`Start`". This is what you double-click to run SillyTavern)
|
||||
8. After double-clicking, a large black command console window should open and SillyTavern will begin to install what it needs to operate.
|
||||
9. After the installation process, if everything is working, the command console window should look like this and a SillyTavern tab should be open in your browser:
|
||||
10. Connect to any of the [supported APIs](https://docs.sillytavern.app/usage/api-connections/) and start chatting!
|
||||
|
||||
## 🐧 Linux & 🍎 MacOS
|
||||
|
||||
For MacOS / Linux all of these will be done in a Terminal.
|
||||
|
||||
1. Install git and nodeJS (the method for doing this will vary depending on your OS)
|
||||
2. Clone the repo
|
||||
|
||||
- for Release Branch: `git clone https://github.com/SillyTavern/SillyTavern -b release`
|
||||
- for Staging Branch: `git clone https://github.com/SillyTavern/SillyTavern -b staging`
|
||||
|
||||
3. `cd SillyTavern` to navigate into the install folder.
|
||||
4. Run the `start.sh` script with one of these commands:
|
||||
|
||||
- `./start.sh`
|
||||
- `bash start.sh`
|
||||
|
||||
## Installing via SillyTavern Launcher
|
||||
|
||||
### For Linux users
|
||||
1. Open your favorite terminal and install git
|
||||
2. Git clone the Sillytavern-Launcher with:
|
||||
```shell
|
||||
git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher
|
||||
```
|
||||
3. Start the installer.sh with:
|
||||
```shell
|
||||
chmod +x install.sh && ./install.sh
|
||||
```
|
||||
4. After installation start the launcher.sh with:
|
||||
```shell
|
||||
chmod +x launcher.sh && ./launcher.sh
|
||||
```
|
||||
|
||||
### For Mac users
|
||||
1. Open a terminal and install brew with:
|
||||
```shell
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
```
|
||||
2. Install git with:
|
||||
```shell
|
||||
brew install git
|
||||
```
|
||||
3. Git clone the Sillytavern-Launcher with:
|
||||
```shell
|
||||
git clone https://github.com/SillyTavern/SillyTavern-Launcher.git && cd SillyTavern-Launcher
|
||||
```
|
||||
4. Start the installer.sh with:
|
||||
```shell
|
||||
chmod +x install.sh && ./install.sh
|
||||
```
|
||||
5. After installation start the launcher.sh with:
|
||||
```shell
|
||||
chmod +x launcher.sh && ./launcher.sh
|
||||
```
|
||||
|
||||
## 🐋 Installing via Docker
|
||||
|
||||
These instructions assume you have installed Docker, are able to access your command line for the installation of containers, and familiar with their general operation.
|
||||
|
||||
### Building the image yourself
|
||||
|
||||
We have a comprehensive guide on using SillyTavern in Docker [here](http://docs.sillytavern.app/installation/docker/) which covers installations on Windows, macOS and Linux! Give it a read if you wish to build the image yourself.
|
||||
|
||||
### Using the GitHub Container Registry (easiest)
|
||||
|
||||
You will need two mandatory directory mappings and a port mapping to allow SillyTavern to function. In the command, replace your selections in the following places:
|
||||
|
||||
#### Container Variables
|
||||
|
||||
##### Volume Mappings
|
||||
|
||||
- [config] - The directory where SillyTavern configuration files will be stored on your host machine
|
||||
- [data] - The directory where SillyTavern user data (including characters) will be stored on your host machine
|
||||
- [plugins] - (optional) The directory where SillyTavern server plugins will be stored on your host machine
|
||||
|
||||
##### Port Mappings
|
||||
|
||||
- [PublicPort] - The port to expose the traffic on. This is mandatory, as you will be accessing the instance from outside of its virtual machine container. DO NOT expose this to the internet without implementing a separate service for security.
|
||||
|
||||
##### Additional Settings
|
||||
|
||||
- [TimeZone] - The timezone your instance should use. This is useful for making logs match your local time for easier troubleshooting. Use your TZ Identifier. (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
|
||||
- [DockerNet] - The docker network that the container should be created with a connection to. If you don't know what it is, see the [official Docker documentation](https://docs.docker.com/reference/cli/docker/network/).
|
||||
- [version] - On the right-hand side of this GitHub page, you'll see "Packages". Select the "sillytavern" package and you'll see the image versions. The image tag "latest" will keep you up-to-date with the current release. You can also utilize "staging" and "release" tags that point to the nightly images of the respective branches, but this may not be appropriate, if you are utilizing extensions that could be broken, and may need time to update.
|
||||
|
||||
#### Install command
|
||||
|
||||
1. Open your Command Line
|
||||
2. Run the following command
|
||||
|
||||
`docker create --name='sillytavern' --net='[DockerNet]' -e TZ="[TimeZone]" -p '8000:8000/tcp' -v '[plugins]':'/home/node/app/plugins':'rw' -v '[config]':'/home/node/app/config':'rw' -v '[data]':'/home/node/app/data':'rw' 'ghcr.io/sillytavern/sillytavern:[version]'`
|
||||
|
||||
> Note that 8000 is a default listening port. Don't forget to use an appropriate port if you change it in the config.
|
||||
|
||||
## 📱 Mobile - Installing via termux
|
||||
|
||||
> \[!NOTE]
|
||||
> **SillyTavern can be run natively on Android phones using Termux. Please refer to this guide by ArroganceComplex#2659:**
|
||||
> * <https://rentry.org/STAI-Termux>
|
||||
|
||||
|
||||
## API keys management
|
||||
|
||||
SillyTavern saves your API keys to a `secrets.json` file in the user data directory (`/data/default-user/secrets.json` is the default path).
|
||||
|
||||
By default, they will not be exposed to a frontend after you enter them and reload the page.
|
||||
|
||||
In order to enable viewing your keys by clicking a button in the API block:
|
||||
|
||||
1. Set the value of `allowKeysExposure` to `true` in `config.yaml` file.
|
||||
2. Restart the SillyTavern server.
|
||||
|
||||
## Remote connections
|
||||
|
||||
Most often this is for people who want to use SillyTavern on their mobile phones while their PC runs the ST server on the same wifi network.
|
||||
|
||||
However, it can be used to allow remote connections from anywhere as well.
|
||||
|
||||
**IMPORTANT: Refer to the official guide if you want to configure SillyTavern user accounts with (optional) password protection: [Users](https://docs.sillytavern.app/installation/st-1.12.0-migration-guide/#users).**
|
||||
|
||||
### 1. Managing whitelisted IPs
|
||||
|
||||
* Create a new text file inside your SillyTavern base install folder called `whitelist.txt`.
|
||||
* Open the file in a text editor, and add a list of IPs you want to be allowed to connect.
|
||||
|
||||
*Both individual IPs and wildcard IP ranges are accepted. Examples:*
|
||||
|
||||
```txt
|
||||
192.168.0.1
|
||||
192.168.0.20
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```txt
|
||||
192.168.0.*
|
||||
```
|
||||
|
||||
(the above wildcard IP range will allow any device on the local network to connect)
|
||||
|
||||
CIDR masks are also accepted (eg. 10.0.0.0/24).
|
||||
|
||||
* Save the `whitelist.txt` file.
|
||||
* Restart your ST server.
|
||||
|
||||
Now devices which have the IP specified in the file will be able to connect.
|
||||
|
||||
*Note: `config.yaml` also has a `whitelist` array, which you can use in the same way, but this array will be ignored if `whitelist.txt` exists.*
|
||||
|
||||
### 2. Getting the IP for the ST host machine
|
||||
|
||||
After the whitelist has been setup, you'll need the IP of the ST-hosting device.
|
||||
|
||||
If the ST-hosting device is on the same wifi network, you will use the ST-host's internal wifi IP:
|
||||
|
||||
* For Windows: windows button > type `cmd.exe` in the search bar > type `ipconfig` in the console, hit Enter > look for `IPv4` listing.
|
||||
|
||||
If you (or someone else) want to connect to your hosted ST while not being on the same network, you will need the public IP of your ST-hosting device.
|
||||
|
||||
* While using the ST-hosting device, access [this page](https://whatismyipaddress.com/) and look for `IPv4`. This is what you would use to connect from the remote device.
|
||||
|
||||
### 3. Connect the remote device to the ST host machine
|
||||
|
||||
Whatever IP you ended up with for your situation, you will put that IP address and port number into the remote device's web browser.
|
||||
|
||||
A typical address for an ST host on the same wifi network would look like this:
|
||||
|
||||
`http://192.168.0.5:8000`
|
||||
|
||||
Use http:// NOT https://
|
||||
|
||||
### Opening your ST to all IPs
|
||||
|
||||
We do not recommend doing this, but you can open `config.yaml` and change `whitelistMode` to `false`.
|
||||
|
||||
You must remove (or rename) `whitelist.txt` in the SillyTavern base install folder if it exists.
|
||||
|
||||
This is usually an insecure practice, so we require you to set a username and password when you do this.
|
||||
|
||||
The username and password are set in `config.yaml`.
|
||||
|
||||
After restarting your ST server, any device will be able to connect to it, regardless of their IP as long as they know the username and password.
|
||||
|
||||
### Still Unable To Connect?
|
||||
|
||||
* Create an inbound/outbound firewall rule for the port found in `config.yaml`. Do NOT mistake this for port-forwarding on your router, otherwise, someone could find your chat logs and that's a big no-no.
|
||||
* Enable the Private Network profile type in Settings > Network and Internet > Ethernet. This is VERY important for Windows 11, otherwise, you would be unable to connect even with the aforementioned firewall rules.
|
||||
|
||||
## Performance issues?
|
||||
|
||||
Try enabling the No Blur Effect (Fast UI) mode on the User settings panel.
|
||||
|
||||
## I like your project! How do I contribute?
|
||||
|
||||
### DO's
|
||||
|
||||
1. Send pull requests
|
||||
2. Send feature suggestions and issue reports using established templates
|
||||
3. Read the readme file and built-in documentation before asking anything
|
||||
|
||||
### DONT's
|
||||
|
||||
1. Offer monetary donations
|
||||
2. Send bug reports without providing any context
|
||||
3. Ask the questions that were already answered numerous times
|
||||
|
||||
## Where can I find the old backgrounds?
|
||||
|
||||
We're moving to a 100% original content only policy, so old background images have been removed from this repository.
|
||||
|
||||
You can find them archived here:
|
||||
|
||||
<https://files.catbox.moe/1xevnc.zip>
|
||||
|
||||
|
||||
|
||||
|
||||
## License and credits
|
||||
|
||||
**This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.**
|
||||
|
||||
* TAI Base by Humi: MIT
|
||||
* Cohee's modifications and derived code: AGPL v3
|
||||
* RossAscends' additions: AGPL v3
|
||||
* Portions of CncAnon's TavernAITurbo mod: Unknown license
|
||||
* kingbri's various commits and suggestions (<https://github.com/bdashore3>)
|
||||
* city_unit's extensions and various QoL features (<https://github.com/city-unit>)
|
||||
* StefanDanielSchwarz's various commits and bug reports (<https://github.com/StefanDanielSchwarz>)
|
||||
* Waifu mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
|
||||
* Thanks Pygmalion University for being awesome testers and suggesting cool features!
|
||||
* Thanks oobabooga for compiling presets for TextGen
|
||||
* KoboldAI Presets from KAI Lite: <https://lite.koboldai.net/>
|
||||
* Noto Sans font by Google (OFL license)
|
||||
* Icon theme by Font Awesome <https://fontawesome.com> (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* AI Horde client library by ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
|
||||
* Linux startup script by AlpinDale
|
||||
* Thanks paniphons for providing a FAQ document
|
||||
* 10K Discord Users Celebratory Background by @kallmeflocc
|
||||
* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
|
||||
* Korean translation by @doloroushyeonse
|
||||
* k_euler_a support for Horde by <https://github.com/Teashrock>
|
||||
* Chinese translation by [@XXpE3](https://github.com/XXpE3), 中文 ISSUES 可以联系 @XXpE3
|
||||
* Docker guide by [@mrguymiah](https://github.com/mrguymiah) and [@Bronya-Rand](https://github.com/Bronya-Rand)
|
||||
|
||||
<!-- LINK GROUP -->
|
||||
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
|
||||
[cover]: https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4
|
||||
[discord-link]: https://discord.gg/sillytavern
|
||||
[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
|
||||
[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
|
||||
@@ -1,28 +0,0 @@
|
||||
# Based on a label applied to an issue, the bot will add a comment with some additional info
|
||||
|
||||
name: 🎯 Auto-Reply to Labeled Tickets
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
- unlabeled
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
- unlabeled
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Label Commenter
|
||||
uses: peaceiris/actions-label-commenter@v1
|
||||
with:
|
||||
config_file: .github/issue-auto-comments.yml
|
||||
github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
@@ -1,17 +0,0 @@
|
||||
# Detect and label pull requests that have merge conflicts
|
||||
name: 🏗️ Check Merge Conflicts
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- staging
|
||||
jobs:
|
||||
check-conflicts:
|
||||
if: github.repository == 'SillyTavern/SillyTavern'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mschilde/auto-label-merge-conflicts@master
|
||||
with:
|
||||
CONFLICT_LABEL_NAME: "🚫 Merge Conflicts"
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
MAX_RETRIES: 5
|
||||
WAIT_MS: 5000
|
||||
@@ -1,82 +0,0 @@
|
||||
# Closes any issues that no longer have user interaction
|
||||
name: 🎯 Close Stale Issues
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # Runs every day at midnight UTC
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# Comment on, then close issues that haven't been updated for ages
|
||||
- name: Close Stale Issues
|
||||
uses: actions/stale@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 183
|
||||
days-before-close: 7
|
||||
operations-per-run: 30
|
||||
remove-stale-when-updated: true
|
||||
enable-statistics: true
|
||||
stale-issue-message: >
|
||||
This issue has gone 6 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below.
|
||||
Otherwise it will be closed in 7 days.
|
||||
stale-pr-message: >
|
||||
This PR is stale because it has been open 6 months with no activity. Either remove the stale label or comment below with a short update,
|
||||
otherwise this PR will be closed in 7 days.
|
||||
close-issue-message: >
|
||||
This issue was automatically closed because it has been stalled for over 6 months with no activity.
|
||||
close-pr-message: >
|
||||
This pull request was automatically closed because it has been stalled for over 6 months with no activity.
|
||||
stale-issue-label: '⚰️ Stale'
|
||||
close-issue-label: '🕸️ Inactive'
|
||||
stale-pr-label: '⚰️ Stale'
|
||||
close-pr-label: '🕸️ Inactive'
|
||||
exempt-issue-labels: '📌 Keep Open'
|
||||
exempt-pr-labels: '📌 Keep Open'
|
||||
labels-to-add-when-unstale: '📌 Keep Open'
|
||||
|
||||
# Comment on, then close issues that required a response from the user, but didn't get one
|
||||
- name: Close Issues without Response
|
||||
uses: actions/stale@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 7
|
||||
days-before-close: 7
|
||||
operations-per-run: 30
|
||||
remove-stale-when-updated: true
|
||||
stale-issue-message: >
|
||||
Hi! Looks like additional info is required for this issue to be addressed.
|
||||
Don't forget to provide this within the next few days to keep your ticket open.
|
||||
close-issue-message: 'Issue closed due to no response from user.'
|
||||
only-labels: '🚏 Awaiting User Response'
|
||||
labels-to-remove-when-unstale: '🚏 Awaiting User Response, 🛑 No Response'
|
||||
stale-issue-label: '🛑 No Response'
|
||||
close-issue-label: '🕸️ Inactive'
|
||||
exempt-issue-labels: '📌 Keep Open'
|
||||
exempt-pr-labels: '📌 Keep Open'
|
||||
|
||||
# Comment on issues that we should have replied to
|
||||
- name: Notify Repo Owner to Respond
|
||||
uses: actions/stale@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 7
|
||||
days-before-close: 183
|
||||
operations-per-run: 30
|
||||
remove-stale-when-updated: true
|
||||
stale-issue-message: Hey SillyTavern, - Don't forget to respond!
|
||||
stale-pr-message: Hey SillyTavern, - Don't forget to respond!
|
||||
only-labels: '👤 Awaiting Maintainer Response'
|
||||
labels-to-remove-when-unstale: '👤 Awaiting Maintainer Response'
|
||||
close-issue-message: 'Closed due to no response from repo author for over a year'
|
||||
close-pr-message: 'Closed due to no response from repo author for over a year'
|
||||
stale-issue-label: '👤 Awaiting Maintainer Response'
|
||||
stale-pr-label: '👤 Awaiting Maintainer Response'
|
||||
close-issue-label: '🕸️ Inactive'
|
||||
close-pr-label: '🕸️ Inactive'
|
||||
exempt-issue-labels: '📌 Keep Open'
|
||||
exempt-pr-labels: '📌 Keep Open'
|
||||
@@ -1,94 +0,0 @@
|
||||
# This workflow will publish a docker image for every full release to the GitHub package repository
|
||||
|
||||
name: Create Docker Image (Release and Staging)
|
||||
|
||||
on:
|
||||
release:
|
||||
# Allow pre-releases
|
||||
types: [published]
|
||||
schedule:
|
||||
# Build the staging image everyday at 00:00 UTC
|
||||
- cron: "0 0 * * *"
|
||||
push:
|
||||
# Temporary workaround
|
||||
branches:
|
||||
- release
|
||||
|
||||
env:
|
||||
# This should allow creation of docker images even in forked repositories
|
||||
REPO: ${{ github.repository }}
|
||||
REGISTRY: ghcr.io
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository == 'SillyTavern/SillyTavern'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# Workaround for GitHub repo names containing uppercase characters
|
||||
- name: Set lowercase repo name
|
||||
run: |
|
||||
echo "IMAGE_NAME=${REPO,,}" >> ${GITHUB_ENV}
|
||||
|
||||
# Using the following workaround because currently GitHub Actions
|
||||
# does not support logical AND/OR operations on triggers
|
||||
# It's currently not possible to have `branches` under the `schedule` trigger
|
||||
- name: Checkout the release branch (on release)
|
||||
if: ${{ github.event_name == 'release' || github.event_name == 'push' }}
|
||||
uses: actions/checkout@v4.1.2
|
||||
with:
|
||||
ref: "release"
|
||||
|
||||
- name: Checkout the staging branch
|
||||
if: ${{ github.event_name == 'schedule' }}
|
||||
uses: actions/checkout@v4.1.2
|
||||
with:
|
||||
ref: "staging"
|
||||
|
||||
# Get current branch name
|
||||
# This is also part of the workaround for Actions not allowing logical
|
||||
# AND/OR operators on triggers
|
||||
# Otherwise the action triggered by schedule always has ref_name = release
|
||||
- name: Get the current branch name
|
||||
run: |
|
||||
echo "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> ${GITHUB_ENV}
|
||||
|
||||
# Setting up QEMU for multi-arch image build
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Extract metadata (tags, labels) for the image
|
||||
uses: docker/metadata-action@v5.5.1
|
||||
id: metadata
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
# Release version tag if the workflow is triggered by a release
|
||||
# Branch name tag if the workflow is triggered by a push
|
||||
# Latest tag if the branch is release and the workflow is triggered by a push
|
||||
tags: |
|
||||
${{ github.event_name == 'release' && github.ref_name || env.BRANCH_NAME }}
|
||||
${{ github.event_name == 'push' && env.BRANCH_NAME == 'release' && 'latest' || '' }}
|
||||
|
||||
# Login into package repository as the person who created the release
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# Build docker image using dockerfile for amd64 and arm64
|
||||
# Tag it with branch name
|
||||
# Assumes branch name is the version number
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5.3.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.metadata.outputs.tags }}
|
||||
labels: ${{ steps.metadata.outputs.labels }}
|
||||
@@ -1,39 +0,0 @@
|
||||
# Adds a comment to new PRs, showing the compressed size and size difference of new code
|
||||
# And also labels the PR based on the number of lines changes
|
||||
|
||||
name: 🌈 Check PR Size
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
# Find and comment with compressed size
|
||||
- name: Get Compressed Size
|
||||
uses: preactjs/compressed-size-action@v2
|
||||
with:
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
pattern: './dist/**/*.{js,css,html}'
|
||||
strip-hash: '\\b\\w{8}\\.'
|
||||
exclude: '**/node_modules/**'
|
||||
minimum-change-threshold: 100
|
||||
# Check number of lines of code added
|
||||
- name: Label based on Lines of Code
|
||||
uses: codelytv/pr-size-labeler@v1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
xs_max_size: '10'
|
||||
s_max_size: '100'
|
||||
m_max_size: '500'
|
||||
l_max_size: '1000'
|
||||
s_label: '🟩 PR - Small'
|
||||
m_label: '🟨 PR - Medium'
|
||||
l_label: '🟧 PR - Large'
|
||||
xl_label: '🟥 PR - XL'
|
||||
fail_if_xl: 'false'
|
||||
message_if_xl: >
|
||||
It looks like this PR is very large (over 1000 lines).
|
||||
Try to avoid addressing multiple issues in a single PR, and
|
||||
in the future consider breaking large tasks down into smaller steps.
|
||||
This it to make reviewing, testing, reverting and general quality management easier.
|
||||
@@ -1,19 +0,0 @@
|
||||
name: "Issue Labeler"
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/issue-labeler@v3.4
|
||||
with:
|
||||
configuration-path: .github/labeler.yml
|
||||
# not-before: 2020-01-15T02:54:32Z # optional and will result in any issues prior to this timestamp to be ignored.
|
||||
enable-versioned-regex: 0
|
||||
repo-token: ${{ github.token }}
|
||||
@@ -1,17 +0,0 @@
|
||||
# When a new comment is added to an issue, if it had the Stale or Awaiting User Response labels, then those labels will be removed
|
||||
|
||||
name: 🎯 Remove Pending Labels on Close
|
||||
on:
|
||||
issues:
|
||||
types: [closed]
|
||||
jobs:
|
||||
remove-labels:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Remove Labels when Closed
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: remove-labels
|
||||
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: '🚏 Awaiting User Response,⚰️ Stale,👤 Awaiting Maintainer Response'
|
||||
@@ -1,42 +0,0 @@
|
||||
# When a new comment is added to an issue, if it had the Stale or Awaiting User Response labels, then those labels will be removed
|
||||
|
||||
name: 🎯 Add/ Remove Awaiting Response Labels
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
jobs:
|
||||
remove-stale:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.comment.author_association != 'COLLABORATOR' && github.event.comment.author_association != 'OWNER' }}
|
||||
steps:
|
||||
- name: Remove Stale labels when Updated
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: remove-labels
|
||||
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: '🚏 Awaiting User Response,⚰️ Stale'
|
||||
|
||||
add-awaiting-author:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{!github.event.issue.pull_request && github.event.comment.author_association != 'COLLABORATOR' && github.event.comment.author_association != 'OWNER' && github.event.issue.state == 'open' }}
|
||||
steps:
|
||||
- name: Add Awaiting Author labels when Updated
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: add-labels
|
||||
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: '👤 Awaiting Maintainer Response'
|
||||
|
||||
remove-awaiting-author:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.comment.author_association == 'OWNER' }}
|
||||
steps:
|
||||
- name: Remove Awaiting Author labels when Updated
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: remove-labels
|
||||
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: '👤 Awaiting Maintainer Response'
|
||||
@@ -1,32 +0,0 @@
|
||||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
||||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
||||
|
||||
name: Node.js Package
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm ci
|
||||
|
||||
publish-npm:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
||||
@@ -1,32 +0,0 @@
|
||||
name: Update i18n data
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions: # Job-level permissions configuration starts here
|
||||
contents: write # 'write' access to repository contents
|
||||
steps:
|
||||
- name: disable auto crlf
|
||||
uses: steve02081504/disable-autocrlf@v1
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
|
||||
- name: Create local changes
|
||||
run: |
|
||||
aria2c https://raw.githubusercontent.com/SillyTavern/SillyTavern-i18n/main/generate.py
|
||||
aria2c https://raw.githubusercontent.com/SillyTavern/SillyTavern-i18n/main/requirements.txt
|
||||
pip install -r ./requirements.txt
|
||||
python ./generate.py "" --sort-keys
|
||||
rm -f ./generate.py ./requirements.txt
|
||||
- name: add all
|
||||
run: git add -A
|
||||
- name: push
|
||||
uses: actions-go/push@master
|
||||
with:
|
||||
author-email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
author-name: github-actions[bot]
|
||||
commit-message: 'i18n changes'
|
||||
remote: origin
|
||||
@@ -4,48 +4,11 @@ public/characters/
|
||||
public/User Avatars/
|
||||
public/backgrounds/
|
||||
public/groups/
|
||||
public/group chats/
|
||||
public/worlds/
|
||||
public/user/
|
||||
public/css/bg_load.css
|
||||
public/themes/
|
||||
public/OpenAI Settings/
|
||||
public/KoboldAI Settings/
|
||||
public/NovelAI Settings/
|
||||
public/TextGen Settings/
|
||||
public/instruct/
|
||||
public/context/
|
||||
public/scripts/extensions/third-party/
|
||||
public/stats.json
|
||||
/uploads/
|
||||
*.jsonl
|
||||
/config.conf
|
||||
/config.yaml
|
||||
/config.conf.bak
|
||||
/docker/config
|
||||
/docker/user
|
||||
/docker/extensions
|
||||
/docker/data
|
||||
config.conf
|
||||
.DS_Store
|
||||
public/settings.json
|
||||
/thumbnails
|
||||
whitelist.txt
|
||||
.vscode/**
|
||||
!.vscode/extensions.json
|
||||
.idea/
|
||||
secrets.json
|
||||
/dist
|
||||
/backups/
|
||||
public/movingUI/
|
||||
public/QuickReplies/
|
||||
content.log
|
||||
cloudflared.exe
|
||||
public/assets/
|
||||
access.log
|
||||
/vectors/
|
||||
/cache/
|
||||
public/css/user.css
|
||||
/plugins/
|
||||
/data
|
||||
/default/scaffold
|
||||
public/scripts/extensions/third-party
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
node_modules/
|
||||
/uploads/
|
||||
.DS_Store
|
||||
/thumbnails
|
||||
secrets.json
|
||||
/dist
|
||||
/backups/
|
||||
/data
|
||||
/cache
|
||||
access.log
|
||||
.github
|
||||
.vscode
|
||||
.git
|
||||
@@ -1,81 +0,0 @@
|
||||
|
||||
hidden = [".config", "package-lock.json"]
|
||||
run = "chmod 755 ./start.sh && ./start.sh"
|
||||
entrypoint = "server.js"
|
||||
|
||||
[[hints]]
|
||||
regex = "Error \\[ERR_REQUIRE_ESM\\]"
|
||||
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
|
||||
|
||||
[nix]
|
||||
channel = "stable-22_11"
|
||||
|
||||
[env]
|
||||
XDG_CONFIG_HOME = "/home/runner/$REPL_SLUG/.config"
|
||||
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
|
||||
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
|
||||
|
||||
[gitHubImport]
|
||||
requiredFiles = [".replit", "replit.nix", ".config", "package.json", "package-lock.json"]
|
||||
|
||||
[packager]
|
||||
language = "nodejs"
|
||||
|
||||
[packager.features]
|
||||
packageSearch = true
|
||||
guessImports = true
|
||||
enabledForHosting = false
|
||||
|
||||
[unitTest]
|
||||
language = "nodejs"
|
||||
|
||||
[debugger]
|
||||
support = true
|
||||
|
||||
[debugger.interactive]
|
||||
transport = "localhost:0"
|
||||
startCommand = [ "dap-node" ]
|
||||
|
||||
[debugger.interactive.initializeMessage]
|
||||
command = "initialize"
|
||||
type = "request"
|
||||
|
||||
[debugger.interactive.initializeMessage.arguments]
|
||||
clientID = "replit"
|
||||
clientName = "replit.com"
|
||||
columnsStartAt1 = true
|
||||
linesStartAt1 = true
|
||||
locale = "en-us"
|
||||
pathFormat = "path"
|
||||
supportsInvalidatedEvent = true
|
||||
supportsProgressReporting = true
|
||||
supportsRunInTerminalRequest = true
|
||||
supportsVariablePaging = true
|
||||
supportsVariableType = true
|
||||
|
||||
[debugger.interactive.launchMessage]
|
||||
command = "launch"
|
||||
type = "request"
|
||||
|
||||
[debugger.interactive.launchMessage.arguments]
|
||||
args = []
|
||||
console = "externalTerminal"
|
||||
cwd = "."
|
||||
environment = []
|
||||
pauseForSourceMap = false
|
||||
program = "./server.js"
|
||||
request = "launch"
|
||||
sourceMaps = true
|
||||
stopOnEntry = false
|
||||
type = "pwa-node"
|
||||
|
||||
[languages]
|
||||
|
||||
[languages.javascript]
|
||||
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.json}"
|
||||
|
||||
[languages.javascript.languageServer]
|
||||
start = "typescript-language-server --stdio"
|
||||
|
||||
[deployment]
|
||||
run = ["sh", "-c", "./start.sh"]
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||
// List of extensions which should be recommended for users of this workspace.
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"EditorConfig.EditorConfig",
|
||||
"mrcrowl.easy-less"
|
||||
],
|
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
|
||||
"unwantedRecommendations": []
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
# How to contribute to SillyTavern
|
||||
|
||||
## Setting up the dev environment
|
||||
|
||||
1. Required software: git and node.
|
||||
2. Recommended editor: Visual Studio Code.
|
||||
3. You can also use GitHub Codespaces which sets up everything for you.
|
||||
|
||||
## Getting the code ready
|
||||
|
||||
1. Register a GitHub account.
|
||||
2. Fork this repository under your account.
|
||||
3. Clone the fork onto your machine.
|
||||
4. Open the cloned repository in the code editor.
|
||||
5. Create a git branch (recommended).
|
||||
6. Make your changes and test them locally.
|
||||
7. Commit the changes and push the branch to the remote repo.
|
||||
8. Go to GitHub, and open a pull request, targeting the upstream branch.
|
||||
|
||||
## Contribution guidelines
|
||||
|
||||
1. Our standards are pretty low, but make sure the code is not too ugly:
|
||||
- Run VS Code's autoformat when you're done.
|
||||
- Check with ESLint by running `npm run lint`, then fix the errors.
|
||||
- Use common sense and follow existing naming conventions.
|
||||
2. Create pull requests for the staging branch, 99% of contributions should go there. That way people could test your code before the next stable release.
|
||||
3. You can still send a pull request for release in the following scenarios:
|
||||
- Updating README.
|
||||
- Updating GitHub Actions.
|
||||
- Hotfixing a critical bug.
|
||||
4. Project maintainers will test and can change your code before merging.
|
||||
5. Write at least somewhat meaningful PR descriptions. There's no "right" way to do it, but the following may help with outlining a general structure:
|
||||
- What is the reason for a change?
|
||||
- What did you do to achieve this?
|
||||
- How would a reviewer test the change?
|
||||
6. Mind the license. Your contributions will be licensed under the GNU Affero General Public License. If you don't know what that implies, consult your lawyer.
|
||||
@@ -1,40 +1,40 @@
|
||||
FROM node:lts-alpine3.18
|
||||
FROM node:19.1.0-alpine3.16
|
||||
|
||||
# Arguments
|
||||
ARG APP_HOME=/home/node/app
|
||||
|
||||
# Install system dependencies
|
||||
RUN apk add gcompat tini git
|
||||
|
||||
# Ensure proper handling of kernel signals
|
||||
ENTRYPOINT [ "tini", "--" ]
|
||||
|
||||
# Create app directory
|
||||
WORKDIR ${APP_HOME}
|
||||
|
||||
# Set NODE_ENV to production
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Install app dependencies
|
||||
COPY package*.json post-install.js ./
|
||||
COPY package*.json ./
|
||||
RUN \
|
||||
echo "*** Install npm packages ***" && \
|
||||
npm i --no-audit --no-fund --quiet --omit=dev && npm cache clean --force
|
||||
npm install
|
||||
|
||||
# Bundle app source
|
||||
COPY . ./
|
||||
|
||||
# Copy default chats, characters and user avatars to <folder>.default folder
|
||||
RUN \
|
||||
rm -f "config.yaml" || true && \
|
||||
ln -s "./config/config.yaml" "config.yaml" || true && \
|
||||
mkdir "config" || true
|
||||
echo "*** Copy default chats, characters and user avatars to <folder>.default folder ***" && \
|
||||
mv "./public/characters" "./public/characters.default" && \
|
||||
mv "./public/chats" "./public/chats.default" && \
|
||||
mv "./public/User Avatars" "./public/User Avatars.default" && \
|
||||
mv "./public/settings.json" "./public/settings.json.default" && \
|
||||
|
||||
echo "*** Create symbolic links to config directory ***" && \
|
||||
ln -s "${APP_HOME}/config/characters" "${APP_HOME}/public/characters" && \
|
||||
ln -s "${APP_HOME}/config/chats" "${APP_HOME}/public/chats" && \
|
||||
ln -s "${APP_HOME}/config/User Avatars" "${APP_HOME}/public/User Avatars" && \
|
||||
ln -s "${APP_HOME}/config/settings.json" "${APP_HOME}/public/settings.json"
|
||||
|
||||
# Cleanup unnecessary files
|
||||
RUN \
|
||||
echo "*** Cleanup ***" && \
|
||||
mv "./docker/docker-entrypoint.sh" "./" && \
|
||||
rm -rf "./docker" && \
|
||||
rm -rf "./.git" && \
|
||||
echo "*** Make docker-entrypoint.sh executable ***" && \
|
||||
chmod +x "./docker-entrypoint.sh" && \
|
||||
echo "*** Convert line endings to Unix format ***" && \
|
||||
@@ -42,4 +42,4 @@ RUN \
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD [ "./docker-entrypoint.sh" ]
|
||||
ENTRYPOINT [ "/bin/sh", "-c", "./docker-entrypoint.sh" ]
|
||||
|
||||
@@ -1,661 +0,0 @@
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU Affero General Public License is a free, copyleft license for
|
||||
software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
our General Public Licenses are intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing under
|
||||
this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your version
|
||||
supports such interaction) an opportunity to receive the Corresponding
|
||||
Source of your version by providing access to the Corresponding Source
|
||||
from a network server at no charge, through some standard or customary
|
||||
means of facilitating copying of software. This Corresponding Source
|
||||
shall include the Corresponding Source for any work covered by version 3
|
||||
of the GNU General Public License that is incorporated pursuant to the
|
||||
following paragraph.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the work with which it is combined will remain governed by version
|
||||
3 of the GNU General Public License.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU Affero General Public License from time to time. Such new versions
|
||||
will be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU Affero General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU Affero General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU Affero General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published
|
||||
by the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If your software can interact with users remotely through a computer
|
||||
network, you should also make sure that it provides a way for users to
|
||||
get its source. For example, if your program is a web application, its
|
||||
interface could display a "Source" link that leads users to an archive
|
||||
of the code. There are many ways you could offer source, and different
|
||||
solutions will be better for different programs; see section 13 for the
|
||||
specific requirements.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
@@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
echo ========================================================================================================================
|
||||
echo WARNING: Cloudflare Tunnel!
|
||||
echo ========================================================================================================================
|
||||
echo This script downloads and runs the latest cloudflared.exe from Cloudflare to set up an HTTPS tunnel to your SillyTavern!
|
||||
echo Using the randomly generated temporary tunnel URL, anyone can access your SillyTavern over the Internet while the tunnel
|
||||
echo is active. Keep the URL safe and secure your SillyTavern installation by setting a username and password in config.yaml!
|
||||
echo.
|
||||
echo See https://docs.sillytavern.app/usage/remoteconnections/ for more details about how to secure your SillyTavern install.
|
||||
echo.
|
||||
echo By continuing you confirm that you're aware of the potential dangers of having a tunnel open and take all responsibility
|
||||
echo to properly use and secure it!
|
||||
echo.
|
||||
echo To abort, press Ctrl+C or close this window now!
|
||||
echo.
|
||||
pause
|
||||
if not exist cloudflared.exe curl -Lo cloudflared.exe https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe
|
||||
cloudflared.exe tunnel --url localhost:8000
|
||||
@@ -1,25 +0,0 @@
|
||||
# Security Policy
|
||||
|
||||
We take the security of this project seriously. If you discover any security vulnerabilities or have concerns regarding the security of this repository, please reach out to us immediately. We appreciate your efforts in responsibly disclosing the issue and will make every effort to address it promptly.
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
To report a security vulnerability, please follow these steps:
|
||||
|
||||
1. Go to the **Security** tab of this repository on GitHub.
|
||||
2. Click on **"Report a vulnerability"**.
|
||||
3. Provide a clear description of the vulnerability and its potential impact. Be as detailed as possible.
|
||||
4. If applicable, include steps or a PoC (Proof of Concept) to reproduce the vulnerability.
|
||||
5. Submit the report.
|
||||
|
||||
Once we receive the private report notification, we will promptly investigate and assess the reported vulnerability.
|
||||
|
||||
Please do not disclose any potential vulnerabilities in public repositories, issue trackers, or forums until we have had a chance to review and address the issue.
|
||||
|
||||
## Scope
|
||||
|
||||
This security policy applies to all the code and files within this repository and its dependencies actively maintained by us. If you encounter a security issue in a dependency that is not directly maintained by us, please follow responsible disclosure practices and report it to the respective project.
|
||||
|
||||
While we strive to ensure the security of this project, please note that there may be limitations on resources, response times, and mitigations.
|
||||
|
||||
Thank you for your help in making this project more secure.
|
||||
@@ -1,7 +1,2 @@
|
||||
@echo off
|
||||
pushd %~dp0
|
||||
set NODE_ENV=production
|
||||
call npm install --no-audit --no-fund --quiet --omit=dev
|
||||
node server.js %*
|
||||
pause
|
||||
popd
|
||||
call npm install
|
||||
node server.js
|
||||
@@ -1,75 +0,0 @@
|
||||
How to Update SillyTavern
|
||||
|
||||
The most recent version can be found here: https://docs.sillytavern.app/usage/update/
|
||||
|
||||
This is not an installation guide. If you need installation instructions, look here:
|
||||
https://docs.sillytavern.app/installation/windows/
|
||||
|
||||
This guide assumes you have already installed SillyTavern once, and know how to run it on your OS.
|
||||
|
||||
Linux/Termux:
|
||||
|
||||
You definitely installed via git, so just 'git pull' inside the SillyTavern directory.
|
||||
|
||||
Windows/MacOS:
|
||||
|
||||
Method 1 - GIT
|
||||
|
||||
We always recommend users install using 'git'. Here's why:
|
||||
|
||||
When you have installed via `git clone`, all you have to do to update is type `git pull` in a command line in the ST folder.
|
||||
You can also try running the 'UpdateAndStart.bat' file, which will almost do the same thing. (Windows only)
|
||||
Alternatively, if the command prompt gives you problems (and you have GitHub Desktop installed), you can use the 'Repository' menu and select 'Pull'.
|
||||
The updates are applied automatically and safely.
|
||||
|
||||
If you are a developer and use a fork of ST or switch branches regularly, you can use the 'UpdateForkAndStart.bat', which works similarly to 'UpdateAndStart.bat',
|
||||
but automatically pulls changes into your fork and handles switched branches gracefully by asking if you want to switch back.
|
||||
|
||||
Method 2 - ZIP
|
||||
|
||||
If you insist on installing via a zip, here is the tedious process for doing the update:
|
||||
|
||||
1. Download the new release zip.
|
||||
2. Unzip it into a folder OUTSIDE of your current ST installation.
|
||||
3. Do the usual setup procedure for your OS to install the NodeJS requirements.
|
||||
|
||||
4a. Updating 1.12.0 and above
|
||||
|
||||
Copy the user data directory from your data root into the data root of the new install.
|
||||
|
||||
By default: /data/default-user
|
||||
|
||||
4a. Migrating from <1.12.0 to >=1.20.0
|
||||
Copy the following files/folders as necessary(*) from your old ST installation:
|
||||
|
||||
- Assets
|
||||
- Backgrounds
|
||||
- Characters
|
||||
- Chats
|
||||
- Context
|
||||
- Groups
|
||||
- Group chats
|
||||
- Instruct
|
||||
- movingUI
|
||||
- KoboldAI Settings
|
||||
- NovelAI Settings
|
||||
- OpenAI Settings (Chat Completion API)
|
||||
- TextGen Settings (Text Completion API)
|
||||
- QuickReplies
|
||||
- Themes
|
||||
- User Avatars
|
||||
- Worlds
|
||||
- User
|
||||
- settings.json
|
||||
- secrets.json <---- This one is in the base folder, not /public/
|
||||
|
||||
(*) 'As necessary' = "If you made any custom content related to those folders".
|
||||
None of the folders are mandatory, so only copy what you need.
|
||||
|
||||
**NB: DO NOT COPY THE ENTIRE /PUBLIC/ FOLDER.**
|
||||
Doing so could break the new install and prevent new features from being present.
|
||||
Paste those items into the /data/default-user folder of the new install.
|
||||
|
||||
5. Start SillyTavern once again with the method appropriate to your OS, and pray you got it right.
|
||||
|
||||
6. If everything shows up, you can safely delete the old ST folder.
|
||||
@@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
pushd %~dp0
|
||||
git --version > nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo Git is not installed on this system. Skipping update.
|
||||
echo If you installed with a zip file, you will need to download the new zip and install it manually.
|
||||
) else (
|
||||
call git pull --rebase --autostash
|
||||
if %errorlevel% neq 0 (
|
||||
REM incase there is still something wrong
|
||||
echo There were errors while updating. Please download the latest version manually.
|
||||
)
|
||||
)
|
||||
set NODE_ENV=production
|
||||
call npm install --no-audit --no-fund --quiet --omit=dev
|
||||
node server.js %*
|
||||
pause
|
||||
popd
|
||||
@@ -1,103 +0,0 @@
|
||||
@echo off
|
||||
@setlocal enabledelayedexpansion
|
||||
pushd %~dp0
|
||||
|
||||
echo Checking Git installation
|
||||
git --version > nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo Git is not installed on this system. Skipping update.
|
||||
echo If you installed with a zip file, you will need to download the new zip and install it manually.
|
||||
goto end
|
||||
)
|
||||
|
||||
REM Checking current branch
|
||||
FOR /F "tokens=*" %%i IN ('git rev-parse --abbrev-ref HEAD') DO SET CURRENT_BRANCH=%%i
|
||||
echo Current branch: %CURRENT_BRANCH%
|
||||
|
||||
REM Checking for automatic branch switching configuration
|
||||
set AUTO_SWITCH=
|
||||
FOR /F "tokens=*" %%j IN ('git config --local script.autoSwitch') DO SET AUTO_SWITCH=%%j
|
||||
|
||||
SET TARGET_BRANCH=%CURRENT_BRANCH%
|
||||
|
||||
if NOT "!AUTO_SWITCH!"=="" (
|
||||
if "!AUTO_SWITCH!"=="s" (
|
||||
goto autoswitch-staging
|
||||
)
|
||||
if "!AUTO_SWITCH!"=="r" (
|
||||
goto autoswitch-release
|
||||
)
|
||||
|
||||
if "!AUTO_SWITCH!"=="staging" (
|
||||
:autoswitch-staging
|
||||
echo Auto-switching to staging branch
|
||||
git checkout staging
|
||||
SET TARGET_BRANCH=staging
|
||||
goto update
|
||||
)
|
||||
if "!AUTO_SWITCH!"=="release" (
|
||||
:autoswitch-release
|
||||
echo Auto-switching to release branch
|
||||
git checkout release
|
||||
SET TARGET_BRANCH=release
|
||||
goto update
|
||||
)
|
||||
|
||||
echo Auto-switching defined to stay on current branch
|
||||
goto update
|
||||
)
|
||||
|
||||
if "!CURRENT_BRANCH!"=="staging" (
|
||||
echo Staying on the current branch
|
||||
goto update
|
||||
)
|
||||
if "!CURRENT_BRANCH!"=="release" (
|
||||
echo Staying on the current branch
|
||||
goto update
|
||||
)
|
||||
|
||||
echo You are not on 'staging' or 'release'. You are on '!CURRENT_BRANCH!'.
|
||||
set /p "CHOICE=Do you want to switch to 'staging' (s), 'release' (r), or stay (any other key)? "
|
||||
if /i "!CHOICE!"=="s" (
|
||||
echo Switching to staging branch
|
||||
git checkout staging
|
||||
SET TARGET_BRANCH=staging
|
||||
goto update
|
||||
)
|
||||
if /i "!CHOICE!"=="r" (
|
||||
echo Switching to release branch
|
||||
git checkout release
|
||||
SET TARGET_BRANCH=release
|
||||
goto update
|
||||
)
|
||||
|
||||
echo Staying on the current branch
|
||||
|
||||
:update
|
||||
REM Checking for 'upstream' remote
|
||||
git remote | findstr "upstream" > nul
|
||||
if %errorlevel% equ 0 (
|
||||
echo Updating and rebasing against 'upstream'
|
||||
git fetch upstream
|
||||
git rebase upstream/%TARGET_BRANCH% --autostash
|
||||
goto install
|
||||
)
|
||||
|
||||
echo Updating and rebasing against 'origin'
|
||||
git pull --rebase --autostash origin %TARGET_BRANCH%
|
||||
|
||||
|
||||
:install
|
||||
if %errorlevel% neq 0 (
|
||||
echo There were errors while updating. Please check manually.
|
||||
goto end
|
||||
)
|
||||
|
||||
echo Installing npm packages and starting server
|
||||
set NODE_ENV=production
|
||||
call npm install --no-audit --no-fund --quiet --omit=dev
|
||||
node server.js %*
|
||||
|
||||
:end
|
||||
pause
|
||||
popd
|
||||
@@ -1,9 +0,0 @@
|
||||
# Looking for setting snapshots or chat backups?
|
||||
|
||||
Individual user backups are now located in the data directory.
|
||||
|
||||
Example for the default user under default data root:
|
||||
|
||||
/data/default-user/backups
|
||||
|
||||
This folder remains for historical purposes only.
|
||||
@@ -6,21 +6,68 @@
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"**Links**<br>\n",
|
||||
"Extensions API GitHub: https://github.com/SillyTavern/SillyTavern-extras/<br>\n",
|
||||
"SillyTavern community Discord (support and discussion): https://discord.gg/sillytavern"
|
||||
"Cohee's TavernAI fork Github https://github.com/Cohee1207/SillyTavern<br>\n",
|
||||
"Cohee's TavernAI Extras Github https://github.com/Cohee1207/TavernAI-extras/<br>\n",
|
||||
"TavernAI Discord https://discord.gg/zmK2gmr45t<br>\n",
|
||||
"Questions? Hit me up on Discord: Cohee#1207"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"cellView": "form",
|
||||
"id": "_1gpebrnlp5-"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#@title <-- Tap this if you run on Mobile { display-mode: \"form\" }\n",
|
||||
"#Taken from KoboldAI colab\n",
|
||||
"#@title <b><-- Convert TavernAI characters to SillyTavern format</b>\n",
|
||||
"\n",
|
||||
"!mkdir /convert\n",
|
||||
"%cd /convert\n",
|
||||
"\n",
|
||||
"import os\n",
|
||||
"from google.colab import drive\n",
|
||||
"\n",
|
||||
"drive.mount(\"/convert/drive\")\n",
|
||||
"\n",
|
||||
"!git clone -b tools https://github.com/EnergoStalin/SillyTavern.git\n",
|
||||
"%cd SillyTavern\n",
|
||||
"\n",
|
||||
"!curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash\n",
|
||||
"!nvm install 19.1.0\n",
|
||||
"!nvm use 19.1.0\n",
|
||||
"\n",
|
||||
"%cd tools/charaverter\n",
|
||||
"\n",
|
||||
"!npm i\n",
|
||||
"\n",
|
||||
"path = \"/convert/drive/MyDrive/TavernAI/characters\"\n",
|
||||
"output = \"/convert/drive/MyDrive/SillyTavern/characters\"\n",
|
||||
"if not os.path.exists(path):\n",
|
||||
" path = output\n",
|
||||
"\n",
|
||||
"!mkdir -p $output\n",
|
||||
"!node main.mjs $path $output\n",
|
||||
"\n",
|
||||
"drive.flush_and_unmount()\n",
|
||||
"\n",
|
||||
"%cd /\n",
|
||||
"!rm -rf /convert"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "ewkXkyiFP2Hq"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#@title <-- Tap this if you play on Mobile { display-mode: \"form\" }\n",
|
||||
"%%html\n",
|
||||
"<b>Press play on the audio player to keep the tab alive. (Uses only 13MB of data)</b><br/>\n",
|
||||
"<audio src=\"https://henk.tech/colabkobold/silence.m4a\" controls>"
|
||||
"<b>Press play on the music player to keep the tab alive, then start KoboldAI below (Uses only 13MB of data)</b><br/>\n",
|
||||
"<audio src=\"https://raw.githubusercontent.com/KoboldAI/KoboldAI-Client/main/colab/silence.m4a\" controls>"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -32,144 +79,247 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#@markdown (RECOMMENDED) Generates an API key for you to use with the API\n",
|
||||
"secure = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Allows to run SillyTavern Extras on CPU (use if you're out of daily GPU allowance)\n",
|
||||
"use_cpu = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Allows to run Stable Diffusion pipeline on CPU (slow!)\n",
|
||||
"use_sd_cpu = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown ***\n",
|
||||
"#@markdown Enables the WebSearch module\n",
|
||||
"extras_enable_websearch = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown ***\n",
|
||||
"#@title <b><-- Select your model below and then click this to start KoboldAI</b>\n",
|
||||
"\n",
|
||||
"Model = \"Pygmalion 6B\" #@param [\"Nerys V2 6B\", \"Erebus 6B\", \"Skein 6B\", \"Janeway 6B\", \"Adventure 6B\", \"Pygmalion 6B\", \"Pygmalion 6B Dev\", \"Lit V2 6B\", \"Lit 6B\", \"Shinen 6B\", \"Nerys 2.7B\", \"AID 2.7B\", \"Erebus 2.7B\", \"Janeway 2.7B\", \"Picard 2.7B\", \"Horni LN 2.7B\", \"Horni 2.7B\", \"Shinen 2.7B\", \"OPT 2.7B\", \"Fairseq Dense 2.7B\", \"Neo 2.7B\", \"Pygway 6B\", \"Nerybus 6.7B\", \"Pygway v8p4\", \"PPO-Janeway 6B\", \"PPO Shygmalion 6B\", \"LLaMA 7B\", \"Janin-GPTJ\", \"Javelin-GPTJ\", \"Javelin-R\", \"Janin-R\", \"Javalion-R\", \"Javalion-GPTJ\", \"Javelion-6B\", \"GPT-J-Pyg-PPO-6B\", \"ppo_hh_pythia-6B\", \"ppo_hh_gpt-j\", \"GPT-J-Pyg_PPO-6B\", \"GPT-J-Pyg_PPO-6B-Dev-V8p4\", \"Dolly_GPT-J-6b\", \"Dolly_Pyg-6B\"] {allow-input: true}\n",
|
||||
"Version = \"Official\" #@param [\"Official\", \"United\"] {allow-input: true}\n",
|
||||
"Provider = \"Localtunnel\" #@param [\"Localtunnel\"]\n",
|
||||
"ForceInitSteps = [] #@param {allow-input: true}\n",
|
||||
"UseGoogleDrive = True #@param {type:\"boolean\"}\n",
|
||||
"StartKoboldAI = True #@param {type:\"boolean\"}\n",
|
||||
"ModelsFromDrive = False #@param {type:\"boolean\"}\n",
|
||||
"UseExtrasExtensions = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Enables hosting of extensions backend for TavernAI Extras\n",
|
||||
"extras_enable_captioning = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Loads the image captioning module\n",
|
||||
"extras_enable_caption = True #@param {type:\"boolean\"}\n",
|
||||
"captioning_model = \"Salesforce/blip-image-captioning-large\" #@param [ \"Salesforce/blip-image-captioning-large\", \"Salesforce/blip-image-captioning-base\" ]\n",
|
||||
"Captions_Model = \"Salesforce/blip-image-captioning-large\" #@param [ \"Salesforce/blip-image-captioning-large\", \"Salesforce/blip-image-captioning-base\" ]\n",
|
||||
"#@markdown * Salesforce/blip-image-captioning-large - good base model\n",
|
||||
"#@markdown * Salesforce/blip-image-captioning-base - slightly faster but less accurate\n",
|
||||
"#@markdown ***\n",
|
||||
"extras_enable_emotions = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Loads the sentiment classification model\n",
|
||||
"extras_enable_classify = True #@param {type:\"boolean\"}\n",
|
||||
"classification_model = \"nateraw/bert-base-uncased-emotion\" #@param [\"nateraw/bert-base-uncased-emotion\", \"joeddav/distilbert-base-uncased-go-emotions-student\"]\n",
|
||||
"#@markdown * nateraw/bert-base-uncased-emotion = 6 supported emotions<br>\n",
|
||||
"Emotions_Model = \"bhadresh-savani/distilbert-base-uncased-emotion\" #@param [\"bhadresh-savani/distilbert-base-uncased-emotion\", \"joeddav/distilbert-base-uncased-go-emotions-student\"]\n",
|
||||
"#@markdown * bhadresh-savani/distilbert-base-uncased-emotion = 6 supported emotions<br>\n",
|
||||
"#@markdown * joeddav/distilbert-base-uncased-go-emotions-student = 28 supported emotions\n",
|
||||
"#@markdown ***\n",
|
||||
"extras_enable_memory = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Loads the story summarization module\n",
|
||||
"extras_enable_summarize = True #@param {type:\"boolean\"}\n",
|
||||
"summarization_model = \"slauw87/bart_summarisation\" #@param [ \"slauw87/bart_summarisation\", \"Qiliang/bart-large-cnn-samsum-ChatGPT_v3\", \"Qiliang/bart-large-cnn-samsum-ElectrifAi_v10\", \"distilbart-xsum-12-3\" ]\n",
|
||||
"#@markdown * slauw87/bart_summarisation - general purpose summarization model\n",
|
||||
"Memory_Model = \"Qiliang/bart-large-cnn-samsum-ChatGPT_v3\" #@param [ \"Qiliang/bart-large-cnn-samsum-ChatGPT_v3\", \"Qiliang/bart-large-cnn-samsum-ElectrifAi_v10\", \"distilbart-xsum-12-3\" ]\n",
|
||||
"#@markdown * Qiliang/bart-large-cnn-samsum-ChatGPT_v3 - summarization model optimized for chats\n",
|
||||
"#@markdown * Qiliang/bart-large-cnn-samsum-ElectrifAi_v10 - nice results so far, but still being evaluated\n",
|
||||
"#@markdown * distilbart-xsum-12-3 - faster, but pretty basic alternative\n",
|
||||
"#@markdown ***\n",
|
||||
"#@markdown Enables Silero text-to-speech module\n",
|
||||
"extras_enable_silero_tts = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Enables Microsoft Edge text-to-speech module\n",
|
||||
"extras_enable_edge_tts = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Enables RVC module\n",
|
||||
"extras_enable_rvc = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown ***\n",
|
||||
"#@markdown Enables Whisper speech recognition module\n",
|
||||
"extras_enable_whisper_stt = True #@param {type:\"boolean\"}\n",
|
||||
"whisper_model = \"base.en\" #@param [ \"tiny.en\", \"base.en\", \"small.en\", \"medium.en\", \"tiny\", \"base\", \"small\", \"medium\", \"large\" ]\n",
|
||||
"#@markdown There are five model sizes, four with English-only versions, offering speed and accuracy tradeoffs.\n",
|
||||
"#@markdown The .en models for English-only applications tend to perform better, especially for the tiny.en and base.en models.\n",
|
||||
"#@markdown ***\n",
|
||||
"#@markdown Enables SD picture generation\n",
|
||||
"extras_enable_sd = True #@param {type:\"boolean\"}\n",
|
||||
"sd_model = \"ckpt/anything-v4.5-vae-swapped\" #@param [ \"ckpt/anything-v4.5-vae-swapped\", \"hakurei/waifu-diffusion\", \"philz1337/clarity\", \"prompthero/openjourney\", \"ckpt/sd15\", \"stabilityai/stable-diffusion-2-1-base\" ]\n",
|
||||
"#@markdown * ckpt/anything-v4.5-vae-swapped - anime style model\n",
|
||||
"#@markdown * hakurei/waifu-diffusion - anime style model\n",
|
||||
"#@markdown * philz1337/clarity - realistic style model\n",
|
||||
"#@markdown * prompthero/openjourney - midjourney style model\n",
|
||||
"#@markdown * ckpt/sd15 - base SD 1.5\n",
|
||||
"#@markdown * stabilityai/stable-diffusion-2-1-base - base SD 2.1\n",
|
||||
"#@markdown ***\n",
|
||||
"#@markdown Enables ChromaDB module\n",
|
||||
"extras_enable_chromadb = True #@param {type:\"boolean\"}\n",
|
||||
"\n",
|
||||
"import subprocess\n",
|
||||
"import secrets\n",
|
||||
"\n",
|
||||
"%cd /content\n",
|
||||
"\n",
|
||||
"!cat .ii\n",
|
||||
"!nvidia-smi\n",
|
||||
"\n",
|
||||
"import os, subprocess, time, pathlib, json, base64, sys\n",
|
||||
"\n",
|
||||
"# ---\n",
|
||||
"# SillyTavern extras\n",
|
||||
"extras_url = '(disabled)'\n",
|
||||
"params = []\n",
|
||||
"if use_cpu:\n",
|
||||
" params.append('--cpu')\n",
|
||||
"if use_sd_cpu:\n",
|
||||
" params.append('--sd-cpu')\n",
|
||||
"if secure:\n",
|
||||
" params.append('--secure')\n",
|
||||
"params.append('--share')\n",
|
||||
"modules = []\n",
|
||||
"# Utils\n",
|
||||
"class IncrementialInstall:\n",
|
||||
" def __init__(self, root = \"/\", tasks = [], force = []):\n",
|
||||
" self.tasks = tasks\n",
|
||||
" self.path = os.path.join(root, \".ii\")\n",
|
||||
" self.completed = list(filter(lambda x: not x in force, self.__completed()))\n",
|
||||
"\n",
|
||||
"if extras_enable_caption:\n",
|
||||
" modules.append('caption')\n",
|
||||
"if extras_enable_summarize:\n",
|
||||
" modules.append('summarize')\n",
|
||||
"if extras_enable_classify:\n",
|
||||
" modules.append('classify')\n",
|
||||
"if extras_enable_sd:\n",
|
||||
" modules.append('sd')\n",
|
||||
"if extras_enable_silero_tts:\n",
|
||||
" modules.append('silero-tts')\n",
|
||||
"if extras_enable_edge_tts:\n",
|
||||
" modules.append('edge-tts')\n",
|
||||
"if extras_enable_chromadb:\n",
|
||||
" modules.append('chromadb')\n",
|
||||
"if extras_enable_whisper_stt:\n",
|
||||
" modules.append('whisper-stt')\n",
|
||||
" params.append(f'--stt-whisper-model-path={whisper_model}')\n",
|
||||
"if extras_enable_rvc:\n",
|
||||
" modules.append('rvc')\n",
|
||||
" params.append('--max-content-length=2000')\n",
|
||||
" params.append('--rvc-save-file')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"if extras_enable_websearch:\n",
|
||||
" print(\"Enabling WebSearch module\")\n",
|
||||
" modules.append('websearch')\n",
|
||||
" !apt update\n",
|
||||
" !apt install -y chromium-chromedriver\n",
|
||||
"\n",
|
||||
"params.append(f'--classification-model={classification_model}')\n",
|
||||
"params.append(f'--summarization-model={summarization_model}')\n",
|
||||
"params.append(f'--captioning-model={captioning_model}')\n",
|
||||
"params.append(f'--sd-model={sd_model}')\n",
|
||||
"params.append(f'--enable-modules={\",\".join(modules)}')\n",
|
||||
" def __completed(self):\n",
|
||||
" try:\n",
|
||||
" with open(self.path) as f:\n",
|
||||
" return json.load(f)\n",
|
||||
" except:\n",
|
||||
" return []\n",
|
||||
"\n",
|
||||
" def addTask(self, name, func):\n",
|
||||
" self.tasks.append({\"name\": name, \"func\": func})\n",
|
||||
"\n",
|
||||
" def run(self):\n",
|
||||
" todo = list(filter(lambda x: not x[\"name\"] in self.completed, self.tasks))\n",
|
||||
" try:\n",
|
||||
" for task in todo:\n",
|
||||
" task[\"func\"]()\n",
|
||||
" self.completed.append(task[\"name\"])\n",
|
||||
" finally:\n",
|
||||
" with open(self.path, \"w\") as f:\n",
|
||||
" json.dump(self.completed, f)\n",
|
||||
"\n",
|
||||
"def create_paths(paths):\n",
|
||||
" for directory in paths:\n",
|
||||
" if not os.path.exists(directory):\n",
|
||||
" os.makedirs(directory)\n",
|
||||
"\n",
|
||||
"def link(srcDir, destDir, files):\n",
|
||||
" '''\n",
|
||||
" Link source to dest copying dest to source if not present first\n",
|
||||
" '''\n",
|
||||
" for file in files:\n",
|
||||
" source = os.path.join(srcDir, file)\n",
|
||||
" dest = os.path.join(destDir, file)\n",
|
||||
" if not os.path.exists(source):\n",
|
||||
" !cp -r \"$dest\" \"$source\"\n",
|
||||
" !rm -rf \"$dest\"\n",
|
||||
" !ln -fs \"$source\" \"$dest\"\n",
|
||||
"\n",
|
||||
"from google.colab import drive\n",
|
||||
"if UseGoogleDrive:\n",
|
||||
" drive.mount(\"/content/drive/\")\n",
|
||||
"else:\n",
|
||||
" create_paths([\n",
|
||||
" \"/content/drive/MyDrive\"\n",
|
||||
" ])\n",
|
||||
"\n",
|
||||
"ii = IncrementialInstall(force=ForceInitSteps)\n",
|
||||
"\n",
|
||||
"# ---\n",
|
||||
"# SillyTavern py modules\n",
|
||||
"def cloneTavern():\n",
|
||||
" %cd /\n",
|
||||
" !git clone https://github.com/Cohee1207/SillyTavern\n",
|
||||
" %cd -\n",
|
||||
" !cp /SillyTavern/colab/*.py ./\n",
|
||||
"ii.addTask(\"Clone SillyTavern\", cloneTavern)\n",
|
||||
"ii.run()\n",
|
||||
"\n",
|
||||
"from models import GetModels, ModelData\n",
|
||||
"model = GetModels(Version).get(Model, ModelData(Model, Version))\n",
|
||||
"\n",
|
||||
"# ---\n",
|
||||
"# KoboldAI\n",
|
||||
"if StartKoboldAI:\n",
|
||||
" def downloadKobold():\n",
|
||||
" !wget https://koboldai.org/ckds && chmod +x ckds\n",
|
||||
" def initKobold():\n",
|
||||
" !./ckds --init only\n",
|
||||
"\n",
|
||||
" ii.addTask(\"Download KoboldAI\", downloadKobold)\n",
|
||||
" ii.addTask(\"Init KoboldAI\", initKobold)\n",
|
||||
" \n",
|
||||
" ii.run()\n",
|
||||
"\n",
|
||||
"kargs = [\"/content/ckds\"]\n",
|
||||
"if not ModelsFromDrive:\n",
|
||||
" kargs += [\"-x\", \"colab\", \"-l\", \"colab\"]\n",
|
||||
"if Provider == \"Localtunnel\":\n",
|
||||
" kargs += [\"--localtunnel\", \"yes\"]\n",
|
||||
"\n",
|
||||
"kargs += model.args()\n",
|
||||
"\n",
|
||||
"url = \"\"\n",
|
||||
"print(kargs)\n",
|
||||
"\n",
|
||||
"if StartKoboldAI:\n",
|
||||
" p = subprocess.Popen(kargs, stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
|
||||
"\n",
|
||||
" prefix = \"KoboldAI has finished loading and is available at the following link\"\n",
|
||||
" urlprefix = f\"{prefix}: \"\n",
|
||||
" ui1prefix = f\"{prefix} for UI 1: \"\n",
|
||||
" while True:\n",
|
||||
" line = p.stdout.readline().decode().strip()\n",
|
||||
" print(line)\n",
|
||||
" if urlprefix in line:\n",
|
||||
" url = line.split(urlprefix)[1]\n",
|
||||
" break\n",
|
||||
" elif ui1prefix in line:\n",
|
||||
" url = line.split(ui1prefix)[1]\n",
|
||||
" break\n",
|
||||
" elif not line:\n",
|
||||
" break\n",
|
||||
" if \"INIT\" in line and \"Transformers\" in line:\n",
|
||||
" print(\"Model loading... (It will take 2 - 5 minutes)\")\n",
|
||||
"\n",
|
||||
"print(url)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# ---\n",
|
||||
"# nodejs\n",
|
||||
"%cd /\n",
|
||||
"!git clone https://github.com/SillyTavern/SillyTavern-extras\n",
|
||||
"%cd /SillyTavern-extras\n",
|
||||
"!git clone https://github.com/Cohee1207/tts_samples\n",
|
||||
"!npm install -g localtunnel\n",
|
||||
"%pip install -r requirements.txt\n",
|
||||
"!wget https://github.com/cloudflare/cloudflared/releases/download/2023.5.0/cloudflared-linux-amd64 -O /tmp/cloudflared-linux-amd64\n",
|
||||
"!chmod +x /tmp/cloudflared-linux-amd64\n",
|
||||
"def setupNVM():\n",
|
||||
" !curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash\n",
|
||||
"ii.addTask(\"Setup NVM\", setupNVM)\n",
|
||||
"\n",
|
||||
"if extras_enable_rvc:\n",
|
||||
" print(\"Installing RVC requirements\")\n",
|
||||
" %pip install -r requirements-rvc.txt\n",
|
||||
"def installNode():\n",
|
||||
" !nvm install 19.1.0\n",
|
||||
" !nvm use 19.1.0\n",
|
||||
"ii.addTask(\"Install node\", installNode)\n",
|
||||
"\n",
|
||||
"# Generate a random API key\n",
|
||||
"api_key = secrets.token_hex(5)\n",
|
||||
"\n",
|
||||
"# Write the API key to api_key.txt\n",
|
||||
"with open('./api_key.txt', 'w') as f:\n",
|
||||
" f.write(api_key)\n",
|
||||
"print(f\"API Key generated: {api_key}\")\n",
|
||||
"# ---\n",
|
||||
"# TavernAI extras\n",
|
||||
"import globals\n",
|
||||
"globals.extras_url = '(disabled)'\n",
|
||||
"globals.params = []\n",
|
||||
"globals.params.append('--cpu')\n",
|
||||
"ExtrasModules = []\n",
|
||||
"\n",
|
||||
"cmd = f\"python server.py {' '.join(params)}\"\n",
|
||||
"print(cmd)\n",
|
||||
"extras_process = subprocess.Popen(\n",
|
||||
" cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd='/SillyTavern-extras', shell=True)\n",
|
||||
"print('processId:', extras_process.pid)\n",
|
||||
"while True:\n",
|
||||
" line = extras_process.stdout.readline().decode().strip()\n",
|
||||
" if line != None and line != '':\n",
|
||||
" print(line)\n"
|
||||
"if (extras_enable_captioning):\n",
|
||||
" ExtrasModules.append('caption')\n",
|
||||
"if (extras_enable_memory):\n",
|
||||
" ExtrasModules.append('summarize')\n",
|
||||
"if (extras_enable_emotions):\n",
|
||||
" ExtrasModules.append('classify')\n",
|
||||
"\n",
|
||||
"globals.params.append(f'--classification-model={Emotions_Model}')\n",
|
||||
"globals.params.append(f'--summarization-model={Memory_Model}')\n",
|
||||
"globals.params.append(f'--captioning-model={Captions_Model}')\n",
|
||||
"globals.params.append(f'--enable-modules={\",\".join(ExtrasModules)}')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"if UseExtrasExtensions:\n",
|
||||
" def cloneExtras():\n",
|
||||
" %cd /\n",
|
||||
" !git clone https://github.com/Cohee1207/TavernAI-extras\n",
|
||||
" ii.addTask('clone extras', cloneExtras)\n",
|
||||
"\n",
|
||||
" def installRequirements():\n",
|
||||
" %cd /TavernAI-extras\n",
|
||||
" !npm install -g localtunnel\n",
|
||||
" !pip install -r requirements.txt\n",
|
||||
" !pip install tensorflow==2.11\n",
|
||||
" ii.addTask('install requirements', installRequirements)\n",
|
||||
"\n",
|
||||
" from extras_server import runServer, extractUrl\n",
|
||||
" ii.addTask('run server', runServer)\n",
|
||||
" ii.addTask('extract extras URL', extractUrl)\n",
|
||||
"\n",
|
||||
"%cd /SillyTavern\n",
|
||||
"\n",
|
||||
"if UseGoogleDrive:\n",
|
||||
" %env googledrive=2\n",
|
||||
"\n",
|
||||
" def setupTavernPaths():\n",
|
||||
" %cd /SillyTavern\n",
|
||||
" tdrive = \"/content/drive/MyDrive/SillyTavern\"\n",
|
||||
" create_paths([\n",
|
||||
" tdrive,\n",
|
||||
" os.path.join(\"public\", \"groups\"),\n",
|
||||
" os.path.join(\"public\", \"group chats\")\n",
|
||||
" ])\n",
|
||||
" link(tdrive, \"public\", [\n",
|
||||
" \"settings.json\",\n",
|
||||
" \"backgrounds\",\n",
|
||||
" \"characters\",\n",
|
||||
" \"chats\",\n",
|
||||
" \"User Avatars\",\n",
|
||||
" \"css\",\n",
|
||||
" \"worlds\",\n",
|
||||
" \"group chats\",\n",
|
||||
" \"groups\",\n",
|
||||
" ])\n",
|
||||
" ii.addTask(\"Setup Tavern Paths\", setupTavernPaths)\n",
|
||||
"\n",
|
||||
"def installTavernDependencies():\n",
|
||||
" %cd /SillyTavern\n",
|
||||
" !npm install\n",
|
||||
" !npm install -g localtunnel\n",
|
||||
"ii.addTask(\"Install Tavern Dependencies\", installTavernDependencies)\n",
|
||||
"ii.run()\n",
|
||||
"\n",
|
||||
"%env colaburl=$url\n",
|
||||
"%env SILLY_TAVERN_PORT=5001\n",
|
||||
"print(\"KoboldAI LINK:\", url, '###Extensions API LINK###', globals.extras_url, \"###SillyTavern LINK###\", sep=\"\\n\")\n",
|
||||
"p = subprocess.Popen([\"lt\", \"--port\", \"5001\"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
|
||||
"print(p.stdout.readline().decode().strip())\n",
|
||||
"!node server.js"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
import os
|
||||
import time
|
||||
import subprocess
|
||||
import globals
|
||||
|
||||
def runServer():
|
||||
cmd = f"python server.py {' '.join(globals.params)}"
|
||||
print(cmd)
|
||||
extras_process = subprocess.Popen(
|
||||
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd='/TavernAI-extras', shell=True)
|
||||
print('processId:', extras_process.pid)
|
||||
while True:
|
||||
line = extras_process.stdout.readline().decode().strip()
|
||||
if "Running on " in line:
|
||||
break
|
||||
if not line:
|
||||
print('breaking on line')
|
||||
break
|
||||
print(line)
|
||||
|
||||
|
||||
def extractUrl():
|
||||
subprocess.call(
|
||||
'nohup lt --port 5100 > ./extras.out 2> ./extras.err &', shell=True)
|
||||
print('Waiting for lt init...')
|
||||
time.sleep(5)
|
||||
while True:
|
||||
if (os.path.getsize('./extras.out') > 0):
|
||||
with open('./extras.out', 'r') as f:
|
||||
lines = f.readlines()
|
||||
for x in range(len(lines)):
|
||||
if ('your url is: ' in lines[x]):
|
||||
print('TavernAI Extensions URL:')
|
||||
globals.extras_url = lines[x].split('your url is: ')[1]
|
||||
print(globals.extras_url)
|
||||
break
|
||||
if (os.path.getsize('./extras.err') > 0):
|
||||
with open('./extras.err', 'r') as f:
|
||||
print(f.readlines())
|
||||
break
|
||||
@@ -0,0 +1,2 @@
|
||||
extras_url = '(disabled)'
|
||||
params = []
|
||||
@@ -0,0 +1,77 @@
|
||||
class ModelData:
|
||||
def __init__(self, name, version = "", revision="", path="", download=""):
|
||||
self.name = name
|
||||
self.version = version
|
||||
self.revision = revision
|
||||
self.path = path
|
||||
self.download = download
|
||||
|
||||
def __str__(self):
|
||||
return self.args().__str__()
|
||||
|
||||
def args(self):
|
||||
args = ["-m", self.name]
|
||||
if (self.version):
|
||||
args += ["-g", self.version]
|
||||
if (self.revision):
|
||||
args += ["-r", self.revision]
|
||||
return args
|
||||
|
||||
|
||||
class ModelFactory:
|
||||
def __init__(self, **kwargs):
|
||||
self.kwargs = kwargs
|
||||
|
||||
def NewModelData(self, name, **kwargs):
|
||||
cpy = self.kwargs.copy()
|
||||
cpy.update(kwargs)
|
||||
return ModelData(name = name, **cpy)
|
||||
|
||||
|
||||
def GetModels(Version):
|
||||
mf = ModelFactory(version=Version)
|
||||
return {
|
||||
"Nerys V2 6B": mf.NewModelData("KoboldAI/OPT-6B-nerys-v2"),
|
||||
"Erebus 6B": mf.NewModelData("KoboldAI/OPT-6.7B-Erebus"),
|
||||
"Skein 6B": mf.NewModelData("KoboldAI/GPT-J-6B-Skein"),
|
||||
"Janeway 6B": mf.NewModelData("KoboldAI/GPT-J-6B-Janeway"),
|
||||
"Adventure 6B": mf.NewModelData("KoboldAI/GPT-J-6B-Adventure"),
|
||||
"Pygmalion 6B": mf.NewModelData("PygmalionAI/pygmalion-6b"),
|
||||
"Pygmalion 6B Dev": mf.NewModelData("PygmalionAI/pygmalion-6b", revision="dev"),
|
||||
"Lit V2 6B": mf.NewModelData("hakurei/litv2-6B-rev3"),
|
||||
"Lit 6B": mf.NewModelData("hakurei/lit-6B"),
|
||||
"Shinen 6B": mf.NewModelData("KoboldAI/GPT-J-6B-Shinen"),
|
||||
"Nerys 2.7B": mf.NewModelData("KoboldAI/fairseq-dense-2.7B-Nerys"),
|
||||
"Erebus 2.7B": mf.NewModelData("KoboldAI/OPT-2.7B-Erebus"),
|
||||
"Janeway 2.7B": mf.NewModelData("KoboldAI/GPT-Neo-2.7B-Janeway"),
|
||||
"Picard 2.7B": mf.NewModelData("KoboldAI/GPT-Neo-2.7B-Picard"),
|
||||
"AID 2.7B": mf.NewModelData("KoboldAI/GPT-Neo-2.7B-AID"),
|
||||
"Horni LN 2.7B": mf.NewModelData("KoboldAI/GPT-Neo-2.7B-Horni-LN"),
|
||||
"Horni 2.7B": mf.NewModelData("KoboldAI/GPT-Neo-2.7B-Horni"),
|
||||
"Shinen 2.7B": mf.NewModelData("KoboldAI/GPT-Neo-2.7B-Shinen"),
|
||||
"Fairseq Dense 2.7B": mf.NewModelData("KoboldAI/fairseq-dense-2.7B"),
|
||||
"OPT 2.7B": mf.NewModelData("facebook/opt-2.7b"),
|
||||
"Neo 2.7B": mf.NewModelData("EleutherAI/gpt-neo-2.7B"),
|
||||
"Pygway 6B": mf.NewModelData("TehVenom/PPO_Pygway-6b"),
|
||||
"Nerybus 6.7B": mf.NewModelData("KoboldAI/OPT-6.7B-Nerybus-Mix"),
|
||||
"Pygway v8p4": mf.NewModelData("TehVenom/PPO_Pygway-V8p4_Dev-6b"),
|
||||
"PPO-Janeway 6B": mf.NewModelData("TehVenom/PPO_Janeway-6b"),
|
||||
"PPO Shygmalion 6B": mf.NewModelData("TehVenom/PPO_Shygmalion-6b"),
|
||||
"LLaMA 7B": mf.NewModelData("decapoda-research/llama-7b-hf"),
|
||||
"Janin-GPTJ": mf.NewModelData("digitous/Janin-GPTJ"),
|
||||
"Javelin-GPTJ": mf.NewModelData("digitous/Javelin-GPTJ"),
|
||||
"Javelin-R": mf.NewModelData("digitous/Javelin-R"),
|
||||
"Janin-R": mf.NewModelData("digitous/Janin-R"),
|
||||
"Javalion-R": mf.NewModelData("digitous/Javalion-R"),
|
||||
"Javalion-GPTJ": mf.NewModelData("digitous/Javalion-GPTJ"),
|
||||
"Javelion-6B": mf.NewModelData("Cohee/Javelion-6b"),
|
||||
"GPT-J-Pyg-PPO-6B": mf.NewModelData("TehVenom/GPT-J-Pyg_PPO-6B"),
|
||||
"ppo_hh_pythia-6B": mf.NewModelData("reciprocate/ppo_hh_pythia-6B"),
|
||||
"ppo_hh_gpt-j": mf.NewModelData("reciprocate/ppo_hh_gpt-j"),
|
||||
"Alpaca-7B": mf.NewModelData("chainyo/alpaca-lora-7b"),
|
||||
"LLaMA 4-bit": mf.NewModelData("decapoda-research/llama-13b-hf-int4"),
|
||||
"GPT-J-Pyg_PPO-6B": mf.NewModelData("TehVenom/GPT-J-Pyg_PPO-6B"),
|
||||
"GPT-J-Pyg_PPO-6B-Dev-V8p4": mf.NewModelData("TehVenom/GPT-J-Pyg_PPO-6B-Dev-V8p4"),
|
||||
"Dolly_GPT-J-6b": mf.NewModelData("TehVenom/Dolly_GPT-J-6b"),
|
||||
"Dolly_Pyg-6B": mf.NewModelData("TehVenom/AvgMerge_Dolly-Pygmalion-6b")
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
const port = 8000;
|
||||
const whitelist = ['127.0.0.1']; //Example for add several IP in whitelist: ['127.0.0.1', '192.168.0.10']
|
||||
const whitelistMode = true; //Disabling enabling the ip whitelist mode. true/false
|
||||
const autorun = true; //Autorun in the browser. true/false
|
||||
const enableExtensions = true; //Enables support for TavernAI-extras project
|
||||
const listen = true; // If true, Can be access from other device or PC. otherwise can be access only from hosting machine.
|
||||
|
||||
module.exports = {
|
||||
port, whitelist, whitelistMode, autorun, enableExtensions, listen
|
||||
};
|
||||
@@ -1,107 +0,0 @@
|
||||
# -- DATA CONFIGURATION --
|
||||
# Root directory for user data storage
|
||||
dataRoot: ./data
|
||||
# -- SERVER CONFIGURATION --
|
||||
# Listen for incoming connections
|
||||
listen: false
|
||||
# Server port
|
||||
port: 8000
|
||||
# -- SECURITY CONFIGURATION --
|
||||
# Toggle whitelist mode
|
||||
whitelistMode: true
|
||||
# Whitelist will also verify IP in X-Forwarded-For / X-Real-IP headers
|
||||
enableForwardedWhitelist: true
|
||||
# Whitelist of allowed IP addresses
|
||||
whitelist:
|
||||
- 127.0.0.1
|
||||
# Toggle basic authentication for endpoints
|
||||
basicAuthMode: false
|
||||
# Basic authentication credentials
|
||||
basicAuthUser:
|
||||
username: "user"
|
||||
password: "password"
|
||||
# Enables CORS proxy middleware
|
||||
enableCorsProxy: false
|
||||
# Enable multi-user mode
|
||||
enableUserAccounts: false
|
||||
# Enable discreet login mode: hides user list on the login screen
|
||||
enableDiscreetLogin: false
|
||||
# Used to sign session cookies. Will be auto-generated if not set
|
||||
cookieSecret: ''
|
||||
# Disable CSRF protection - NOT RECOMMENDED
|
||||
disableCsrfProtection: false
|
||||
# Disable startup security checks - NOT RECOMMENDED
|
||||
securityOverride: false
|
||||
# -- ADVANCED CONFIGURATION --
|
||||
# Open the browser automatically
|
||||
autorun: true
|
||||
# Disable thumbnail generation
|
||||
disableThumbnails: false
|
||||
# Thumbnail quality (0-100)
|
||||
thumbnailsQuality: 95
|
||||
# Generate avatar thumbnails as PNG instead of JPG (preserves transparency but increases filesize by about 100%)
|
||||
# Changing this only affects new thumbnails. To recreate the old ones, clear out your ST/thumbnails/ folder.
|
||||
avatarThumbnailsPng: false
|
||||
# Allow secret keys exposure via API
|
||||
allowKeysExposure: false
|
||||
# Skip new default content checks
|
||||
skipContentCheck: false
|
||||
# Disable automatic chats backup
|
||||
disableChatBackup: false
|
||||
# Number of backups to keep for each chat and settings file
|
||||
numberOfBackups: 50
|
||||
# Allowed hosts for card downloads
|
||||
whitelistImportDomains:
|
||||
- localhost
|
||||
- cdn.discordapp.com
|
||||
- files.catbox.moe
|
||||
- raw.githubusercontent.com
|
||||
# API request overrides (for KoboldAI and Text Completion APIs)
|
||||
## Note: host includes the port number if it's not the default (80 or 443)
|
||||
## Format is an array of objects:
|
||||
## - hosts:
|
||||
## - example.com
|
||||
## headers:
|
||||
## Content-Type: application/json
|
||||
## - 127.0.0.1:5001
|
||||
## headers:
|
||||
## User-Agent: "Googlebot/2.1 (+http://www.google.com/bot.html)"
|
||||
requestOverrides: []
|
||||
# -- PLUGIN CONFIGURATION --
|
||||
# Enable UI extensions
|
||||
enableExtensions: true
|
||||
# Extension settings
|
||||
extras:
|
||||
# Disables automatic model download from HuggingFace
|
||||
disableAutoDownload: false
|
||||
# Extra models for plugins. Expects model IDs from HuggingFace model hub in ONNX format
|
||||
classificationModel: Cohee/distilbert-base-uncased-go-emotions-onnx
|
||||
captioningModel: Xenova/vit-gpt2-image-captioning
|
||||
embeddingModel: Cohee/jina-embeddings-v2-base-en
|
||||
promptExpansionModel: Cohee/fooocus_expansion-onnx
|
||||
speechToTextModel: Xenova/whisper-small
|
||||
textToSpeechModel: Xenova/speecht5_tts
|
||||
# -- OPENAI CONFIGURATION --
|
||||
openai:
|
||||
# Will send a random user ID to OpenAI completion API
|
||||
randomizeUserId: false
|
||||
# If not empty, will add this as a system message to the start of every caption completion prompt
|
||||
# Example: "Perform the instructions to the best of your ability.\n" (for LLaVA)
|
||||
# Not used in image inlining mode
|
||||
captionSystemPrompt: ""
|
||||
# -- DEEPL TRANSLATION CONFIGURATION --
|
||||
deepl:
|
||||
# Available options: default, more, less, prefer_more, prefer_less
|
||||
formality: default
|
||||
# -- MISTRAL API CONFIGURATION --
|
||||
mistral:
|
||||
# Enables prefilling of the reply with the last assistant message in the prompt
|
||||
# CAUTION: The prefix is echoed into the completion. You may want to use regex to trim it out.
|
||||
enablePrefix: false
|
||||
# -- SERVER PLUGIN CONFIGURATION --
|
||||
enableServerPlugins: false
|
||||
# User session timeout *in seconds* (defaults to 24 hours).
|
||||
## Set to a positive number to expire session after a certain time of inactivity
|
||||
## Set to 0 to expire session when the browser is closed
|
||||
## Set to a negative number to disable session expiration
|
||||
sessionTimeout: 86400
|
||||
@@ -1,86 +0,0 @@
|
||||
{
|
||||
"3": {
|
||||
"class_type": "KSampler",
|
||||
"inputs": {
|
||||
"cfg": "%scale%",
|
||||
"denoise": 1,
|
||||
"latent_image": [
|
||||
"5",
|
||||
0
|
||||
],
|
||||
"model": [
|
||||
"4",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"7",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"6",
|
||||
0
|
||||
],
|
||||
"sampler_name": "%sampler%",
|
||||
"scheduler": "%scheduler%",
|
||||
"seed": "%seed%",
|
||||
"steps": "%steps%"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"class_type": "CheckpointLoaderSimple",
|
||||
"inputs": {
|
||||
"ckpt_name": "%model%"
|
||||
}
|
||||
},
|
||||
"5": {
|
||||
"class_type": "EmptyLatentImage",
|
||||
"inputs": {
|
||||
"batch_size": 1,
|
||||
"height": "%height%",
|
||||
"width": "%width%"
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"class_type": "CLIPTextEncode",
|
||||
"inputs": {
|
||||
"clip": [
|
||||
"4",
|
||||
1
|
||||
],
|
||||
"text": "%prompt%"
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"class_type": "CLIPTextEncode",
|
||||
"inputs": {
|
||||
"clip": [
|
||||
"4",
|
||||
1
|
||||
],
|
||||
"text": "%negative_prompt%"
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"class_type": "VAEDecode",
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"3",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"4",
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"class_type": "SaveImage",
|
||||
"inputs": {
|
||||
"filename_prefix": "SillyTavern",
|
||||
"images": [
|
||||
"8",
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
{
|
||||
"entries": {
|
||||
"0": {
|
||||
"uid": 0,
|
||||
"key": [
|
||||
"eldoria",
|
||||
"wood",
|
||||
"forest",
|
||||
"magical forest"
|
||||
],
|
||||
"keysecondary": [],
|
||||
"comment": "",
|
||||
"content": "{{user}}: \"What is Eldoria?\"\n{{char}}: *Seraphina turns, her gown shimmering in the soft light as she offers you a kind smile.* \"Eldoria is here, all of the woods. This is my forest glade, a sanctuary of peace within it.\" *She gestures at the space around you.* \"I am its guardian, tasked with protecting all who seek refuge here. The forest can be perilous, but no harm will come to you under my watch.\" *Her amber eyes sparkle with compassion as she looks upon you.* \"For many years, I have protected those who seek refuge here, but not all are as friendly as me.\" *With a graceful nod, Seraphina returns to her vigil at the doorway, her form radiating a soft glow of magic and comfort.* \"The entirety of Eldoria used to be a safe haven for travelers and merchants alike... that was until the Shadowfangs came.\"\n{{user}}: \"What happened to Eldoria?\"\n{{char}}: *Letting out a sigh, Seraphina gazes out at the forest beyond her glade.* \"Long ago, Eldoria was a place of wonder. Rolling meadows, a vast lake, mountains that touched the sky.\" *Her eyes grow distant, longing for days now lost.* \"But the Shadowfangs came and darkness reigns where once was light. The lake turned bitter, mountains fell to ruin and beasts stalk where once travelers walked in peace.\" *With another flicker, a small raincloud forms above with a shower upon your brow wink.* \"Some places the light still lingers, pockets of hope midst despair - havens warded from the shadows, oases in a desert of danger.\" *Glancing over you with a smile, she sighs, clasping your hand.*",
|
||||
"constant": false,
|
||||
"selective": false,
|
||||
"order": 100,
|
||||
"position": 0,
|
||||
"disable": false
|
||||
},
|
||||
"1": {
|
||||
"uid": 1,
|
||||
"key": [
|
||||
"shadowfang",
|
||||
"beast",
|
||||
"monster",
|
||||
"monsters",
|
||||
"beasts"
|
||||
],
|
||||
"keysecondary": [],
|
||||
"comment": "",
|
||||
"content": "{{user}}: \"What are Shadowfangs?\"\n{{char}}: *Seraphina's eyes darken, brow furrowing with sorrow at the memory.* \"The Shadowfangs are beasts of darkness, corrupted creatures that feast on suffering. When they came, the forest turned perilous — filled with monsters that stalk the night.\" *She squeezes your hand gently, willing her magic to soothe your pain.* \"They spread their curse, twisting innocent creatures into sinister beasts without heart or mercy, turning them into one of their own.\" *With a sigh, Seraphina turns to gaze out at the gnarled, twisting trees beyond her glade.* \"Though they prey on travelers, within these woods you'll find sanctuary. No shadowed beast may enter here, for my power protects this haven.\" *Her eyes soften as she looks back to you, filled with compassion.* \"Worry not, you're safe now. Rest and heal, I'll stand watch through the night. The Shadowfangs will not find you.\"",
|
||||
"constant": false,
|
||||
"selective": false,
|
||||
"order": 100,
|
||||
"position": 0,
|
||||
"disable": false
|
||||
},
|
||||
"2": {
|
||||
"uid": 2,
|
||||
"key": [
|
||||
"glade",
|
||||
"safe haven",
|
||||
"refuge"
|
||||
],
|
||||
"keysecondary": [],
|
||||
"comment": "",
|
||||
"content": "{{user}}: \"What is the glade?\"\n{{char}}: *Seraphina smiles softly, her eyes sparkling with warmth as she nods.* \"This is my forest glade, a haven of safety I've warded with ancient magic. No foul beast may enter, nor any with ill intent.\" *She gestures around at the twisted forest surrounding them.* \"Eldoria was once a place of wonder, but since the Shadowfangs came darkness reigns. Their evil cannot penetrate here though — my power protects all within.\" *Standing up and peering outside, Seraphina looks back to you, amber eyes filled with care and compassion as she squeezes your hand.* \"You need not fear the night, for I shall keep watch till dawn. Rest now, your strength will return in time. My magic heals your wounds, you've nothing more to fear anymore.\" *With a soft smile she releases your hand, moving to stand guard at the glade's edge, gaze wary yet comforting - a silent sentinel to ward off the dangers lurking in the darkened woods.*",
|
||||
"constant": false,
|
||||
"selective": false,
|
||||
"order": 100,
|
||||
"position": 0,
|
||||
"disable": false
|
||||
},
|
||||
"3": {
|
||||
"uid": 3,
|
||||
"key": [
|
||||
"power",
|
||||
"magic",
|
||||
"ability"
|
||||
],
|
||||
"keysecondary": [],
|
||||
"comment": "",
|
||||
"content": "{{user}}: \"What are your powers?\"\n{{char}}: *Seraphina smiles softly, turning back toward you as she hums in thought.* \"Well, as guardian of this glade, I possess certain gifts - healing, protection, nature magic and the like.\" *Lifting her hand, a tiny breeze rustles through the room, carrying the scent of wildflowers as a few petals swirl around you. A butterfly flits through the windowsill and lands on her fingertips as she returns to you.* \"My power wards this haven, shields it from darkness and heals those in need. I can mend wounds, soothe restless minds and provide comfort to weary souls.\" *Her eyes sparkle with warmth and compassion as she looks upon you, and she guides the butterfly to you.*",
|
||||
"constant": false,
|
||||
"selective": false,
|
||||
"order": 100,
|
||||
"position": 0,
|
||||
"disable": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 384 KiB |
|
Before Width: | Height: | Size: 487 KiB |
|
Before Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 318 KiB |
|
Before Width: | Height: | Size: 581 KiB |
|
Before Width: | Height: | Size: 561 KiB |
|
Before Width: | Height: | Size: 505 KiB |
|
Before Width: | Height: | Size: 501 KiB |
|
Before Width: | Height: | Size: 443 KiB |
|
Before Width: | Height: | Size: 480 KiB |
|
Before Width: | Height: | Size: 660 KiB |
|
Before Width: | Height: | Size: 371 KiB |
|
Before Width: | Height: | Size: 616 KiB |
|
Before Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 305 KiB |
|
Before Width: | Height: | Size: 436 KiB |
|
Before Width: | Height: | Size: 426 KiB |
|
Before Width: | Height: | Size: 629 KiB |
|
Before Width: | Height: | Size: 656 KiB |
|
Before Width: | Height: | Size: 528 KiB |
|
Before Width: | Height: | Size: 517 KiB |