Compare commits

..
916 Commits
Author SHA1 Message Date
Cohee 7277622c24 Merge pull request #50 from Cohee1207/dev
Dev
2023-04-10 21:45:18 +03:00
SillyLossy 9127c690a7 Handle 404 status in OAI 2023-04-10 21:36:07 +03:00
SillyLossy f2d7f74d5a OAI reverse proxy (untested) 2023-04-10 18:44:11 +03:00
SillyLossy defa7f357e Customizable sorting order for characters list 2023-04-10 17:48:17 +03:00
SillyLossy d1fb575243 Better style for advanced textarea 2023-04-10 16:05:19 +03:00
SillyLossy adc4f4b29d Inputs to textareas 2023-04-10 15:59:35 +03:00
SillyLossy 44dc5a6bb3 Add note for new option 2023-04-10 15:48:09 +03:00
SillyLossy 8a1f3a7f04 Merge branch 'main' into dev 2023-04-10 15:07:07 +03:00
SillyLossy 9bcb10adf1 Option for unfocused sound play 2023-04-10 15:06:01 +03:00
SillyLossy d09e81cb94 Update message sound note 2023-04-10 12:14:16 +03:00
Cohee b78c74aeff Merge pull request #47 from paniphons/main
Make sound only play if browser is not focused
2023-04-10 12:12:09 +03:00
Paniphon 93e1d4b39e Make sound only play if browser is not focused 2023-04-10 10:34:47 +07:00
SillyLossy 63a9d3ded1 Add a notice of context size 2023-04-10 02:51:58 +03:00
SillyLossy 66f7d55f76 Fix horde for GUI preset mode 2023-04-10 00:08:10 +03:00
RossAscends 64b1485070 shorter message sound 2023-04-10 05:21:12 +09:00
SillyLossy 25759ebe0b Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-09 23:08:31 +03:00
SillyLossy c101368109 Replace message sound 2023-04-09 23:08:28 +03:00
RossAscends e4c3c552d7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-10 04:54:44 +09:00
RossAscends 8f531832e5 proper iOS margins 2023-04-10 04:54:41 +09:00
SillyLossy 915de0b41a Add message sound option 2023-04-09 22:37:01 +03:00
Cohee 0f11aab089 Merge pull request #43 from Cohee1207/dev
Dev
2023-04-09 20:18:19 +03:00
RossAscends 213f410143 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-10 01:52:10 +09:00
RossAscends 21cab0b4a6 - added JS detection of window.innerHeight to index.html
- changed all vh and vw to svh and svw
2023-04-10 01:51:50 +09:00
SillyLossy 801f400b31 Less margins in user settings 2023-04-09 19:37:32 +03:00
SillyLossy 01fce8116f Fix caption spinner causing a bouncing scrollbar 2023-04-09 19:33:28 +03:00
SillyLossy 2385e6f980 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-09 19:29:38 +03:00
SillyLossy 78e1c5b286 Properly display not-connected color in fast UI mode 2023-04-09 19:29:35 +03:00
RossAscends 84966c26ff Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-10 01:19:47 +09:00
RossAscends eea466c7fa - adjusted right nav padding
- added border radius to big avatar group collages
- fixed avatar collages squashing horizontally on narrow displays
- removed gaps from mobile display (imperfect fix)
2023-04-10 01:19:35 +09:00
SillyLossy a305536ca9 Fix security dependencies 2023-04-09 19:06:03 +03:00
SillyLossy 0180c601f0 Adjust padding of characters block 2023-04-09 18:59:49 +03:00
RossAscends a021dc230d - updated scrollbar style
- bubblechat now needs no extra blur
2023-04-09 23:36:10 +09:00
SillyLossy 1252de9014 Adjust spacing in group controls 2023-04-09 15:12:04 +03:00
SillyLossy 9eff19dfb4 Merge branch 'main' into dev 2023-04-09 15:07:33 +03:00
SillyLossy 658a26def2 Don't crash server on reading metadata 2023-04-09 15:03:59 +03:00
SillyLossy 2afe1ee44e Adjust system messages 2023-04-09 02:10:58 +03:00
SillyLossy 314c68dfc9 Fix group UI styles 2023-04-09 01:26:48 +03:00
SillyLossy 34994ebff5 Group chat creation fixed 2023-04-09 01:11:57 +03:00
SillyLossy d59e1880f0 Pure CSS sorting by name 2023-04-09 01:10:30 +03:00
SillyLossy fe90d1afea Proper size of round user selected avatars 2023-04-08 23:34:05 +03:00
SillyLossy 3ed7d070df Properly highlight user avatar on load 2023-04-08 23:29:47 +03:00
SillyLossy 84644b1487 Fix dialogue popup input width 2023-04-08 23:23:36 +03:00
RossAscends ad4b523367 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-09 05:07:43 +09:00
RossAscends ac05fdd566 fix drawer content top margin 2023-04-09 05:07:41 +09:00
SillyLossy fcccafbbc2 Add mass webp import 2023-04-08 23:06:17 +03:00
RossAscends 09caaee7d5 bg_examples show filename on hover 2023-04-09 05:03:31 +09:00
RossAscends 7324319081 - temporary placeholder styles for mobile landscape/ipad
- applies to any screen 800px or less
- currently same styles as 450px styles for mobile
2023-04-09 04:49:43 +09:00
RossAscends 00f5d6a679 fixed mobile scroll issue on left side nav 2023-04-09 04:44:46 +09:00
RossAscends c3773310a8 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-09 04:20:37 +09:00
RossAscends 044651516e amount gen slider hidden for poe 2023-04-09 04:17:25 +09:00
SillyLossy 98a14a0c1b Rearrange scripts 2023-04-08 21:55:46 +03:00
RossAscends bd95563686 nav panels now autoopen on 300ms delay 2023-04-09 03:38:03 +09:00
RossAscends 154dd069ff Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-09 03:32:23 +09:00
SillyLossy c0390adc01 Make OAI preset blocks text size event 2023-04-08 21:26:26 +03:00
RossAscends e81c5e1091 rearranged top bar order 2023-04-09 02:50:06 +09:00
RossAscends 466ef1a4d3 fixed drawers to mobile displays 2023-04-09 02:46:04 +09:00
RossAscends 6656b397f6 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-09 02:27:25 +09:00
RossAscends d80fdc5b4b - added toggle for sheld width
- both nav panels conform to sheld width on change
- left nav now has a lock
- sheldWidth defaults to 800
- narrowed top_bar to match sheldWidth
- nav panels fill the vertical space where top_bar used to be
- removed bottom gap on wide screens for all large panels and popups
- reverted menu_button styles
- FastUI now changes send_form styling dynamically
- bg selector drawer width is now sheld-100px
- bg thumbnails display ay 160px width
2023-04-09 02:26:38 +09:00
SillyLossy fb20e2cd34 Update readme 2023-04-08 20:08:37 +03:00
SillyLossy 296619128d Update readme 2023-04-08 20:08:24 +03:00
SillyLossy a2f115c390 Prettier bg display 2023-04-08 18:35:33 +03:00
SillyLossy 017869932d Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-08 18:09:55 +03:00
SillyLossy 2c57d0efb6 Json/Webp export 2023-04-08 18:09:53 +03:00
RossAscends 7fd5feac44 added #poe_api-presets ID to auto-switching routine 2023-04-08 23:37:26 +09:00
RossAscends 0c8f068a8a - moved API gen settings to diaply in left-side empty space
- adjusted display of various API settings sliders/checkboxes to mat ch
- fixed overflowing right-side char management panel
- group member selection divs styling
2023-04-08 23:22:27 +09:00
SillyLossy a3a32e9d64 Fix right panel size 2023-04-08 13:31:21 +03:00
SillyLossy 0ca66ee471 webp import 2023-04-08 13:19:02 +03:00
SillyLossy 342d83c334 Merge remote-tracking branch 'energo/tools' into dev 2023-04-08 12:35:21 +03:00
SillyLossy 2ec83210ea Merge 2023-04-08 12:25:43 +03:00
SillyLossy 8ba3984a46 Fix koboldcpp on main 2023-04-08 12:22:35 +03:00
SillyLossy a35be76874 Autoconnect fix 2023-04-08 12:19:38 +03:00
SillyLossy 9c5b14d634 Remove autohide and blur from individual message 2023-04-08 12:01:53 +03:00
SillyLossy 0d087d6908 style.css changes
Revert sheld width
Auto-expand select and inputs inside of drawers
2023-04-08 11:33:56 +03:00
RossAscends f2bf169189 - fixed extensions drawer overflowing narrow windows
- added variable for sheldWidth
- rightnav width adapts to sheldWidth
2023-04-08 15:04:50 +09:00
SillyLossy 0c9dffd737 Enable whitelist by default 2023-04-08 01:45:59 +03:00
SillyLossy 66a21f24dd (TESTING) Auto-hide messages in very long chats 2023-04-08 01:32:32 +03:00
SillyLossy 282aac7078 Migrate expressions to settings.json 2023-04-08 01:31:34 +03:00
SillyLossy cf0edde885 Advanced poe settings 2023-04-07 23:37:10 +03:00
SillyLossy eb6c2f5930 Add custom dice roll 2023-04-07 22:17:04 +03:00
SillyLossy 948cf4c20c Migrate memory to settings.json 2023-04-07 21:47:00 +03:00
SillyLossy 9aeeda3602 Migrate author's note to chat metadata 2023-04-07 21:17:24 +03:00
SillyLossy 2a86cf7905 Merge branch 'main' into dev 2023-04-07 18:00:14 +03:00
SillyLossy 8f23c72b4e Fix textgen generation 2023-04-07 17:59:50 +03:00
RossAscends 91acec71c1 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-07 22:21:19 +09:00
RossAscends 4170461f4c only load horde models when kobold active 2023-04-07 22:21:05 +09:00
SillyLossy bdfdf79dd2 Merge branch 'main' into dev 2023-04-07 16:07:02 +03:00
SillyLossy 28560f6e31 Merge branch 'new-colab' 2023-04-07 16:06:33 +03:00
SillyLossy 00319f182f Fix oobabooga's status parsing 2023-04-07 16:06:06 +03:00
Cohee e529cc621d Merge pull request #35 from Cohee1207/new-colab
New colab
2023-04-07 15:54:06 +03:00
SillyLossy ed3324fadc Model for cross-module globals 2023-04-07 15:23:41 +03:00
Cohee ec7a839324 Merge pull request #34 from EnergoStalin/main
Models and Extras Server setup in separate files for GPU.ipynb
2023-04-07 15:13:55 +03:00
Cohee 79defc8775 Update extras_server.py 2023-04-07 14:58:04 +03:00
RossAscends 21108ffe13 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-07 19:59:29 +09:00
RossAscends b8434daa91 attempt to add node compressions 2023-04-07 19:59:20 +09:00
SillyLossy c1f3fb49ca Power user mode by default 2023-04-07 13:45:47 +03:00
RossAscends 27a8163d4e fixed FastUI conflicts 2023-04-07 18:57:39 +09:00
RossAscends cf52cbcd33 - added warnings for Bubble Chat + blur
- removed scrollbar track border on bubblechat
2023-04-07 18:39:34 +09:00
RossAscends 20fc880586 - fixed bubblechat background on iOS
- put FastUI settings last to override
2023-04-07 16:59:24 +09:00
RossAscends 0c3699af17 - added bubblechat style as a toggle
- modified FastUI to work with both
2023-04-07 16:51:49 +09:00
SillyLossy 87c50ce418 Save chat metadata object 2023-04-07 01:40:18 +03:00
Alexey Dashko b3923821c7 git link 2023-04-07 01:29:49 +03:00
Alexey Dashko 4ba8e4d811 Merge remote-tracking branch 'oldorigin/main' 2023-04-07 01:26:35 +03:00
Alexey Dashko 6491761014 qf 2023-04-07 01:03:34 +03:00
Alexey Dashko 80eadabfa2 extras_server in separate file like models 2023-04-07 01:00:09 +03:00
SillyLossy 905ab023c0 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-07 00:34:30 +03:00
SillyLossy 82f1c89571 Merge branch 'main' into dev 2023-04-07 00:34:27 +03:00
Cohee 471b36a6d9 Update readme.md 2023-04-07 00:15:45 +03:00
Cohee 86720a71fd Update readme.md 2023-04-07 00:13:23 +03:00
Cohee ac48ed0e40 Update readme.md 2023-04-07 00:12:27 +03:00
Cohee 12c47a9397 New colab link 2023-04-07 00:10:21 +03:00
SillyLossy 194a19a338 Fix extras url 2023-04-06 23:35:52 +03:00
SillyLossy ad99a7ba65 Colab again 2023-04-06 23:00:49 +03:00
SillyLossy e4c9bf05cb Align break (in colab? nah yeah) 2023-04-06 22:44:36 +03:00
SillyLossy fad9d7a322 Colab again 2023-04-06 22:28:21 +03:00
SillyLossy f9d83512e0 Colab again 2023-04-06 22:23:31 +03:00
SillyLossy 1a3f9dc10f Fix colab line 2023-04-06 22:16:08 +03:00
SillyLossy 4757eda089 Update GPU colab 2023-04-06 22:04:22 +03:00
SillyLossy 5d0d656a3c Delete readme images 2023-04-06 22:04:03 +03:00
Cohee 815c881a5e Merge pull request #32 from EnergoStalin/main
Small server improovement's for colab users also new GPU.ipynb
2023-04-06 21:37:30 +03:00
Alexey Dashko 4384578b34 tiny colab barely tested on option combinations
should work perfectly for first startup with default options
has step caching and more stock models thanks to OTIS colab
has cell for converting TavernAI webm to SillyTavern png
2023-04-06 20:28:27 +03:00
Alexey Dashko 6ca5a4820b only symlink dirs no unconsistent paths 2023-04-06 17:04:52 +03:00
Alexey Dashko eab26b2d7e check colab by colaburl 2023-04-06 16:50:54 +03:00
SillyLossy 1a98ef22ab Double the long memory length 2023-04-06 16:13:28 +03:00
Alexey Dashko 9303a75ad6 dest path option 2023-04-06 16:08:11 +03:00
Alexey Dashko a501f59445 suffix instead of split 2023-04-06 16:02:52 +03:00
Alexey Dashko e30b7a4448 nothing to convert message 2023-04-06 15:59:36 +03:00
Alexey Dashko d9a8598632 dst to src remove old after convert 2023-04-06 15:55:59 +03:00
Alexey Dashko b0e72bd969 webp filter + packages 2023-04-06 15:50:58 +03:00
Alexey Dashko 264d566c92 converting TavernAI characters back to png 2023-04-06 15:27:40 +03:00
Alexey Dashko a2fdea3bb2 TLDR
beforehand is_colab check
port through SILLY_TAVERN_PORT env
fix typo on autorun open
2023-04-06 13:34:34 +03:00
SillyLossy 64432edecd Default author's note 2023-04-06 13:23:58 +03:00
SillyLossy 72efa08a88 Update OAI defaults 2023-04-06 13:05:14 +03:00
SillyLossy a1770b8c6b Fix saving of groups after edits 2023-04-06 12:43:02 +03:00
SillyLossy 7b10aa63a8 Add more Kobold presets 2023-04-06 12:05:32 +03:00
SillyLossy 7328ae56bc License note for poe-client 2023-04-06 11:59:51 +03:00
Cohee db9afd80a4 Update readme.md 2023-04-06 11:23:06 +03:00
Cohee 51e141a6dc Update readme.md 2023-04-06 11:15:11 +03:00
Cohee 23cc5e43aa Update readme.md 2023-04-06 11:10:00 +03:00
Cohee 891ce398b1 Update readme.md 2023-04-06 11:08:30 +03:00
Cohee 0009538d04 Merge pull request #30 from paniphons/paniphons-patch-1
Update README with beginner FAQ and Author's Notes
2023-04-06 11:05:16 +03:00
Cohee cd35b35df3 Merge branch 'main' into paniphons-patch-1 2023-04-06 11:04:53 +03:00
Paniphon d96eaac951 Update README with beginner FAQ and Author's Notes 2023-04-06 14:57:47 +07:00
SillyLossy 66b001c2b1 Merge branch 'main' into dev 2023-04-06 10:50:04 +03:00
Cohee ed2cd1ab23 Update readme.md 2023-04-06 10:37:42 +03:00
SillyLossy 1af8fa8ec6 FML, it's colab again 2023-04-06 01:22:01 +03:00
SillyLossy 2a1938bc93 Group chat list order 100% working 2023-04-06 01:07:26 +03:00
SillyLossy dc4f20ed26 Merge branch 'main' of https://github.com/SillyLossy/TavernAI 2023-04-06 00:20:49 +03:00
SillyLossy 0c55bc6a09 Another colab fix 2023-04-06 00:20:47 +03:00
Cohee db58aae28e Update readme.md 2023-04-06 00:14:23 +03:00
SillyLossy 024c2f73de Colab google drive fix (supposed) 2023-04-06 00:05:16 +03:00
SillyLossy 60d64bb67e Group reply mode (placeholder) 2023-04-06 00:02:56 +03:00
Cohee e489061b6f Update readme.md 2023-04-05 22:49:54 +03:00
SillyLossy 8548d4ca47 Loops breaker (supposedly) 2023-04-05 22:26:08 +03:00
SillyLossy 89f605dac6 Focus on popup 2023-04-05 22:07:55 +03:00
Cohee a3c9d58f86 Rebranding 2023-04-05 21:27:31 +03:00
SillyLossy 1506845052 Update readme 2023-04-05 13:24:13 +03:00
SillyLossy 7f35986b9c Rename poe backend client 2023-04-05 13:23:15 +03:00
SillyLossy 5390d8226b Handle Unauthorized 2023-04-05 13:13:53 +03:00
SillyLossy b2b199d247 Unauthorized status 2023-04-05 12:53:57 +03:00
SillyLossy ce1f33679e Poe API fixed 2023-04-05 12:46:35 +03:00
SillyLossy 4cfad2029c Cut legs no more 2023-04-05 02:01:53 +03:00
SillyLossy 5ec5d70111 Fix wretched KleboldCpp crashing my beloved tovern 2023-04-05 00:25:52 +03:00
SillyLossy ea9ba9d759 Display group name in list after renaming 2023-04-04 21:04:38 +03:00
SillyLossy b295f5a49d Preset settings for OAI #23 2023-04-04 20:50:24 +03:00
SillyLossy ddb7eee3fb Move poe API to main block 2023-04-04 16:04:27 +03:00
SillyLossy 2ab42f40f7 Fix messages deletion for poe 2023-04-04 12:35:43 +03:00
SillyLossy 3eb9fa975c Fix poe server crash 2023-04-04 12:19:18 +03:00
SillyLossy 67ac6a07a2 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-04 00:23:38 +03:00
SillyLossy 263090660d Logit bias (start) 2023-04-04 00:23:36 +03:00
SillyLossy c5a7151ab3 Local poe support 2023-04-03 23:44:01 +03:00
SillyLossy e3419403a6 Port poe messaging to JS 2023-04-03 22:10:58 +03:00
SillyLossy 03691d08e2 Mobile right panel no longer commit seppuku 2023-04-03 17:42:13 +03:00
SillyLossy 3b0c6183ff Mobile drawer height 2023-04-03 17:34:02 +03:00
SillyLossy 488edf38c9 Fix OAI preset not displaying on save 2023-04-03 12:13:30 +03:00
SillyLossy ce85c5b21d Better horde popup 2023-04-02 22:41:58 +03:00
SillyLossy d79d7576bd Migrate advanced formatting settings to settings.json 2023-04-02 21:59:28 +03:00
SillyLossy cf9af364fb Preselect preset based on character name 2023-04-02 20:50:45 +03:00
SillyLossy 57d2e46450 Move group buttons to top 2023-04-02 18:12:15 +03:00
SillyLossy 832acc1309 Fix radio buttons in firefox 2023-04-02 17:57:32 +03:00
SillyLossy 006c5b63cc OpenAI presets saving (presumably) 2023-04-02 17:13:20 +03:00
SillyLossy 4e3c9db5ae Horde should actually work now 2023-04-02 14:22:18 +03:00
SillyLossy a71c39ec7f Merge branch 'main' into dev 2023-04-02 12:24:17 +03:00
SillyLossy 9e97212c83 Add try-catch for bookmarks 2023-04-02 12:23:51 +03:00
SillyLossy b3498a47eb Horde support (untested) 2023-04-02 12:01:42 +03:00
SillyLossy bfd30b82e3 Adjustments to zero-depth A/N 2023-04-01 19:09:48 +03:00
SillyLossy 119309a778 Speedup poe generation for jailbroken chats 2023-04-01 17:41:47 +03:00
SillyLossy 885ef0c37c Save some OAI tokens 2023-04-01 03:11:20 +03:00
SillyLossy dcd9ef3127 Don't duplicate example messages on OAI with pin examples 2023-04-01 02:52:51 +03:00
SillyLossy 5e5baa5249 Name of imported/created character 2023-04-01 02:22:53 +03:00
SillyLossy a82c9af78e Big avatars style 2023-04-01 01:59:43 +03:00
SillyLossy 2a03e7879d Massive skill issue 2023-03-31 23:31:41 +03:00
Cohee 41a41732d1 Merge pull request #19 from SillyLossy/dev
Dev
2023-03-31 21:57:45 +03:00
SillyLossy d73ae6d0f7 Fix memory leak in OAI tokenizer 2023-03-31 21:56:24 +03:00
SillyLossy 3acb43a7a4 Placeholders are not working in A/N / some extra suggestions about it SillyLossy/TavernAI#18 2023-03-31 20:56:41 +03:00
RossAscends 374d7ddcb6 updated help message to reflect bias strictness 2023-03-31 23:32:45 +09:00
RossAscends ef52e20986 made bias triggering stricter
{ } >>> {{ }}
2023-03-31 23:31:08 +09:00
RossAscends e4bf4026de Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-31 22:46:06 +09:00
RossAscends 868515b898 fixed codeblocks overflowing chat window 2023-03-31 22:46:01 +09:00
SillyLossy a81056d7e3 Sex update 2023-03-31 15:58:40 +03:00
SillyLossy 94abd80bb2 Experimental: always pad tokens in OpenAI 2023-03-31 10:43:11 +03:00
RossAscends 5cdac69f7a Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-31 12:50:08 +09:00
RossAscends 83e5fdf2cb fixed codeblocks overflowing chat 2023-03-31 12:49:55 +09:00
SillyLossy 2d839d0955 Save old swipes 2023-03-31 01:46:17 +03:00
SillyLossy 27b50c0780 Fix message edit not showing (for real this time) 2023-03-31 00:06:45 +03:00
SillyLossy e009656c43 Adjustments to POE 2023-03-30 23:05:59 +03:00
Cohee 6126710795 Merge pull request #17 from SillyLossy/dev
Dev
2023-03-30 19:49:33 +03:00
SillyLossy 1022f3836f Close message editor with escape key 2023-03-30 19:36:20 +03:00
SillyLossy 1541683492 Add caching of OAI messages tokens 2023-03-30 19:11:42 +03:00
SillyLossy 52879ec6a9 Fix typo 2023-03-30 17:30:12 +03:00
SillyLossy 4e77d485f5 Fix swipes 2023-03-30 17:23:47 +03:00
SillyLossy 12bc1e7ae4 Add poe extension 2023-03-30 16:53:15 +03:00
SillyLossy a12fa50b17 Merge branch 'main' into dev 2023-03-30 12:02:52 +03:00
SillyLossy 1dc92ffff5 Fix API connect button getting blocked by AdBlock 2023-03-30 11:58:16 +03:00
SillyLossy ec3d3d6247 Sanitation adjustments 2023-03-30 00:44:38 +03:00
Cohee b9ae8efc5b Update readme.md 2023-03-29 22:45:55 +03:00
Cohee 95b5ada024 Update readme.md 2023-03-29 22:42:01 +03:00
Cohee f9a6cfc806 Merge pull request #14 from SillyLossy/dev
Dev
2023-03-29 22:14:38 +03:00
SillyLossy c20df162df Add transparent bg option 2023-03-29 22:06:47 +03:00
SillyLossy ede612c324 Adjust text styles 2023-03-29 21:51:24 +03:00
SillyLossy 21b6ae0168 Fix options popup having offset in group chats 2023-03-29 21:29:08 +03:00
SillyLossy 55e2c7439f Fix mentions in groups 2023-03-29 21:00:34 +03:00
SillyLossy 5adb6e9b8c Add a null-check in bookmarks options 2023-03-29 20:05:55 +03:00
SillyLossy f94dd07ae5 Don't destroy local storage on ctrl+arrow 2023-03-29 17:15:16 +03:00
SillyLossy 8847c0b81c Fix pin examples not saving properly 2023-03-29 17:11:19 +03:00
SillyLossy 67d2514edc Group UI tweaks 2023-03-29 17:04:07 +03:00
SillyLossy 7371a02991 Allow to regen first message 2023-03-29 16:47:07 +03:00
SillyLossy 54678c2fe6 Chat deletion should actually work 2023-03-29 01:31:08 +03:00
SillyLossy e5a7f579ea Editing bugfixes 2023-03-29 01:08:57 +03:00
SillyLossy bae5567138 Rename floating prompt extension 2023-03-29 00:47:25 +03:00
SillyLossy 45df23ff9a Block reordering while generating 2023-03-29 00:47:09 +03:00
SillyLossy 0bf66d522b Togglable multigen 2023-03-29 00:30:48 +03:00
SillyLossy 6ab38964dc Restore last active group 2023-03-28 22:58:36 +03:00
SillyLossy 9d512e09bc Smarter zero depth note 2023-03-28 21:51:37 +03:00
SillyLossy ca889b420a Add jailbreak as a system message option 2023-03-28 21:13:52 +03:00
SillyLossy b9a767ff15 Add missing fast mode styles 2023-03-28 21:06:00 +03:00
SillyLossy 44f461254c Add no blur mode 2023-03-28 20:32:40 +03:00
SillyLossy bab50bd58b Configurable group self-responses 2023-03-28 18:55:12 +03:00
SillyLossy 7c4f06e4d9 Apply full markdown to group messages 2023-03-28 18:49:50 +03:00
SillyLossy cd4f699e74 Allow zero depth for floating prompt 2023-03-28 17:49:02 +03:00
SillyLossy ae7e21d6c5 Async OAI tokenization 2023-03-28 17:44:28 +03:00
SillyLossy 2c4876ac39 Adjust max tokens based on OAI model 2023-03-28 16:44:26 +03:00
SillyLossy 322f02dec3 Up and down 2023-03-28 16:06:31 +03:00
SillyLossy 2836b93463 Advanced edit (partial) 2023-03-28 12:48:23 +03:00
Cohee 31ec4f078e Update readme.md 2023-03-28 12:26:11 +03:00
Cohee c1124d58a0 Merge pull request #11 from davidhahn88/dev
gpt-4 option
2023-03-28 00:44:52 +03:00
davidhahn88 2d66b72735 Update index.html
Added an option for GPT4
2023-03-27 22:56:54 +02:00
SillyLossy b71d7006ab Display optional modules for extensions 2023-03-27 23:48:13 +03:00
SillyLossy b65e8b4286 Unify hover colors 2023-03-27 23:40:36 +03:00
SillyLossy ce75a41388 Fix char image disappearing on changing bg 2023-03-27 23:33:59 +03:00
SillyLossy 90b74e20d0 Down opacity a bit 2023-03-27 23:31:42 +03:00
SillyLossy ab6b1a2f0f Up text readability a bit 2023-03-27 23:25:57 +03:00
SillyLossy a9ad722841 Less bg blur 2023-03-27 23:10:08 +03:00
SillyLossy 1d7c63ee77 Improve readability of chats 2023-03-27 23:07:21 +03:00
SillyLossy 190bfdd3f4 Don't block send on ooba API error 2023-03-27 22:07:35 +03:00
SillyLossy 9c31ab0039 Save prompts should actually work 2023-03-27 21:56:38 +03:00
SillyLossy 45b4407ec3 Proper offline mode for char expressions 2023-03-27 21:28:04 +03:00
SillyLossy 3b547c24aa Better WI editor header 2023-03-27 21:16:15 +03:00
SillyLossy 0b1a7cc06d Prevent same character from speaking twice in a row in group. 2023-03-27 21:08:11 +03:00
SillyLossy b3d992baee Fix swipes and thumbnails for groups 2023-03-27 20:00:14 +03:00
SillyLossy d18f005268 Properly restore current char on import (nasty!) 2023-03-27 19:46:27 +03:00
SillyLossy b9a192c524 Pretty cursor on bg selection. Why not? 2023-03-27 19:33:53 +03:00
SillyLossy f8200e914e Properly load memory default settings 2023-03-27 19:23:16 +03:00
SillyLossy a48cf50756 Properly disable inputs in KAI GUI mode 2023-03-27 19:23:02 +03:00
SillyLossy 1842bef60d Combine KAI advanced notes 2023-03-27 19:08:00 +03:00
SillyLossy 1cbda8a6ea Fix anchors block formatting 2023-03-27 19:06:02 +03:00
SillyLossy 4d73ee7dd8 Don't close drawer on clicks inside world popup 2023-03-27 19:00:05 +03:00
SillyLossy 0e97d26645 Prevent applying broken images 2023-03-27 18:54:30 +03:00
SillyLossy 43ade01424 Nicer expression list styles 2023-03-27 18:51:24 +03:00
SillyLossy 72f5e12016 More contrast italic action styles. 2023-03-27 18:51:10 +03:00
SillyLossy af053b3d3a Don't close drawer on click-drag outside of it 2023-03-27 18:39:16 +03:00
SillyLossy 7fb8166e7b Don't switch BG on delete click 2023-03-27 18:27:43 +03:00
SillyLossy 1e73248520 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-27 18:25:49 +03:00
SillyLossy b40ee7236c Fix backgrounds resetting on upload click 2023-03-27 18:24:20 +03:00
Cohee 4c4ff5f12b Update bg_load.css 2023-03-27 18:20:01 +03:00
SillyLossy 3d41e68a8f Bump version 2023-03-27 18:16:26 +03:00
SillyLossy 9b3613c63c Add author's note to floating prompt extension 2023-03-27 01:43:46 +03:00
SillyLossy 96faff5b2e Fix right nav closing on character create / delete / popup click 2023-03-26 22:17:18 +03:00
SillyLossy 0e00e1b363 Fix dialogue popup cancel 2023-03-26 21:56:49 +03:00
SillyLossy eeb6a281d9 Group chats prompt fix 2023-03-26 18:59:35 +03:00
Cohee 906ed9f284 Update issue templates 2023-03-26 18:57:44 +03:00
Cohee 964bbda8a4 Update issue templates 2023-03-26 18:55:54 +03:00
SillyLossy 9944d729f8 Expressions offline mode 2023-03-26 16:29:55 +03:00
SillyLossy f14a1cb7e9 Fixes for OpenAI groups 2023-03-26 14:57:47 +03:00
SillyLossy 19def2536f Kobold API url formatting 2023-03-25 23:38:51 +02:00
SillyLossy a9b52767a5 Fix force name2 triggering on pygmalion 2023-03-25 23:26:49 +02:00
RossAsscends 660c816106 my humble submission to old pyg model, the only one i can current use locally. 2023-03-25 17:13:03 +09:00
SillyLossy 08560c5d10 Prepend extension prompt with newline 2023-03-25 01:18:44 +02:00
SillyLossy 52fea181ab Properly clear character expression 2023-03-24 23:41:01 +02:00
SillyLossy d1ece06028 Fix token counters 2023-03-24 22:37:22 +02:00
SillyLossy 4f0e9ab417 Make groups on OAI work 2023-03-24 22:21:33 +02:00
SillyLossy 73b76d3974 Avatars thumbs improved 2023-03-24 21:28:17 +02:00
SillyLossy 1bf3377a70 Reduce log spam 2023-03-24 21:14:28 +02:00
SillyLossy 68bf2f3400 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-24 21:13:01 +02:00
SillyLossy fd2c74b8ec Thumbnail user avatars 2023-03-24 21:12:57 +02:00
RossAsscends 968bc5025a Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-25 03:32:34 +09:00
RossAsscends 3e1e5439d0 added lin on OAI connection tab to check API usage stats
CSS tweak to make drop selector inputs narrower
2023-03-25 03:32:29 +09:00
SillyLossy e609ed719e Fix config 2023-03-24 19:43:33 +02:00
SillyLossy 5fa42387d7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-24 19:42:44 +02:00
SillyLossy 82e771df0d Wrap long extension settings to inline drawers 2023-03-24 19:42:19 +02:00
RossAsscends 255617e085 moved #options popper -20px on x-axis to align with chat edge 2023-03-25 01:53:33 +09:00
RossAsscends 9c4ed44b5e fixed #options popper with offset 2023-03-25 01:51:30 +09:00
RossAsscends 800bd0980f Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-25 01:13:13 +09:00
RossAsscends b7f7a2cd3d Fixed swipes not showing on iOS (a CSS grid bug)
removed opacity transitions from edit_mes elements
Mobile UI:
- turned off pinch zooming
- fixed page body so it can't be scrolled off screen
CSS
- send_but more opaque to be seen on light BGs
- replaced mes_edit unicode pencil with SVG
- replaced mes_edit done and cancel images with menu_buttons
-- easier to tap on mobile
- reduced mobile body font from 18px to 16px;
- fixed select_chat_popup vertical sizing on mobile
- gave chat, send_form, and large popups opaque borders on mobile
2023-03-25 01:10:01 +09:00
Cohee 66fd7123bc Update readme.md 2023-03-24 15:18:10 +02:00
SillyLossy b5b9538c08 "Back to main" option for bookmarks 2023-03-24 15:15:26 +02:00
RossAsscends 662cce8c6c cleaned up process of post-chat deletion handling
not a smart solution, but it works without error
2023-03-24 15:21:06 +09:00
RossAsscends f45ea2a5a2 fixed display bug in past chat deletion 2023-03-24 15:06:12 +09:00
RossAsscends e1a337f140 Added Past Chat File Delete Function 2023-03-24 13:55:34 +09:00
RossAsscends bd7e7c6379 Cleaned up Past Chats view
- normalized borders
- character name at the top of popup
- added grey border
2023-03-24 12:49:31 +09:00
SillyLossy a1f16f470b Custom chat separators + fixes for drawers logic 2023-03-24 01:35:07 +02:00
SillyLossy 339d3c357d Proper handle settings presets for TextGen 2023-03-23 22:47:02 +02:00
SillyLossy 9eebe6ce61 Add preset settings for TextGen. Thanks oobabooga for compiling them! 2023-03-23 22:17:44 +02:00
SillyLossy 321ecbec77 More settings for oobabooga's 2023-03-23 18:39:41 +02:00
SillyLossy 57713c53a3 Better bookmark links 2023-03-23 16:10:06 +02:00
SillyLossy afab72dfd7 Rearrange status bars 2023-03-23 13:10:01 +02:00
SillyLossy 1b7632c352 Fix online status checks 2023-03-23 11:53:39 +02:00
SillyLossy a46e7a30bd Don't propagate api button click events to prevent closing the drawer 2023-03-23 11:23:36 +02:00
SillyLossy c75fd0379d Thumbnails cache ensure 2023-03-23 11:10:14 +02:00
RossAsscends 9f3d40e3ed CSS tweaks:
- resized addbg3.png from 1600x1600 to 160x90
- added trans grey border to right nav, to match chat and send_form
- reduced opacity of chat/sendform >> 70% to 50%
- reduced blur on chat/sendform >> 20px to 10px
- added 1px gap between chat and right nav to match chat/sendform
- fixed add_bg button being too tall and skewing top bg row on mobile
- 2 new utility classes no-border and no-shadow
- made drawer heights match chat+sendform height on mobile

/img cleanup:
- removed unused files from /img
- resized large UI-only PNG files to 100px x 100px
- replaced fluffy.png with a custom PNG 'ai4.png'
- total /img footprint is now 615kb  (compared to 3.5MB in main tai 1.3)
-- /default-expressions 509kb
-- everything else 106kb
2023-03-23 16:48:40 +09:00
RossAsscends 4e8739b7c7 TFS slider set to 0.01 step for higher accuracy at high levels 2023-03-23 14:36:30 +09:00
RossAsscends 7ea6f7f8e1 TFS slider set to 0.01 step for higher accuracy at high levels 2023-03-23 14:36:09 +09:00
RossAsscends 5dc62f78b4 disabled spammy coneole.logs 2023-03-23 13:13:43 +09:00
SillyLossy 5c537e6eb8 Add chat bookmarking 2023-03-23 03:14:06 +02:00
SillyLossy a67e72ba1c Add map file 2023-03-23 01:07:57 +02:00
SillyLossy abad09caa3 Merge branch 'main' into dev 2023-03-23 00:16:03 +02:00
SillyLossy 100e572aae Hotfix oobabooga API + message bias formatting 2023-03-23 00:12:48 +02:00
SillyLossy 2821f2d6a5 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 21:18:46 +02:00
SillyLossy a82c07548b Add backgrounds thumbnailing 2023-03-22 21:18:43 +02:00
RossAsscends 40433c6ddf moved settings tab titles to the icons, not the whole drawer 2023-03-23 03:31:02 +09:00
RossAsscends 65cbf1fb9d Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-23 03:26:39 +09:00
RossAsscends b24f39bd5f - moved autoconnect checkbox to server tab
- added mouseover titles to settings tabs
- made a new icon for 'create new group'
2023-03-23 03:26:34 +09:00
SillyLossy 67e30681e7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 20:25:10 +02:00
SillyLossy 801952f97b Rename oobabooga's setting 2023-03-22 20:25:06 +02:00
RossAsscends dc79f678c3 moved location of some AI config toggles
moved various API presets into the sliders tab
 -so we can see what the presets are doing in real time.
2023-03-23 02:08:38 +09:00
RossAsscends cde51513da caption extension now adds the caption to the img title attribute 2023-03-23 01:08:21 +09:00
RossAsscends d4524e1e0e fixed autoconnect spamming on page load 2023-03-23 00:30:16 +09:00
RossAsscends 65f598fde3 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 23:56:13 +09:00
RossAsscends 125c48690b fixed bug with common gen settings not displaying for non-OAI 2023-03-22 23:56:10 +09:00
SillyLossy ff4b0e17f5 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 16:53:04 +02:00
SillyLossy 3fe0e629c0 Force name2 advanced option 2023-03-22 16:53:01 +02:00
RossAsscends 1588c88100 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 23:47:21 +09:00
RossAsscends b9da16ed95 fixed regenerate hotkey to work with groups
- it now clicks the regenerate button
- previously it directly called Regenerate()
2023-03-22 23:06:18 +09:00
SillyLossy a575b072da Context size returned. 2023-03-22 16:00:18 +02:00
RossAsscends 862ac3fed8 right nav (now on top) lock and open/close preferences
are now remembered between page reloads.
lock prevents right nav drawer from closing when clicking away
or when opening other drawers.
2023-03-22 22:47:10 +09:00
SillyLossy c44bb9bb41 Tweak name sanitation logic 2023-03-22 14:52:56 +02:00
SillyLossy bbe6583e03 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 12:42:06 +02:00
SillyLossy 2e5244eec4 Force disable streaming 2023-03-22 12:42:04 +02:00
RossAsscends a96ff7049c Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 19:35:00 +09:00
RossAsscends d271dd2c97 midway through changes to right nav state saving 2023-03-22 19:34:56 +09:00
SillyLossy 6aa7bef671 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 12:29:10 +02:00
SillyLossy 4e2bc3e80a OpenAI fixes 2023-03-22 12:29:07 +02:00
RossAsscends 3ebca48279 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 19:20:57 +09:00
RossAsscends 3d0abbaf9d top settings now close when user clicks away 2023-03-22 19:20:51 +09:00
SillyLossy 34a2436a67 Enable whitelist by default 2023-03-22 10:55:56 +02:00
RossAsscends ba9b4696bb fixed widths for BG and sliders drawers 2023-03-22 11:32:02 +09:00
RossAsscends 41266b353c Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 09:44:13 +09:00
RossAsscends 9ed03185fb brought right nav into the top
finetuned the top-settings-holder display widths and spacing
2023-03-22 09:44:03 +09:00
SillyLossy 2b3856d879 Merge branch 'main' into dev 2023-03-22 02:36:48 +02:00
SillyLossy fd14855da9 New icon for connection. Note page for OAI key. Fix swipes with OAI. OAI model selection. 2023-03-22 02:18:57 +02:00
SillyLossy 7cce26bd22 Add world info support for OAI. Fix regens 2023-03-22 01:16:16 +02:00
SillyLossy edab2e84b9 More credits 2023-03-22 00:51:06 +02:00
SillyLossy fe0fd95720 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-21 23:31:34 +02:00
SillyLossy e6413d0905 OpenAI support (by @CncAnon1) 2023-03-21 23:31:26 +02:00
RossAsscends 4d4a9b97a5 fix typo in autoconnect 2023-03-22 01:17:17 +09:00
RossAsscends 12eef00da2 changeMainAPI now resets online status on API change 2023-03-22 01:14:47 +09:00
RossAsscends bd47521ed6 corrected border CSS for chat and form_send 2023-03-22 00:55:51 +09:00
RossAsscends 343b6c21f9 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 00:48:31 +09:00
RossAsscends afda35876c edit message button hides on the currently generating swipe
reshows when complete
2023-03-22 00:48:23 +09:00
SillyLossy 7292c86735 Fix oobabooga popup type 2023-03-21 17:25:40 +02:00
RossAsscends 2e9a36b0cc updated autoconnect to reference nai_settings.api_novel_key 2023-03-22 00:22:00 +09:00
SillyLossy 15af85c77d Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-21 17:17:05 +02:00
SillyLossy 7ec99c705a Forgot script js 2023-03-21 17:15:11 +02:00
RossAsscends ecced62bc7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 00:13:19 +09:00
RossAsscends 93d421e029 autoconnect is less spammy now. 2023-03-22 00:10:51 +09:00
SillyLossy 24cee20cfb Fix bias positioning 2023-03-21 17:06:00 +02:00
SillyLossy f6a0a2b65c Move novel settings to separate file 2023-03-21 17:05:51 +02:00
SillyLossy dc9e8add6f Ensure public directories exist 2023-03-21 15:56:02 +02:00
SillyLossy 5f39014f91 Ooobabooga settings to separate file 2023-03-21 15:48:23 +02:00
SillyLossy 624b843f79 Added mime filter 2023-03-21 15:10:58 +02:00
SillyLossy d6fbe65bbb Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-21 14:49:35 +02:00
SillyLossy f705f12f34 File names sanitation 2023-03-21 14:49:27 +02:00
RossAsscends 43a461c580 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-21 21:47:33 +09:00
SillyLossy 20c6cb242b Sanitizing 2023-03-21 14:30:06 +02:00
SillyLossy 8fef5288b9 Shadow popup position fix 2023-03-21 14:18:50 +02:00
SillyLossy e268fbb9b1 Top character bar fixed 2023-03-21 14:14:37 +02:00
RossAsscends ca9a5c72ea top settings connect icon is now red when disconnected 2023-03-21 21:08:15 +09:00
SillyLossy 11d31b7a17 Update right nav css 2023-03-21 13:24:08 +02:00
SillyLossy 324398a9ed Fix CSS 2023-03-21 13:14:12 +02:00
SillyLossy 8893b024ca Update gitignore 2023-03-21 13:09:01 +02:00
SillyLossy 09fd3b16cf Merge branch 'dev-settings-on-top' into dev 2023-03-21 13:01:17 +02:00
SillyLossy a9061efa36 Post-merge HTML update 2023-03-21 12:56:00 +02:00
SillyLossy 19a05e8e43 Merge branch 'dev-settings-on-top' into dev 2023-03-21 12:53:47 +02:00
RossAsscends 2b1cadc7cb fix for template avatarImg, replaced with empty src 2023-03-21 19:46:25 +09:00
RossAsscends 1adea9305e keyboard hotkey Ctrl+Up now works with novel and ooba 2023-03-21 19:03:24 +09:00
RossAsscends 5f32055a64 updated AutoConnect to work with NAI and OobaWebUI 2023-03-21 18:29:38 +09:00
RossAsscends 4ddeeab3cc fixed Novel API key not being displayed
(also confirmed NAI works)
2023-03-21 18:15:02 +09:00
RossAsscends 2d0d735528 post-bg update, fixing gitignore. 2023-03-21 17:54:28 +09:00
RossAsscends c60cafda45 restored default BGs (renamed with "TAI-" prefix)
added 50+ new BGs of various themes
(these can/should be curated further before release)

currently total file size is 18MB,
TAI's original 10 PNGs were 15MB

Themes:
- anime highschool/university
- beach
- bedroom
- tatami room
- cyberpunk
- fantasy landscape
- fantasy city
- taverns
- hellscape
- post apocalypse
- redlight distrcits
- muted patterns
- bokeh
2023-03-21 17:54:05 +09:00
RossAsscends 2c9805858a - fixed display of ooba and novel settings
- made server respond with BGs in filename alphabetical order
- removing default BGs for renaming (will replace manually)
- CSS: transparent grey border to chat and form_send for visibility on dark BGs
- CSS: sheld is now centered with 'absolute'
- CSS: top-settings are now same width same as chat on PC
2023-03-21 17:42:42 +09:00
SillyLossy 1785c2ac95 Post-merge generation fix 2023-03-21 03:01:27 +02:00
Cohee cc42dcf555 Update readme.md 2023-03-21 02:34:59 +02:00
Cohee b124c5c87d Update readme.md 2023-03-21 02:34:09 +02:00
Cohee 4c9ce79811 Update readme.md 2023-03-21 02:33:41 +02:00
Cohee c414a20221 Update readme.md 2023-03-21 02:32:31 +02:00
Cohee 847a179b7a Update readme.md 2023-03-21 02:32:08 +02:00
SillyLossy 1a1f445a14 Merge branch 'dev-settings-on-top' into dev 2023-03-21 01:09:06 +02:00
Cohee 8bae9d8472 Update readme.md 2023-03-20 19:28:20 +02:00
Cohee df8e44e527 Update readme.md 2023-03-20 19:22:57 +02:00
SillyLossy 68452e6c08 Revert smooth scrolling (I can figure it out later) 2023-03-20 18:51:08 +02:00
SillyLossy b3f495a923 Fix sever swipes bugs (details below)
1. Swiping with text in message box disrupted the swipe.
2. User was able to trigger system help message with regeneration
3. On non-Pygmalion model having forced name2 regeneration caused an endless loop if the first message was starting with user's name.
2023-03-20 16:57:49 +02:00
RossAsscends ea43b8c441 added a few missing semicolons 2023-03-20 17:50:40 +09:00
RossAsscends f6e56ad8e6 removed old commented-out code, and console.logs
removed code on .swipe_left listened that controlled right_swipe display
removed runGenerate force hiding right_swipe during gen
ra-mods - added check for swipe button visibility before KB swiping
2023-03-20 17:32:48 +09:00
RossAsscends 3dc13ee272 fixed bug w/ keyboard swipes going while swipes disabled 2023-03-20 16:47:10 +09:00
RossAsscends b6332d4939 a few CSS changes for mobile displays
takes into account top-settings-holder occupying 40px of vertical space
2023-03-20 15:31:47 +09:00
SillyLossy c1cd609ade Scroll after swipe buttons (for counter) 2023-03-20 00:36:17 +02:00
SillyLossy 15edcbb4ac Add single-line mode for Kobold 2023-03-20 00:31:12 +02:00
SillyLossy 6177985340 Fix generation error handling 2023-03-19 23:31:09 +02:00
SillyLossy 2a4a8811f7 Added back default chats 2023-03-19 21:21:03 +02:00
SillyLossy 63409e26f1 Update package version 2023-03-19 21:10:41 +02:00
SillyLossy 296deba415 Version check 2023-03-19 21:10:30 +02:00
Cohee 54b0628631 Update readme.md 2023-03-19 20:49:04 +02:00
SillyLossy 006ffec1f9 Fix security from upstream + console error messages 2023-03-19 20:23:18 +02:00
SillyLossy 379207a3d8 Count examples toward permanent if pinned 2023-03-19 19:41:00 +02:00
SillyLossy 43c29b0df9 Updated settings (sorry git users) 2023-03-19 19:35:15 +02:00
SillyLossy 8f81da2363 Advanced formatting options 2023-03-19 19:31:20 +02:00
RossAsscends 3f49c69328 Merge branch 'dev-settings-on-top' of https://github.com/SillyLossy/TavernAI into dev-settings-on-top 2023-03-20 01:45:18 +09:00
RossAsscends fe9dec1fea css fix, top border fix for large popups (world/character)
(top settings div does the 40px margin work for us now)
2023-03-20 01:45:03 +09:00
RossAscends 7b947c96d7 manual add bgload back in via webui 2023-03-20 01:36:41 +09:00
RossAsscends e67d6baffe remove bgload to fix gitignore 2023-03-20 01:35:14 +09:00
RossAsscends b0405955e3 gitignore fiddling 2023-03-20 01:34:10 +09:00
RossAsscends d2914ccbeb Merge branch 'dev-settings-on-top' of https://github.com/SillyLossy/TavernAI into dev-settings-on-top 2023-03-20 01:31:01 +09:00
RossAsscends 2840305d29 removed PNG backgrounds 2023-03-20 01:30:18 +09:00
RossAscends e58e3e4df8 added JPG backgrounds, remove PNG 2023-03-20 01:29:47 +09:00
SillyLossy e97546c194 Remove PNG backgrounds 2023-03-19 18:26:06 +02:00
RossAscends f1dab2288c adding JPG backgrounds 2023-03-20 01:18:34 +09:00
RossAsscends b0d6e6d0c3 added bg menu to top settings
restyled range sliders
style fix for right nav (L/R padding had disappeared somehow; fixed)
2023-03-20 00:57:56 +09:00
SillyLossy 66ecd37b4a Fix swipes 2023-03-19 17:43:49 +02:00
SillyLossy c9e64c8091 Dumb: formatting fix 2023-03-19 17:04:22 +02:00
SillyLossy ad765f2275 Supposed slowdown fix 2023-03-19 17:03:17 +02:00
SillyLossy 40e371aa72 Horde compatibility 2023-03-19 16:22:15 +02:00
SillyLossy 993d3faa03 Pin message examples option 2023-03-19 16:21:43 +02:00
SillyLossy d964e0d667 Fix examples / scenario not saving during edit 2023-03-19 13:30:03 +02:00
RossAsscends 79fea63198 put settings on top
right nav is only for character management now.
rewrote the drawer toggle to handle multiple drawers.
2023-03-19 18:45:39 +09:00
SillyLossy ba7621f845 Grammar 2023-03-19 01:13:15 +02:00
SillyLossy 9886ebb3a1 Animate dice dropdown 2023-03-19 01:09:45 +02:00
SillyLossy 95ca39d8e0 Display selected group name 2023-03-19 01:05:39 +02:00
SillyLossy 971f1c40b7 New icon for chat import 2023-03-19 00:16:28 +02:00
SillyLossy 6b623cead9 Allow setting floating prompt for each chat. Add extensions management 2023-03-18 23:55:13 +02:00
SillyLossy 92d4a7f19e Collapse newlines in prompt 2023-03-18 22:42:41 +02:00
SillyLossy bf5b2a5c40 Swipes and regenerations in groups should be working now 2023-03-18 21:55:10 +02:00
SillyLossy 0fe838223f Animate regen (again) + placeholder for group regen 2023-03-18 19:56:58 +02:00
SillyLossy 932d2509e1 Fix character card parsing 2023-03-18 19:35:29 +02:00
SillyLossy d7547ef869 Move all settings to KAI script 2023-03-18 19:13:43 +02:00
SillyLossy 7b6eaf6ed0 Add explanation for advanced settings 2023-03-18 17:58:09 +02:00
SillyLossy cddbc60587 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 17:31:44 +02:00
SillyLossy 92637fd1f9 Add advanced settings sliders 2023-03-18 17:31:42 +02:00
RossAsscends 4d7c776ecd fixed R swipe highlighting to work when mid-gen 2023-03-18 23:24:18 +09:00
SillyLossy 1317889dc4 Fix swipes counter on old chats. Remove force height on last message 2023-03-18 15:54:41 +02:00
SillyLossy 1bc54f06cf Remove animation of message deletion 2023-03-18 15:41:41 +02:00
SillyLossy 6bbee41565 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 15:31:50 +02:00
SillyLossy ca1bed3b47 Fix sliders not updating the script variable 2023-03-18 15:31:48 +02:00
RossAsscends c2006a60ea Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 22:24:40 +09:00
RossAsscends f25a6c6bcc fixed swipes counters 2023-03-18 22:24:27 +09:00
RossAsscends c038ebbcfa fixed CSS for chat scroll, fixed swipes counters 2023-03-18 22:24:17 +09:00
RossAsscends fdeb3f225f fixed chat scroll 2023-03-18 22:19:08 +09:00
SillyLossy 5c0bb34f69 Animate regeneration removal 2023-03-18 15:17:00 +02:00
SillyLossy 7b065b782b Replace advanced edit icon 2023-03-18 15:09:45 +02:00
SillyLossy 54a9f630d0 Back from group new style 2023-03-18 15:05:07 +02:00
SillyLossy 7ae31cf980 Replace emoji icons with SVGs 2023-03-18 14:53:37 +02:00
RossAsscends 9d5c1800fa Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 21:12:14 +09:00
RossAsscends f6297ed304 create/edit character buttons >>> icons
chat/mes padding adjusted
swipe left/right circle background removed
2023-03-18 21:12:08 +09:00
SillyLossy 4bfd6ded89 Fix extensions loader for firefox 2023-03-18 13:58:44 +02:00
SillyLossy 1cc49e70e7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 12:47:50 +02:00
SillyLossy d78bd26977 Message template instantiation 2023-03-18 12:43:49 +02:00
RossAsscends 4777531014 a few more css fixes/tweaks related to chat flow 2023-03-18 14:56:52 +09:00
RossAsscends 0a7f06855b changed #chat and .mes CSS
chat now starts with the first message on the bottom of the scroll
just like CAI
this is more intuitive for the swipe buttons as they don't move much
2023-03-18 14:26:34 +09:00
RossAsscends 33659c4e7a - fixed touch swipe detection
- removed unnecessary hideswipebuttons calls
- restyled swipe buttons to display flex
2023-03-18 13:25:17 +09:00
RossAsscends 440c2851f2 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 12:40:14 +09:00
RossAsscends de27382e50 - made right swipe highlight when next swipe will generate
- added a swipe counter below right swipe
(could add a toggle for displaying it later)
- removed spammy console.logs from expressions index.js
- swipes no longer trigger under the following conditions:
- - when an input it focused
- - when character_popup or history popup are visible
- - when send_textarea has something typed into it
(I think this a bit too restrictive, may seek a smarter way to handle it)

ISSUE: Pyg repeating gens cause swipes animation to lag/freeze
not sure what is the cause, but should seek to remedy somehow.
2023-03-18 12:34:18 +09:00
SillyLossy 1f959a0e82 Reformat system message using array of strings 2023-03-18 02:57:30 +02:00
RossAsscends 07c6f09be2 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 08:20:03 +09:00
RossAsscends 12540bfbcd removed unused font folder and contents 2023-03-18 08:19:58 +09:00
SillyLossy ec00cc023f Remove inversion for error avatars (moved to css) 2023-03-18 01:19:33 +02:00
SillyLossy 839b76dedd Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 01:19:07 +02:00
SillyLossy dfce704278 Fix selected avatar style 2023-03-18 01:19:04 +02:00
RossAsscends c2bad577ea fixed bug with hidden range sliders 2023-03-18 08:06:38 +09:00
RossAsscends 658d046e2f Apple icons into /img/ + redirected html tags 2023-03-18 07:36:16 +09:00
RossAsscends bd60065e90 back to working after merge,
formatting should match
fixed bug with send butting showing up midway through long pyg generations
optimized changeMainAPI function
2023-03-18 07:01:25 +09:00
RossAsscends 5f2c6b8853 - fixed swiping/generation post merge
- optimized char edit/create textarea listeners
- optimized listeners for left side options popup
-
2023-03-18 06:09:12 +09:00
SillyLossy 8beb1ade21 Post-merge fix 2023-03-17 19:55:40 +02:00
SillyLossy 2b3910b968 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-17 19:42:29 +02:00
SillyLossy ecf991ec81 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-17 19:41:00 +02:00
SillyLossy 2f2092106e Merge branch 'SL-TAI-RA-Mods' into dev 2023-03-17 19:40:26 +02:00
Cohee 9811b0dc3a Merge pull request #9 from 10sa/patch-silly-1
Add IP listening option
2023-03-17 18:32:31 +02:00
RossAsscends 7ff70819c1 greeting msg formatted
broke greeting message into readable strings with literals
2023-03-18 01:17:56 +09:00
SillyLossy 0942a2012e Add more safeties 2023-03-17 13:08:01 +02:00
10sa bdd2708f89 Add IP listening option 2023-03-17 19:33:16 +09:00
SillyLossy a894036d34 Fix styles 2023-03-17 11:54:06 +02:00
RossAsscends 420fb5ef17 fixed mistake with function locations, working now. 2023-03-17 17:52:35 +09:00
SillyLossy a89f31d614 Add safety switches 2023-03-17 10:46:23 +02:00
RossAsscends 10a4d39c7e removed a few comments 2023-03-17 17:39:48 +09:00
RossAsscends b20b865887 refactored main JS code and RAmods functions 2023-03-17 17:37:59 +09:00
SillyLossy 9ab8ca9b6b Search by groups 2023-03-17 01:41:54 +02:00
SillyLossy ef6d0acaed Fix top bar of characters block 2023-03-17 01:35:14 +02:00
SillyLossy b09d7abf49 Fix style of lock + group default message 2023-03-17 01:32:56 +02:00
SillyLossy 0081f5d0d7 Fix resetting preset on load of API 2023-03-17 00:21:06 +02:00
SillyLossy 5ef3b3417b Add image 2023-03-16 23:14:47 +02:00
SillyLossy a328058b93 Add placeholder for deleted avatar 2023-03-16 23:14:38 +02:00
RossAsscends c0a285eaa2 removed extra semicolon in RA-mods.js 2023-03-17 06:07:10 +09:00
RossAsscends f6dc978595 added swipes,
fixed suer avatar highlighting
swiping works on touchscreens
arrow left and right also swipe on PC
2023-03-17 05:52:57 +09:00
SillyLossy 4ce7fa59be Refactor right menus 2023-03-16 22:51:18 +02:00
SillyLossy 4225f217d0 Fix forcing pygmalion on no connection 2023-03-16 19:40:33 +02:00
SillyLossy 2d48a3bd25 Fix images getting squeezed when resized 2023-03-16 19:38:16 +02:00
SillyLossy fb0fd0d242 Added icons for top menu 2023-03-16 18:33:02 +02:00
SillyLossy 6b1b614045 Patch expressions by @RossAscends 2023-03-16 18:32:38 +02:00
SillyLossy 85da761244 Merge branch 'main' into dev 2023-03-16 11:15:25 +02:00
SillyLossy c617b7e7d5 Fix oobabooga's API (added encoder rep pen) 2023-03-16 10:46:00 +02:00
SillyLossy 165cad1549 Copy extensions from extras project to main 2023-03-16 00:33:26 +02:00
SillyLossy 2cda80ffe4 Merge branch 'SL-TAI-RA-Mods' into dev 2023-03-15 21:36:20 +02:00
SillyLossy a79aed4694 Packy locky 2023-03-15 21:26:51 +02:00
RossAsscends f558e12bda - renamed default expression folder
- split localStorage functions into separate js
2023-03-16 04:18:35 +09:00
SillyLossy eec9844e39 Power user: new module 2023-03-15 21:07:32 +02:00
SillyLossy a527ae1ad7 Rename files 2023-03-15 20:42:51 +02:00
SillyLossy 0736e72baf Debounce character saving (properly) 2023-03-15 20:15:45 +02:00
SillyLossy e85b26d5dc Split modules 2023-03-15 20:03:53 +02:00
RossAsscends 15f1d14db2 added default expression pack of 30 emojis to /img/ 2023-03-16 00:28:47 +09:00
RossAsscends 9483ec464a added
- swipes library
- CSS for mobile,
- swipe left/right on last msg to regenerate
2023-03-15 23:27:00 +09:00
SillyLossy 34b20b664f Add js map file for extension 2023-03-15 14:56:13 +02:00
SillyLossy 6d85f527a2 Farewell, stupid sharp. Hello jimp (thx CncAnon) 2023-03-15 13:56:53 +02:00
SillyLossy 16ac0f3a31 Replace constants with variables 2023-03-15 12:59:39 +02:00
SillyLossy 231ae91ae6 Fallback avatar renamed 2023-03-15 12:54:48 +02:00
SillyLossy 0442d39e60 Good night, sweet Chloe 2023-03-15 12:53:37 +02:00
SillyLossy cdadad1ede Reformat script 2023-03-15 11:10:47 +02:00
RossAsscends 5f2882e33f more typos 2023-03-15 08:50:11 +09:00
RossAsscends c51f63cd7a fixed typos in readme and RA-mod.js comments 2023-03-15 08:42:29 +09:00
RossAsscends 4ea7b22f4b added ability to save to iOS homescreen
added fullscreen capability for iOS (no more address bar in the way)
2023-03-15 07:05:44 +09:00
RossAsscends 7ee05adf9b Merge branch 'RossAscends-split-JS-for-SilyLossy-TAI' of https://github.com/RossAscends/TavernAI into RossAscends-split-JS-for-SilyLossy-TAI 2023-03-15 06:46:16 +09:00
RossAsscends cbcb772a64 ignored settings.json 2023-03-15 05:56:57 +09:00
RossAscends 2434822a44 Update readme.md 2023-03-15 05:52:25 +09:00
RossAscends b8c99ef2c1 Update readme.md 2023-03-15 05:15:40 +09:00
RossAsscends 20dc882b75 - Merged RossAscends-mods.js as separate file.
- removed RA functions from main JS (left code as comments, feel free to delete)
- moved function declarations out of document ready
- function calls and listeners remain inside the document ready function
- fixed UsernameChange and Char deletion in main JS
- updated Humanizedtime variable name
- small css changes
2023-03-15 04:52:16 +09:00
SillyLossy c1699b4193 Remove looping in oobabooga's API 2023-03-14 16:24:24 +02:00
Cohee 4488110ea0 Update readme.md 2023-03-13 19:27:25 +02:00
Cohee 6a5a0efff9 Update readme.md 2023-03-12 23:31:15 +02:00
Cohee 61a8c65b2d Update readme.md 2023-03-12 23:31:01 +02:00
SillyLossy abe5aa7cc0 Extra notice for ooba users 2023-03-12 22:40:15 +02:00
Cohee 1668b94f97 Update readme.md 2023-03-12 22:25:40 +02:00
SillyLossy 93d9af931a Remove default novel preset 2023-03-12 21:48:45 +02:00
SillyLossy 2f76bbb7d6 Fix novel preset duplication 2023-03-12 21:42:14 +02:00
Cohee 74647ab270 Update readme.md 2023-03-12 16:01:29 +02:00
SillyLossy 15f6f745a0 Reformat code 2023-03-12 15:51:27 +02:00
SillyLossy 6f4832b491 Merge branch 'dev' 2023-03-12 15:45:20 +02:00
SillyLossy 4fdc5acfbe Default API changed to kobold 2023-03-12 15:44:23 +02:00
SillyLossy 0f2a56ddf1 Fix char avatar corruption 2023-03-12 15:41:00 +02:00
SillyLossy b01bf57fda Create date fix 2023-03-12 14:33:45 +02:00
SillyLossy 76f0e892a4 Fix console spam on deletion 2023-03-12 14:04:20 +02:00
SillyLossy 8bff8a59a5 Fix avatar changing on import 2023-03-12 14:02:33 +02:00
SillyLossy de99802ac8 Collapse newlines power option 2023-03-12 13:46:51 +02:00
SillyLossy 198526bcbe Support for the dice plugin 2023-03-12 00:42:58 +02:00
SillyLossy 625f4fe8b4 WI editor styles adjustment 2023-03-11 16:13:29 +02:00
SillyLossy 2b51a3348c Better checkbox styles 2023-03-11 15:54:38 +02:00
SillyLossy 28004e7616 Autoconnect to ooba and novel 2023-03-11 00:17:26 +02:00
SillyLossy c6e5b394f2 Fix resetting character 2023-03-10 23:56:14 +02:00
SillyLossy 439286b946 Fix notice style for ooba 2023-03-10 23:54:46 +02:00
SillyLossy 100c934f5a Hide character only if deleted 2023-03-10 23:53:04 +02:00
SillyLossy 216b251f3e Enable amount gen if switching API from Kobold with GUI preset 2023-03-10 22:01:16 +02:00
SillyLossy 142ac02293 Merge branch 'main' into dev 2023-03-09 22:43:49 +02:00
SillyLossy 7cc9ebff8d Reset prompt bias after first generation 2023-03-09 22:05:26 +02:00
SillyLossy 7c7b212684 Merge branch 'main' into dev 2023-03-09 17:42:02 +02:00
SillyLossy af709ce079 Change WI slider values 2023-03-09 17:41:19 +02:00
SillyLossy af7d30b248 Display Chloe on group chat deletion 2023-03-09 01:54:52 +02:00
SillyLossy d804720357 Improvements to group chats 2023-03-09 01:40:30 +02:00
SillyLossy 5f4c9bf301 Step pen.alpha return 2023-03-08 17:59:39 +02:00
SillyLossy 6cafd60bb3 Remove hardcoded context side 2023-03-08 17:57:56 +02:00
SillyLossy 62a6fa8519 Add support for text generation UI (by @im-not-tom) 2023-03-08 17:34:14 +02:00
SillyLossy f91bcb6c73 Merge remote-tracking branch 'origin/update-tokenizer' into dev 2023-03-08 16:53:08 +02:00
SillyLossy d15ad3ef8f Merge branch 'main' into dev 2023-03-08 13:18:06 +02:00
SillyLossy 6d53ab3001 Merge remote-tracking branch 'ross/main' 2023-03-08 13:15:07 +02:00
SillyLossy 4676777d17 Un-hide Soft Prompts selector 2023-03-08 01:59:05 +02:00
SillyLossy 73d669628d Sort extension prompts by key alphabetical order 2023-03-08 01:58:48 +02:00
RossAsscends ef7e412896 create_form and api_form CSS
tweaks to panel menus to maximize utilization of space.
2023-03-08 05:39:19 +09:00
RossAsscends c21317d69e CountCharTokens() + create_form to grid +CSS tweaks
1. Added a new utility function CountCharTokens() to replace the token counting routine from before. It also works unsaved new characters.

1.5 - moved #result_info to the top under avatar.

2. put create_form into a grid display so the two textareas can automatically resize to fill as much space as possible.

3. CSS - standardized background shadings, and replaced backdrop filters with RGBA background-colors for most divs. increased the strangth of some box-shadows on large UI divs
2023-03-08 04:53:00 +09:00
SillyLossy 63ddd82792 Fix search bar 2023-03-07 18:04:50 +02:00
SillyLossy 92109d9044 Search bar fixed 2023-03-07 18:02:03 +02:00
SillyLossy 93ec43893c Merge branch 'main' into dev 2023-03-07 17:38:43 +02:00
SillyLossy 56cf662081 Fix settings deletion 2023-03-07 17:36:50 +02:00
SillyLossy 936cb32264 Support multiple extension prompts 2023-03-07 17:18:53 +02:00
SillyLossy 837ecb636a Style adjust 2023-03-07 16:38:41 +02:00
SillyLossy 2a41834b3d Filter caret return symbols out of prompt 2023-03-07 15:10:19 +02:00
SillyLossy 1c9658c82a WI replacement params 2023-03-07 15:04:29 +02:00
RossAsscends 16b4503d8f KoboldAI settings presets selector fixed for QuickRefresh
The selector menu for KoboldAI settings presets was doubling the list of presets when QuickRefresh happened, so i uncommented the "$("#settings_perset").empty();* line of code in /getsettings
2023-03-07 05:45:57 +09:00
SillyLossy 67e94493cb Adjust styles 2023-03-06 18:47:44 +02:00
SillyLossy 427c21ee8c Better extensions style 2023-03-06 18:11:12 +02:00
SillyLossy 50743afaa9 Remove debugger 2023-03-06 17:52:35 +02:00
SillyLossy 36a62aad9e Merge branch 'main' into dev 2023-03-06 17:51:20 +02:00
SillyLossy 9134504a7b Post-merge fixes 2023-03-06 16:51:08 +02:00
SillyLossy d2cce0eead Merge remote-tracking branch 'ross/main' 2023-03-06 16:04:41 +02:00
RossAsscends 88a2b46a77 AtoZ char sorting + QuickRefresh on Username change 2023-03-06 17:47:29 +09:00
RossAsscends b03fd99588 syncing PNGs 2023-03-06 11:02:07 +09:00
RossAsscends 2cd6739aaa dynamic char delete + button/create form styling
1. enabled deletion of characters without page reload. now when a user deletes a character, the page will not auto-refresh, but they will be get a message from Chloe instructing them to pick another character to continue.

2. standardized all buttons to use menu_button class instead of individual ID stylings

3. adjusted create_form, making wider range inputs for mobile users.
- moved 'back button' to the bottom of the form next to delete/create/export
- changed the 'back' button on post-creation rm_info to look like a button

4. condensed redundant CSS where possible; removed unused CSS.

5. Fixed the problem of the nav auto-closing when a character is created or when using advanced editing window.

6. made the token counter load when a character is selected. previously it only showed up after edits were made.

7. found some problems with /createcharacter - if a character/PNG with the same name exists, the server won't make a new character, but it doesn't tell the user about the error.  I UI acts as if the character was created. I added some soft console.error messages for this, but couldn't figure out a way to make it give a proper error. probably because fs.existsSync doesn't have a callback.
2023-03-06 10:58:10 +09:00
SillyLossy 4031a599ac Bypass localtunnel on loading extension files 2023-03-05 15:43:28 +02:00
SillyLossy 1db21e1a13 Add value to Tunnel bypass header 2023-03-05 14:52:29 +02:00
SillyLossy f7f2c3078f TEST: Supposed fix of "avatars infection" issue 2023-03-05 14:51:22 +02:00
SillyLossy f6aa6609cd Fix for localtunnel 2023-03-04 23:32:32 +02:00
RossAsscends 6793db967f fixed advanced_div and styled notes links
advanced div changed to grid layout

notes links "?" styled as circles
2023-03-04 17:26:20 +09:00
RossAsscends 5bde642f5b Moved AutoFeatures Out of getSettings
Originally both AutoConnect and AutoLoadChat features were built into the getSettings function, but this caused unreliable functionality on Firefox and Chrome.

Instead I made them their own functions to call separately once everything else in the loading process had finished.
2023-03-04 07:50:15 +09:00
SillyLossy 3616895190 Add chatId to external API 2023-03-04 00:25:39 +02:00
RossAsscends 507cddcba7 swapped auto-function execution order
testing in firefox showed connecting to API first caused a very small amount of lag which caused it to skip the auto-load-chat feature.

swapping the order and placing auto-connect at the end of getSettings fixed this.
2023-03-04 05:40:13 +09:00
RossAsscends 569ca97b13 added Firefox compatibility to styled check boxes 2023-03-04 04:41:16 +09:00
RossAsscends 7ce52046fd New toggle features: Auto-Connect & Auto-Load-Chat
1. new function - Auto-connect to API
2. new function - Auto-load last character/chat

Both of these have toggles in the right menu at the bottom in a "Power user options" section.

Both only load if settings.json has a pre-defined setting for them. (won't fire on first load after install)
2023-03-04 04:00:40 +09:00
SillyLossy 939d1bf663 Add extension API for external prompt additions 2023-03-03 20:36:24 +02:00
RossAsscends eb30b84bff Update style.css 2023-03-03 11:44:11 +09:00
RossAsscends b856e2f566 A little error-proofing to chat loading and history viewing
1. revised the new date format (reformatted to be a function so it would return new dates each time called)

2. re-added new date format functionality as I had previously rolled it back while debugging the avatar loading issues discovered in last push.

3. resolved some issues related to loading past chats for bots with no chat save files. Usually this wouldn't happen, as a new (or previous) chat is loaded each time the character is selected. But in cases where the files are deleted after being created, the chat history loading screen would remain in a 'loading.svg' loop. I added errorhandling to avoid this, and to kick GetAllCharaChats() from trying to read empty arrays.

4. increased potential size of past chats popup box
2023-03-03 11:36:57 +09:00
SillyLossy f5013d373d Add more fields to the context 2023-03-03 01:44:06 +02:00
SillyLossy 6199fcb5da Merge branch 'main' into dev 2023-03-03 01:14:04 +02:00
SillyLossy 402d88c354 Note styles from Ross 2023-03-03 01:07:21 +02:00
SillyLossy b0baeba156 Merge remote-tracking branch 'ross/main' 2023-03-03 01:02:45 +02:00
RossAsscends 751647461e Fixed broken character avatar updates + settings panel tooltips
1. Due to a mistake on my end character avatars were not updating real time. This has been fixed.

2. added some tooltips to icons and buttons on the right nav panel.

3. resized the New Character and Import Character buttons
2023-03-03 07:26:21 +09:00
SillyLossy 6c3984d4f4 Move message styles 2023-03-02 23:47:08 +02:00
SillyLossy 6b3bd1e6cf Fix message edit 2023-03-02 22:05:31 +02:00
SillyLossy 7a3e62692c Revert colab changes 2023-03-02 21:15:25 +02:00
RossAsscends cfa642507f Chat Filename Humanization + Larger Past Chats Box
1. Replaced all Date.now() instances with a humanized ISO8601 timestamp that is easily readable by users.

This has a seamless effect on the  embedded timestamping of chat mesages. Old chat files can still be edited (messages deleted), and continued.

Character PNG files get updated with the new date format, and this will be reflected in github but there is no functional change to the user.

2. Added character name to the front of all newly saved/imported chat files. Old chats will retain their original filename unless re-imported.

With these two changes, the new chat filenames are as such:

"Aqua - 2023-3-3 @03h 08m 36s 948ms.jsonl"

(I would like to make it smaller, perhaps by removing the milliseconds. Let me know if this is possible, or if it would introduce potential overwrites if users make/update files within the same second.)

3. Increased the size of the 'view past chats' popup box to max 800px so accommodate the new larger filenames.
2023-03-03 03:48:30 +09:00
SillyLossy 36b3d4cac3 Add support for external TAI API calls 2023-03-02 17:05:27 +02:00
RossAsscends 6cc4918d25 added styles to Notes pages. 2023-03-02 18:21:57 +09:00
SillyLossy da8ccbbcc1 Error handing for fetch and style fix 2023-03-02 01:42:00 +02:00
SillyLossy f5635155b9 Add extension loader 2023-03-02 01:32:33 +02:00
SillyLossy faf850794a Fix click propagation 2023-03-01 23:35:43 +02:00
SillyLossy ce90556729 Merge branch 'main' into dev 2023-03-01 23:30:18 +02:00
SillyLossy 65f900f0be Style fix-up 2023-03-01 23:20:31 +02:00
SillyLossy 48c9c8ca51 Merge remote-tracking branch 'ross/main' 2023-03-01 23:14:03 +02:00
SillyLossy 41437c7770 Add draft extensions loader 2023-03-01 23:12:34 +02:00
RossAsscends 7b3a6135f7 small alignment changes 2023-03-02 04:32:15 +09:00
SillyLossy 496e5008b1 Colab debug 2023-03-01 21:24:07 +02:00
RossAsscends 66562c53be small changes to checkbox placement 2023-03-02 04:19:08 +09:00
RossAsscends 4d07e4f785 removed excess remote font call in CSS 2023-03-02 04:12:13 +09:00
SillyLossy 569ae28e9e Add tensorflow to colab 2023-03-01 21:09:26 +02:00
RossAsscends c4a30056a2 fixed checkboxes
unified right-nav checkbox to match the delete-checkbox style
2023-03-02 04:03:27 +09:00
SillyLossy 71c02d0297 Colab debugging 2023-03-01 20:51:13 +02:00
SillyLossy 9950bdda31 Fix stupid bug 2023-03-01 20:28:59 +02:00
SillyLossy 327063f7fa Update extras Colab 2023-03-01 20:21:11 +02:00
SillyLossy a297962b99 Add extras to colab 2023-03-01 19:55:29 +02:00
RossAsscends c1e967021f cleaned up CSS
ran the CSS through a few validators and beautifiers. redundant styles removed, errors fixed.
2023-03-02 01:51:21 +09:00
RossAsscends 8e2ffa3a01 right nav header changes
changed the right nav header tabs from "character" and "settings" to emojis that represent each respectively. This was to allow the selected character's name to have a larger display footprint for mobile screens.
2023-03-01 20:03:12 +09:00
SillyLossy 3b30672b09 Merge branch 'main' into groupchats 2023-03-01 11:03:31 +02:00
SillyLossy a73ad9d53f Merge remote-tracking branch 'ross/main' 2023-03-01 10:54:51 +02:00
RossAsscends dac14985f4 fixed bug with ctrl+enter
previously the keydown eventlistener for  'enter' would trigger even though ctrl was pressed, so i changed it so it doesn't trigger when ctrl is pressed (previously it only checked if shift was not pressed)
2023-03-01 16:34:04 +09:00
RossAsscends a67d771d75 nav lock icon hover glow
- made the right nav lock icon glow on hover
- small HTML code cleanups (remove blank lines, etc)
2023-03-01 05:54:20 +09:00
RossAsscends db19ccb0f0 added panel lock to rightnav
Added a lock/unlock toggle to the right nav which will function to pin the panel in place (disengages auto-close) if the user desires it.
2023-03-01 05:38:02 +09:00
RossAsscends e16b1d533b nav-toggle transparency
fixed the transparency on the new nav-toggle setup.
2023-03-01 04:42:07 +09:00
RossAsscends ea30e8abe5 text-pole fixes
- removed forced size tags from text-pole div's as these caused some textareas to overflow the nav on iphone. instead widths are done with CSS now.

- added <br> after yourName textarea  and increased size of the nameChange button to match the API design. This is also better for phones.
2023-03-01 04:38:54 +09:00
RossAsscends fdc0665987 Updated Right Nav And Added Click-Away Closing
Rewrote the nav HTML/CSS

.nav --> #right-nav-panel
.nav-toggle <label> --> removed, using #nav-toggle:after for styling instead

The main purpose of this rewrite was to allow for a function such that the nav panel will auto-close when the user clicks away from it. The former structure of using a label for a hidden checkbox made this impossible, as the label produced two clicks when clicked on (one for the label, and one for the box), therefore locking the panel if the click-away feature was turned on.

I will add in a 'pin' toggle soon to allow users to hold the nav panel open if they wish.

- Changed default font size from 1rem to 15px;

- removed unused CSS code for <main>,<article>,<header>, and <footer>, which were not used in the HTML
2023-03-01 04:22:32 +09:00
RossAsscends d9a7a74116 Update index.html 2023-02-28 19:07:41 +09:00
SillyLossy 0e59edf5e1 Group chat auto-mode (broken & hidden) 2023-02-27 22:54:00 +02:00
SillyLossy a1c797fb13 Better scrolling (I hope) 2023-02-27 21:19:04 +02:00
SillyLossy 1b8b8f0f37 Fix deletion and smooth indicator 2023-02-27 21:15:35 +02:00
SillyLossy f215ff664e Shuffle randomly activated chars 2023-02-27 19:25:38 +02:00
SillyLossy aa05749e9b Implement message sending in group chats 2023-02-27 18:48:01 +02:00
SillyLossy 82566e1163 Add group chats creation 2023-02-27 01:57:10 +02:00
RossAsscends 097cfc2e4f Update style.css 2023-02-27 02:11:28 +09:00
RossAsscends 7ecf8b58ca reversed Enter/Shift+Enter functions
(and made connect buttons larger for mobile)
2023-02-27 00:27:41 +09:00
RossAsscends 29623350bd submenu stylings
- made send3.png opaque and adjusted opacity with CSS
- removed redundant backdrop blur on from <body>
- removed redundant backdrop blur from bg1 and bg2 (they now only self-blur)
- made "Connect" button on both API panels larger for mobile screens, and added :hover coloring
- made character 'export' and 'delete' buttons larger and further apart to decrease likeliness of mis-clicks, especially on phone screens.
- adjusted send_form opacity/background stylings to allow #options to perform blur effect
- added <br> after novel API URL input to match KoboldAI form style
- cleaned up #options_content and added styling
2023-02-27 00:19:51 +09:00
RossAsscends 76cfa2c050 Update style.css 2023-02-26 21:40:22 +09:00
RossAsscends 5d38f57292 menu btn color and character_popup changes
charcter_popup set to cover all main sheld elements for ease of use and to limit user errors (using the chat input box while having the character's advanced defs popup open)

removed forced coloring from popup menu buttons.
2023-02-26 21:30:33 +09:00
SillyLossy 335f311474 Merge remote-tracking branch 'ross/main' 2023-02-26 13:41:43 +02:00
RossAsscends 4aecc49e2a various design edits
- changed background color of messages selected for deletion
- changed color of delete message confirmation buton
- changed size/height of deletion menu to match normal send_form height (to avoid #chat resizing awkwardly)
- reverted #chat scrollbar to normal display since corners are no longer rounded
- removed corner radius from #chat .mes divs, since they are invisible anyway
- removed large margin-bottom between #chat .mes divs and replaced with a smaller padding. (This makes the delete screen look nicer as there are no gaps between the selected messages)
- aligned deletion checkboxes in the center of the divs and vertical aligned with avatar icons
2023-02-26 20:34:06 +09:00
RossAsscends 2a13d1d9d5 changed character-popup to match new chat div style 2023-02-26 19:34:49 +09:00
RossAsscends 4d36ebd6f3 changed send_form display
-100% width
- send_form's grid cell widths and options button paddings changed to fit
- changed corner roundness of chat and send_form
- reduced margin between chat and send_form to 1px
2023-02-26 18:31:39 +09:00
RossAsscends 3d05198efd changed input bar status indication
- removed the indicator circle under the send button
- made send_form turn red when not connected
- changed send_textarea's placeholder text when not connected
- made send button hide when not connected (avoids users trying to use API and instead getting a 'character not selected' button)
2023-02-26 18:19:04 +09:00
RossAsscends 2263ebe75d Update style.css 2023-02-26 17:04:52 +09:00
RossAsscends 384bb56f1e Update index.html 2023-02-26 13:30:17 +09:00
RossAsscends 2500fc3cdd hotkey switch
enter = new line
shift+enter = send
(imperfect solution but slightly better for mobile users)
2023-02-26 11:22:06 +09:00
RossAsscends d44cbac87f added proper scrolling to character settings side panel 2023-02-26 10:40:46 +09:00
SillyLossy e24e2bb2ca Correction in note regarding order 2023-02-25 23:33:05 +02:00
SillyLossy 6ad55a7fa5 Fix newlines in WI insertion 2023-02-25 23:28:50 +02:00
SillyLossy d33c08abd4 Reverse append order of WI 2023-02-25 22:13:24 +02:00
SillyLossy 61b672f02e Fix avatar upload align 2023-02-25 17:56:58 +02:00
SillyLossy 3a6e1cc660 Add avatar uploading 2023-02-25 17:53:05 +02:00
RossAsscends 26417f1383 Merge branch 'main' of https://github.com/RossAscends/TavernAI 2023-02-25 21:15:36 +09:00
RossAsscends e156373ad0 input bar auto-shrink on send
previous the input bar would expand to the fit the size of the typed input, but when it was sent, the bar would stay the same size. Now it will auto-shrink back to default size after sending the input to AI.
2023-02-25 21:15:29 +09:00
RossAscends 5029c6c3f5 added TAI main branch config.conf 2023-02-25 17:34:05 +09:00
RossAsscends 4f2174eced Delete settings.json 2023-02-25 17:20:04 +09:00
RossAsscends 60cbda218c Update .gitignore 2023-02-25 17:10:52 +09:00
RossAsscends d63c5683e3 removing more files so gitignore will stop tracking 2023-02-25 17:09:13 +09:00
RossAsscends 64a1ecac7e Update .gitignore 2023-02-25 17:04:32 +09:00
RossAsscends 2cda771055 removed character and chats from this branch
just trying to update the gitignore
2023-02-25 17:03:34 +09:00
RossAsscends d400a74bed Update .gitignore 2023-02-25 16:57:34 +09:00
RossAsscends de6cfc339a Update .gitignore 2023-02-25 16:56:31 +09:00
RossAsscends a0efd37a0c Update .gitignore 2023-02-25 16:50:28 +09:00
RossAsscends 13a1110474 Update .gitignore 2023-02-25 16:49:56 +09:00
RossAsscends 05ef64769d Merge branch 'main' of https://github.com/RossAscends/TavernAI 2023-02-25 16:46:53 +09:00
RossAsscends 001c8fa2b8 Update .gitignore 2023-02-25 16:46:41 +09:00
RossAscends cc55a885a4 Update style.css 2023-02-25 16:44:49 +09:00
SillyLossy a079dfaf11 Add newlines 2023-02-25 01:12:03 +02:00
SillyLossy 433a6575e8 Clean-up minor stuff for PR 2023-02-25 01:10:03 +02:00
SillyLossy 9a136dbd75 Post-merge fixes 2023-02-25 00:25:30 +02:00
SillyLossy 63a1f7abee Merge with ross changes 2023-02-25 00:02:17 +02:00
RossAsscends 9b9a6d909a updated gitignore
should hopefully not be tracking these files for future pushes.
2023-02-25 07:00:46 +09:00
RossAsscends 743371159b added gitignore
so future pushes don't include user data from public subdirectories, and uploads directory. also removed my config.conf, as I change it to disable the whitelisting feature.
2023-02-25 06:46:03 +09:00
RossAscends 5cf91b1264 some more index.html reverts
added back in cookie JS, favicon, and removed bootstrap links/script references.
2023-02-25 06:31:00 +09:00
RossAscends aa33f3be94 small CSS fix, reverting to default.
line 62 and 74 : background URL from "taverna.png" (my change) to "tavern.png" (default). I had made the url changes as a test for functionality while altering BG behavior. 

Even if taverna.png is in the CSS, the BG swapping works properly. 

I think I did this because having it set to tavern.png in the initial CSS will remove whatever BG was chosen by the user in a previous session. Could be wrong about that.
2023-02-25 06:18:15 +09:00
RossAscends 1f4c01fedf manual re-addition of index.html tokenizer code
line 849:
if((anchorTop != "" || charPersonality != "") && !is_pygmalion){

line 1035:
if(message_already_generated.indexOf('You:') === -1 && message_already_generated.indexOf('<|endoftext|>') === -1 && tokens_already_generated < parseInt(amount_gen) && getMessage.length > 0){
2023-02-25 06:03:12 +09:00
RossAscends 1c0ce37d3e Update bg_load.css 2023-02-25 05:46:17 +09:00
RossAscends 872c39ce3b Update index.html 2023-02-25 05:45:19 +09:00
RossAsscends 3663eb4564 Merge branch 'main' of https://github.com/RossAscends/TavernAI 2023-02-25 05:38:14 +09:00
RossAsscends 02330b4d12 Ross CSS 1.2.8 + hotkeys take 3 2023-02-25 05:36:41 +09:00
RossAscends d8544385ab Merge pull request #1 from SillyLossy/ross-css
New CSS from RossAscends
2023-02-25 05:14:43 +09:00
SillyLossy 21198fbad8 New CSS from RossAscends
Cleaner changes from https://github.com/RossAscends/TavernAI/tree/RossAscends-TavernAI-UI-for-1.2.8
2023-02-24 21:13:37 +02:00
SillyLossy b879b53a55 Add notes for Insertion Position 2023-02-23 20:43:58 +02:00
SillyLossy 5bea179f3b Update GPT tokenizer
Fixes being unable to tokenize words like constructor/toString/etc
2023-02-23 15:07:05 +02:00
SillyLossy 6eedc8e44c Add ability to change WI position 2023-02-23 01:51:05 +02:00
SillyLossy 9f04dcb498 Make resizable inputs in editor of WI 2023-02-22 21:04:16 +02:00
SillyLossy 215e7cef65 Reduced send area placeholder (ugly on mobile) 2023-02-22 00:06:46 +02:00
SillyLossy 3686971848 Add order of entries. 2023-02-21 23:31:19 +02:00
SillyLossy 406724f200 Disable server-side WI entirely 2023-02-21 16:22:28 +02:00
SillyLossy eff98b6efd Corrections to example lore 2023-02-21 16:19:03 +02:00
SillyLossy b36932f4df Merge branch 'main' of https://github.com/SillyLossy/TavernAI 2023-02-21 16:08:55 +02:00
SillyLossy 6b619b225b Better example lore. 2023-02-21 16:08:53 +02:00
SillyLossy 4d95807d4d Update note 2023-02-21 12:15:20 +02:00
SillyLossy e787370fc3 Default WI depth lowered 2023-02-21 12:11:04 +02:00
SillyLossy fd416dc6ae Merge branch 'main' of https://github.com/SillyLossy/TavernAI 2023-02-21 10:24:51 +02:00
SillyLossy c17e4c321c Move world info to client side 2023-02-21 00:19:48 +02:00
SillyLossy 41ab2eb1c3 Move world info to client side 2023-02-21 00:17:07 +02:00
SillyLossy 53bfce557f Replace implementation of world info 2023-02-20 18:19:46 +02:00
SillyLossy 94d4b06dc7 Merge branch 'TavernAI:main' into main 2023-02-19 12:43:51 +02:00
Ash a104082943 ip checking whitelist fix 2 2023-02-18 20:17:35 +04:00
Ash f24fd58710 ip whitelist fix 2023-02-18 19:54:44 +04:00
Ash 388acc4ddd optimisation checking EOS tag 2023-02-17 19:04:50 +04:00
Ash d6afa07560 favicon 2023-02-17 14:52:08 +04:00
Ash 6cf2d95144 ip whitelist check fix 2023-02-17 02:58:07 +04:00
Ash 7b9837fd06 fix 2023-02-17 02:42:49 +04:00
Ash 5e272e91d2 readme fix 2023-02-16 16:30:59 +04:00
Ash 82323fb2eb readme fix 2023-02-16 16:27:40 +04:00
Ash cebcd970c1 readme fix 2023-02-16 16:26:52 +04:00
SillyLossy 7cf902b7d2 Add async error handling 2023-02-16 13:01:11 +02:00
SillyLossy fcac6b0fe2 Change button styles 2023-02-15 21:41:08 +02:00
SillyLossy 2989f9566d Merge branch 'TavernAI:main' into main 2023-02-15 17:41:02 +02:00
Ash e764f94c8a Colab: add lt for KoboldAI 2023-02-15 16:49:46 +04:00
SillyLossy f60f2cb7a7 Uncomment set of boolean fields on Kobold WI 2023-02-15 14:35:31 +02:00
Ash a73decaac6 colab 2023-02-15 16:06:37 +04:00
Ash 171806db2f colab 2023-02-15 16:05:26 +04:00
Ash dbcc628d53 Merge branch 'main' of https://github.com/TavernAI/TavernAI
# Conflicts:
#	server.js
2023-02-15 15:36:42 +04:00
Ash 366f235c02 @1.2.8:
1) Security update: https://github.com/TavernAI/TavernAI/security/advisories/GHSA-25wp-82wc-xchj
2) Fixed several bugs related to character import: now all imported characters are added to the top of the list.
3) Fixed a bug that duplicated character cards if the character name and map name did not match.
4) Made minor fixes for prompt formatting.
5) Added the ability to enable/disable TavernAI autostart in the browser through the configuration file.
6) Adapted for Pygmalion Dev.
2023-02-15 15:33:06 +04:00
SillyLossy 7d2e4d4888 Style a system message. Fix up spacing in bias 2023-02-15 11:36:30 +02:00
SillyLossy 4ed158e23e Visual touche 2023-02-15 11:19:21 +02:00
SillyLossy d6e6f9520d Hide SPs select for now, refactor async endpoints 2023-02-15 11:08:01 +02:00
SillyLossy 3affc38b39 Better info about bias 2023-02-15 10:56:59 +02:00
SillyLossy 10e5e1e5ea Visual touche and fix-up of everything broken 2023-02-15 10:53:30 +02:00
SillyLossy 083e5efb32 Add missing div 2023-02-15 02:31:25 +02:00
SillyLossy 41c32fd12f Merge remote-tracking branch 'origin/softprompt' 2023-02-15 02:21:44 +02:00
SillyLossy 338de3f042 Merge remote-tracking branch 'upstream/main' 2023-02-15 02:19:57 +02:00
SillyLossy dde7e9ba97 Merge pull request #5 from SillyLossy/bias
Add message bias and a system message support
2023-02-15 02:14:50 +02:00
Borov666 e13c1a3877 Merge pull request #50 from 10sa/patch-3
Remove Cookie secure options
2023-02-15 02:04:31 +04:00
Tensa 44e7d2ab01 Remove Cookie secure options
almost server is not using https, so disable it.
2023-02-15 07:01:51 +09:00
Ash cb00faa570 Merge branch 'HEAD' of https://github.com/TavernAI/TavernAI 2023-02-14 23:11:24 +04:00
Ash baabea2c55 colab 2023-02-14 23:11:06 +04:00
TavernAI 8b7b51ffad Merge pull request #46 from ZoltanAI/main
Improve JSON import
2023-02-14 22:25:16 +04:00
TavernAI 8a47fa8385 Merge pull request from GHSA-25wp-82wc-xchj
Add X-CSRF-Token for preventing CSRF vulnerability
2023-02-14 22:24:37 +04:00
SillyLossy 052f12f8bc Add message bias and a system message support 2023-02-14 18:41:17 +02:00
10sa 1041fb77f7 Apply CORS Settings 2023-02-14 20:05:51 +09:00
SillyLossy ebe4c5ef7b Merge pull request #4 from SillyLossy/charsearch
Charsearch
2023-02-14 11:31:10 +02:00
SillyLossy d1b7423f7b Merge branch 'main' into charsearch 2023-02-14 11:31:01 +02:00
SillyLossy c89e28a645 Merge pull request #3 from RossAscends/CSS-Grey
CSS/JS/HTML edits
2023-02-14 11:28:45 +02:00
SillyLossy a465b39b8a Merge branch 'TavernAI:main' into softprompt 2023-02-14 10:59:36 +02:00
SillyLossy 99b054b644 Merge branch 'TavernAI:main' into charsearch 2023-02-14 10:58:37 +02:00
SillyLossy 3d4b16d18c Merge branch 'TavernAI:main' into main 2023-02-14 10:58:22 +02:00
Ash 20147fc8ca colab fix 2023-02-13 23:40:02 +04:00
10sa 9490c898c9 Implementats CSRF Token 2023-02-13 23:54:08 +09:00
SillyLossy 028b860bde Adjust CSS 2023-02-13 14:08:06 +02:00
SillyLossy 1922499193 Aligned search bar vertically 2023-02-13 13:59:56 +02:00
Ash 2dc54a95b5 colab 2023-02-13 13:02:08 +04:00
SillyLossy c0a8e26564 Move search form farther from scroll bar 2023-02-12 22:53:24 +02:00
SillyLossy b2fbd3d972 Removed extra closing div (I'm stoopid) 2023-02-12 22:43:44 +02:00
SillyLossy 0eb8aecdb2 Merge branch 'TavernAI:main' into softprompt 2023-02-12 22:34:42 +02:00
SillyLossy cb628ae072 Merge branch 'TavernAI:main' into charsearch 2023-02-12 22:34:33 +02:00
SillyLossy 455f1f0293 Merge branch 'TavernAI:main' into main 2023-02-12 22:33:57 +02:00
Ash 89f575852b fix 2023-02-12 23:15:06 +04:00
SillyLossy 4e638c65c5 Added search bar for characters 2023-02-12 20:13:23 +02:00
Ash 7309796847 colab fix 2023-02-12 21:37:53 +04:00
SillyLossy 38d83c7eec Add softprompts selector 2023-02-12 18:11:33 +02:00
Ash 309b1679c5 Colab update 2023-02-12 18:11:48 +04:00
Ash e0724a2825 Colab save/load update 2023-02-12 18:06:47 +04:00
SillyLossy c9271a9462 Merge pull request #2 from SillyLossy/worldinfo
Worldinfo
2023-02-12 14:47:53 +02:00
SillyLossy 87428fba78 Add world creation button 2023-02-12 14:31:01 +02:00
SillyLossy 2389cd91b4 Fix settings resetting. Hide secondary key unless selective 2023-02-12 13:47:36 +02:00
SillyLossy 8e4c872b2b Merge pull request #1 from SillyLossy/worldinfo
Worldinfo
2023-02-12 00:20:30 +02:00
SillyLossy d09e3d114c #21 Add world info editor 2023-02-12 00:01:54 +02:00
ZoltanAI 3c295cff77 Improve JSON import
Prefer TavernAI JSON format
Import all TavernAI JSON properties
Handle missing or null fields
2023-02-11 14:42:53 +00:00
SillyLossy d6763a2931 Fix style of world import button 2023-02-11 16:27:13 +02:00
SillyLossy d4e512ebe9 Prettier alignment of import button 2023-02-11 16:24:58 +02:00
SillyLossy f3bd18b79d Merge branch 'TavernAI:main' into worldinfo 2023-02-11 14:01:49 +02:00
Ash dc40b82c9a colab 2023-02-11 03:02:46 +04:00
Ash 46f4b1e735 colab 2023-02-11 02:49:56 +04:00
Ash 2dec0ffce6 colab 2023-02-11 02:31:12 +04:00
Ash abc2bce7cf colab 2023-02-11 01:56:15 +04:00
SillyLossy bea28c1845 #21 Add world info export, edit popup and deletion 2023-02-10 23:26:53 +02:00
SillyLossy 1e48220711 #21 Add basic upload of world infos. Add info Note 2023-02-10 18:12:19 +02:00
SillyLossy fc8dad5c3f Display a notice for United Kobold users 2023-02-10 13:51:07 +02:00
SillyLossy d79d4f83f9 Fix resetting world info for None option 2023-02-10 13:50:26 +02:00
SillyLossy 0c77d41fa6 Merge branch 'worldinfo' of https://github.com/SillyLossy/TavernAI into worldinfo 2023-02-10 11:14:41 +02:00
SillyLossy 26790f9b3c More tidy for PR 2023-02-10 11:14:30 +02:00
SillyLossy a76a47c541 Remove unused array 2023-02-09 23:33:23 +02:00
SillyLossy 0c423b7d08 Tidy for PR 2023-02-09 23:01:29 +02:00
SillyLossy 8baeb0c8d4 Smarted world info status 2023-02-09 22:33:34 +02:00
SillyLossy 60234d7b3f Remove dummy mistake 2023-02-09 22:18:21 +02:00
SillyLossy e90c9c5576 Change sample world description (No Touhou allowed) 2023-02-09 22:17:17 +02:00
SillyLossy 3850477814 #21 Add saving/loading of selected world info from local settings. Improve syncronization. Add status of world info (buggy rn) 2023-02-09 22:13:37 +02:00
SillyLossy c760ba54f2 #21 Adds basic support of World Info files loading and synchronization with Kobold API 2023-02-09 18:38:00 +02:00
RossAsscends a34592b397 CSS/JS/HTML edits
Grey CSS, expandable input bar, online indicator moved to under send button
2023-02-10 01:15:22 +09:00
SillyLossy 2aa9af07a9 Merge branch 'TavernAI:main' into worldinfo 2023-02-09 12:26:50 +02:00
SillyLossy 06dc120c22 Add function template for world info generation 2023-02-09 12:25:04 +02:00
SillyLossy e8c23a9cd5 Add gitignore 2023-02-09 12:24:17 +02:00
Ash 0a13b2da53 security update 2023-02-09 13:55:18 +04:00
Ash 0d54556d6d css fix 2023-02-08 22:00:28 +04:00
Borov666 1f28dc26fb Merge pull request #36 from 10sa/patch-1
Fix Invalid CSS styles and comments
2023-02-08 21:50:21 +04:00
Ash d23f6e541d fix 2023-02-08 21:49:35 +04:00
Ash b4f877e8fd fix colab 2023-02-07 16:05:30 +04:00
Ash e25f2be75f fix colab 2023-02-07 15:55:07 +04:00
Ash 1e91cfa679 fix colab 2023-02-07 15:50:56 +04:00
Ash 7a0362c5f0 fix 2023-02-07 15:47:50 +04:00
Ash 997146b4e6 fix 2023-02-05 22:31:19 +04:00
Ash aa8958adba fix 2023-02-05 20:58:28 +04:00
Ash e451bdf4d0 @1.2.7
The bug with multigen 100+ token has been fixed.
The replacement of <USER>, {{user}}, <BOT>, {{char}} in Description, First message, Personality Summary and Scenario has been added.
Added full Markdown support.
The behavior of scrolling the chat to the cursor when editing a message has been fixed.
The offline functionality of TavernAI has been fixed.
2023-02-05 18:12:18 +04:00
Tensa e859011a98 Fix invalid CSS comment
See https://www.w3schools.com/css/css_comments.asp
2023-02-05 22:13:05 +09:00
Tensa 5b6f7548e6 Fix invalid css style
disolay -> display, Apply pretty format.
2023-02-05 22:05:51 +09:00
Ash 28b2615c7a fix 2023-02-05 14:10:58 +04:00
Ash 2b4e36340e Multigen fix 2023-02-05 13:14:10 +04:00
Ash 9c569eff8a Multigen fix
Added tag replacement
2023-02-05 13:12:39 +04:00
Ash 00d731a55b fix 2023-02-02 16:11:18 +04:00
Ash 01da74e3a0 fix 2023-02-02 15:55:56 +04:00
Ash e7ecb6689f fix 2023-02-02 15:26:28 +04:00
Ash 14c471170e Colab 2023-02-02 15:12:32 +04:00
Ash efac6bbe67 Colab init 2023-02-02 11:43:38 +04:00
Ash 634add4b45 Colab text 2023-02-02 02:10:35 +04:00
Ash b535250428 Colab file fix 2023-02-02 02:02:15 +04:00
Ash d37d624b76 Colab 2023-02-02 01:50:12 +04:00
Ash ee6a50fa8c String colab fix 2023-02-02 00:55:30 +04:00
Ash de97167789 Colab fix 2023-02-02 00:46:51 +04:00
Ash e3b173703c Colab fix 2023-02-02 00:34:41 +04:00
Ash 4ae387be93 Colab fix 2023-02-02 00:19:01 +04:00
Ash 95a2c736cf Colab fix 2023-02-02 00:06:45 +04:00
Ash d80a0f1132 Merge branch 'main' of https://github.com/TavernAI/TavernAI 2023-02-01 23:55:53 +04:00
Ash f96bc01d9b Colab and any fix 2023-02-01 23:55:01 +04:00
TavernAI 19397c37ff Merge pull request #27 from Mindus1/main
[Docker] Fix
2023-01-31 20:17:53 +04:00
Mindus 50589d51da [Docker] Fix
- changed relative paths of symlinks to absolute paths.
2023-01-30 21:44:38 +01:00
Ash bd338518a0 @1.2.6
Multigeneration now takes context into account
Html tags are now displayed in the message
Fixed a bug where the chat selection was saved only after editing the character
Minor fixes
2023-01-30 20:03:50 +04:00
Mindus 52ee6eaa1d [Docker] Fix
- changed seperate vol. for characters, chats, ... to single config vol.
- settings.json is now persistent
Fixes #1
2023-01-30 13:11:41 +01:00
Ash 18732874dc Set route for compilation 2023-01-30 12:20:14 +04:00
Borov666 9642f8acf5 Merge pull request #24 from Neutrovertido/main
Fix for PayloadTooLarge error when saving a large chat filesize
2023-01-29 12:55:30 +04:00
Borov666 8cfa142b23 Merge pull request #19 from Mindus1/Mindus1/issue18
Add Dockerfile for easy hosting TavernAI-GUI on multiple platforms.
2023-01-29 11:22:14 +04:00
Neutrovertido b695107b39 Fix issue PayloadTooLarge 2023-01-28 14:53:12 -06:00
Mindus 1bf922d395 Fix
- Automatic change of windows line endings when building docker image
- Creating characters, chats, avatars folders before adding defaults
2023-01-28 13:19:02 +01:00
Ash ec607362b6 @1.2.5 2023-01-28 15:44:58 +04:00
Ash e23a0d2a93 @1.2.5 CAI Import chat fix 2023-01-28 15:42:40 +04:00
Ash 4591056e38 Pygmalion 6b Colab setting preset 2023-01-28 14:51:31 +04:00
Ash 448941af5d Pygmalion 6b Colab setting preset 2023-01-28 14:32:44 +04:00
Ash 5a6e8a8d0d character fix 2023-01-27 09:38:43 +04:00
Ash 9aafceacc6 characters fix 2023-01-26 23:53:18 +04:00
Ash 4e720aa333 @1.2.4
fix context
2023-01-26 23:22:00 +04:00
Ash 910a54725f @1.2.4
Version change
2023-01-26 22:41:38 +04:00
Ash e63968212c Example message context fix
The default size of avatars has been changed to a larger one
2023-01-26 20:40:43 +04:00
Ash e499f6bfb4 fix 2023-01-26 13:35:06 +04:00
Ash 680dada017 For auto launch 2023-01-26 13:33:50 +04:00
Ash 741f4c41f9 Merge branch 'main' of https://github.com/TavernAI/TavernAI 2023-01-26 13:26:52 +04:00
Ash f950972468 for merge 2023-01-26 13:24:00 +04:00
Borov666 1960be197b Merge pull request #20 from AuroraNemoia/main
Open automatically in browser
2023-01-26 12:30:47 +04:00
Noelle ab87fdec38 Open automatically in browser
Uses the open module to launch Tavern once it's ready in the browser.
2023-01-26 03:02:28 -05:00
Mindus a8ea6d621c Fix for Dockerfile
- Added changing permission for entrypoint script.
- Changed moving of default characters, chats and user avatars.
2023-01-25 20:58:51 +01:00
Mindus b8d7706752 Merge branch 'TavernAI:main' into Mindus1/issue18 2023-01-25 20:27:58 +01:00
Mindus 2192308e08 Add Dockerfile for easy hosting TavernAI-GUI on multiple platforms.
Implements #18
2023-01-25 20:25:10 +01:00
Ash deb55c1eef fix 2023-01-25 14:25:15 +01:00
Ash f784dbf556 fix 2023-01-25 17:17:30 +04:00
Ash 3ade2a3c90 @1.2.3
Fixed stuck messages
Fixed freezes
2023-01-25 13:52:52 +04:00
Ash 8bb41605e9 fix 2023-01-25 12:07:46 +04:00
Ash 7391878b1c @1.2.2
Fixed multiplication of spaces in Pygmalion
Fixed the loop of generation for Pygmalion
2023-01-25 03:24:38 +04:00
Ash f04961c8d3 fix 2023-01-24 23:56:27 +04:00
Ash 4e92d6a582 version fix 2023-01-24 23:28:57 +04:00
Ash 533dca5a1a fix 2023-01-24 22:00:57 +04:00
Ash e38df3bf0a fix 2023-01-24 21:46:50 +04:00
Ash b07c6f203b fix 2023-01-24 21:43:01 +04:00
Ash ec7b9b26c1 remove modules 2023-01-24 21:41:10 +04:00
Ash 790695a2e5 @1.2.1
Message send fix
2023-01-24 20:36:36 +04:00
Ash cd6244d4b7 fix send message 2023-01-24 20:23:27 +04:00
Ash 7b87227cd2 Update 1.2.0 Theme of update: Characters
1) Character files now represent images, all data about the characters is located within the image file. This makes it easy to exchange characters.

You do not need to redesign your old characters in the new format, the conversion will happen automatically, old character files will not be deleted

2) Import function for characters is available, you can also import characters in the old TavernAI .json format, and you can also import characters from the Pygmalion notebook format

3) Export function for characters is available

4) The chat structure has been completely redesigned, now chats are located in the public/chats folder, chats now represent jsonl files, messages can be read one line at a time from such a file, this will help for future optimization when there are many messages

5) A new menu for selecting saved TavernAI chats is now available

Importing TavernAI chats is now available

Importing chats from CAI is now available

6) Additional advanced settings have been added for characters. A "Scenario" field has been added, as well as a "Dialogue Examples" field

7) Full support for the Pygmalion format has been added

A indicator now appears when special formatting for Pygmalion is enabled

8) Many other minor bugs have been fixed

To update an old version to version 1.2.0, you simply need to copy files with replacement.
2023-01-24 17:30:40 +04:00
Ash 26ebf6ec64 modules 2023-01-24 17:15:57 +04:00
Ash 21898e64fb Message edit fix 2023-01-13 10:21:32 +04:00
Ash 308c780d69 @1.1.3
1) Corrected message breaks for Pygmalion models
2) Fixed NovelAI max context overflow
2023-01-12 20:25:09 +04:00
Ash a0c6f6d482 Pygmalion settings fix 2023-01-12 13:48:07 +04:00
Ash 099809c742 fix 2023-01-12 13:30:56 +04:00
Ash ba24a691f0 Pygmalion settings fix 2023-01-12 13:23:18 +04:00
Ash 5e15e685a7 fix 2023-01-11 07:56:53 +04:00
Ash e424f37da1 Pygmalion 6b fix 2023-01-11 07:33:38 +04:00
Ash f87976cc8b Pygmalion 6b fix 2023-01-11 07:16:54 +04:00
Ash 486cda3592 fix 2023-01-11 05:31:18 +04:00
Ash 7b228eead7 @1.1.1
1) Pygmalion support
2023-01-11 04:40:29 +04:00
Ash ac529307b9 Aqua and Darkness chat save fix 2023-01-10 17:35:18 +04:00
Ash 82986f7cf3 fix 2023-01-09 05:20:25 +04:00
Ash 3e7b8b796b fix 2023-01-08 17:33:09 +04:00
Ash 932ce422e3 fix 2023-01-08 17:30:26 +04:00
Ash e4fa5945a7 fix img 2023-01-08 17:28:34 +04:00
Ash 44e7e646f6 fix img 2023-01-08 17:27:17 +04:00
Ash 385539938c fix 2023-01-08 17:21:46 +04:00
Ash fbf2d5fc00 @1.1.0
1)NovelAI support
2)Changing your character name
3)Repetition Penalty has been moved to the main settings
4)Added Pro settings (Anchors Order)
5)Max Context and Amount Gen have been added to the Pro Settings
6)Editing messages
7)New backgrounds
2023-01-08 17:18:10 +04:00
Ash a9c0d50da2 fix 2023-01-08 16:56:18 +04:00
Ash d8136649c1 Update readme 2023-01-08 16:54:32 +04:00
Ash 637a60812f fix wiki 2023-01-05 03:24:22 +04:00
Ash 07401cfd21 fix 2022-12-29 14:11:31 +04:00
Ash 213a4f1aee readme and api url 2022-12-29 14:07:52 +04:00
Ash f306fd8ca5 Change presets 2022-12-27 01:30:39 +04:00
TavernAI 2d7cc1185c Update readme.md 2022-12-22 08:41:32 +04:00
TavernAI d4e1a8cda8 Update readme.md 2022-12-22 08:36:01 +04:00
TavernAI db7f0de1f3 Update readme.md 2022-12-22 08:30:57 +04:00
TavernAI cafb8eb9ce Update readme.md 2022-12-22 08:25:40 +04:00
TavernAI 564c5301ce Update readme.md 2022-12-22 08:24:58 +04:00
TavernAI 5a6b3af66d Update readme.md 2022-12-22 08:21:15 +04:00
TavernAI 1e578ba85f Update readme.md 2022-12-22 08:16:36 +04:00
Ashen One a417031af4 main 2022-12-22 07:22:29 +04:00
1002 changed files with 17849 additions and 256437 deletions
+1 -11
View File
@@ -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
-14
View File
@@ -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
-91
View File
@@ -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',
},
};
-90
View File
@@ -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/) ![important](https://img.shields.io/badge/Important!-F6094E)
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
+35
View File
@@ -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
+20
View File
@@ -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.
-2
View File
@@ -1,2 +0,0 @@
🐛 Bug: ✅ Fixed
🦄 Feature Request: ✅ Implemented
-62
View File
@@ -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.
-18
View File
@@ -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)'
-5
View File
@@ -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).
-314
View File
@@ -1,314 +0,0 @@
[English](readme.md) | [中文](readme-zh_cn.md) | 日本語 | [Русский](readme-ru_ru.md)
![SillyTavern-Banner](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
モバイルデバイスにも適したレイアウト・マルチ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
-359
View File
@@ -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
-306
View File
@@ -1,306 +0,0 @@
[English](readme.md) | 中文 | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
![image](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
移动设备界面友好,多种人工智能服务或模型支持(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
-420
View File
@@ -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
-82
View File
@@ -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'
-94
View File
@@ -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 }}
-39
View File
@@ -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.
-19
View File
@@ -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'
-32
View File
@@ -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}}
-32
View File
@@ -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
+1 -38
View File
@@ -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
View File
-13
View File
@@ -1,13 +0,0 @@
node_modules/
/uploads/
.DS_Store
/thumbnails
secrets.json
/dist
/backups/
/data
/cache
access.log
.github
.vscode
.git
-81
View File
@@ -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"]
-12
View File
@@ -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": []
}
-36
View File
@@ -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.
+16 -16
View File
@@ -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" ]
-661
View File
@@ -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/>.
-18
View File
@@ -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
-25
View File
@@ -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.
+2 -7
View File
@@ -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
-75
View File
@@ -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.
-18
View File
@@ -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
-103
View File
@@ -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
-9
View File
@@ -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.
+275 -125
View File
@@ -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"
]
}
],
+40
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
extras_url = '(disabled)'
params = []
+77
View File
@@ -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")
}
+11
View File
@@ -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
};
View File
-107
View File
@@ -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
]
}
}
}
-71
View File
@@ -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
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 581 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 517 KiB

Some files were not shown because too many files have changed in this diff Show More