mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add maxlength to adv. char def boxes
windows git install instructions added to readme
This commit is contained in:
@@ -2032,7 +2032,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<h4>Personality summary</h4>
|
<h4>Personality summary</h4>
|
||||||
<h5>A brief description of the personality <a href="/notes#personalitysummary" class="notes-link" target="_blank"><span class="note-link-span">?</span></a></h5>
|
<h5>A brief description of the personality <a href="/notes#personalitysummary" class="notes-link" target="_blank"><span class="note-link-span">?</span></a></h5>
|
||||||
<textarea id="personality_textarea" name="personality" placeholder="" form="form_create" class="text_pole" autocomplete="off" rows="2"></textarea>
|
<textarea id="personality_textarea" name="personality" placeholder="" form="form_create" class="text_pole" autocomplete="off" rows="2" maxlength="3000"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="scenario_div">
|
<div id="scenario_div">
|
||||||
@@ -2042,7 +2042,7 @@
|
|||||||
<span class="note-link-span">?</span>
|
<span class="note-link-span">?</span>
|
||||||
</a>
|
</a>
|
||||||
</h5>
|
</h5>
|
||||||
<textarea id="scenario_pole" name="scenario" class="text_pole" maxlength="9999" value="" autocomplete="off" form="form_create" rows="2"></textarea>
|
<textarea id="scenario_pole" name="scenario" class="text_pole" maxlength="3000" value="" autocomplete="off" form="form_create" rows="2"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="talkativeness_div">
|
<div id="talkativeness_div">
|
||||||
@@ -2062,7 +2062,7 @@
|
|||||||
<h4>Examples of dialogue</h4>
|
<h4>Examples of dialogue</h4>
|
||||||
<h5>Forms a personality more clearly <a href="/notes#examplesofdialogue" class="notes-link" target="_blank"><span class="note-link-span">?</span></a></h5>
|
<h5>Forms a personality more clearly <a href="/notes#examplesofdialogue" class="notes-link" target="_blank"><span class="note-link-span">?</span></a></h5>
|
||||||
</div>
|
</div>
|
||||||
<textarea id="mes_example_textarea" name="mes_example" placeholder="" form="form_create"></textarea>
|
<textarea id="mes_example_textarea" name="mes_example" placeholder="" form="form_create" maxlength="3000"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div id="character_popup_ok" class="menu_button">Save</div>
|
<div id="character_popup_ok" class="menu_button">Save</div>
|
||||||
|
|
||||||
|
74
readme.md
74
readme.md
@@ -1,18 +1,23 @@
|
|||||||
# SillyTavern
|
# SillyTavern
|
||||||
|
|
||||||
## Based on a fork of TavernAI 1.2.8
|
## Based on a fork of TavernAI 1.2.8
|
||||||
|
|
||||||
### Brought to you by Cohee, RossAscends and the SillyTavern community
|
### Brought to you by Cohee, RossAscends and the SillyTavern community
|
||||||
|
|
||||||
NOTE: We have added [a FAQ](faq.md) to answer most of your questions and help you get started.
|
NOTE: We have added [a FAQ](faq.md) to answer most of your questions and help you get started.
|
||||||
|
|
||||||
### What is SillyTavern or TavernAI?
|
### What is SillyTavern or TavernAI?
|
||||||
|
|
||||||
Tavern 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.
|
Tavern 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.
|
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.
|
||||||
|
|
||||||
### What do I need other than Tavern?
|
### What do I need other than Tavern?
|
||||||
|
|
||||||
On its own Tavern 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](faq.md).
|
On its own Tavern 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](faq.md).
|
||||||
|
|
||||||
### Do I need a powerful PC to run Tavern?
|
### Do I need a powerful PC to run Tavern?
|
||||||
|
|
||||||
Since Tavern 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.
|
Since Tavern 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.
|
||||||
|
|
||||||
## Mobile support
|
## Mobile support
|
||||||
@@ -21,13 +26,13 @@ Since Tavern is only a user interface, it has tiny hardware requirements, it wil
|
|||||||
|
|
||||||
> **This fork can be run natively on Android phones using Termux. Please refer to this guide by ArroganceComplex#2659:**
|
> **This fork can be run natively on Android phones using Termux. Please refer to this guide by ArroganceComplex#2659:**
|
||||||
|
|
||||||
https://rentry.org/STAI-Termux
|
<https://rentry.org/STAI-Termux>
|
||||||
|
|
||||||
**.webp character cards import/export is not supported in Termux. Use either JSON or PNG formats instead.**
|
**.webp character cards import/export is not supported in Termux. Use either JSON or PNG formats instead.**
|
||||||
|
|
||||||
## Questions or suggestions?
|
## Questions or suggestions?
|
||||||
|
|
||||||
### We now have a community Discord server!
|
### We now have a community Discord server
|
||||||
|
|
||||||
Get support, share favorite characters and prompts:
|
Get support, share favorite characters and prompts:
|
||||||
|
|
||||||
@@ -36,11 +41,13 @@ Get support, share favorite characters and prompts:
|
|||||||
***
|
***
|
||||||
|
|
||||||
Get in touch with the developers directly:
|
Get in touch with the developers directly:
|
||||||
|
|
||||||
* Discord: Cohee#1207 or RossAscends#1779
|
* Discord: Cohee#1207 or RossAscends#1779
|
||||||
* Reddit: /u/RossAscends or /u/sillylossy
|
* Reddit: /u/RossAscends or /u/sillylossy
|
||||||
* [Post a GitHub issue](https://github.com/Cohee1207/SillyTavern/issues)
|
* [Post a GitHub issue](https://github.com/Cohee1207/SillyTavern/issues)
|
||||||
|
|
||||||
## This version includes
|
## This version includes
|
||||||
|
|
||||||
* A heavily modified TavernAI 1.2.8 (more than 50% of code rewritten or optimized)
|
* A heavily modified TavernAI 1.2.8 (more than 50% of code rewritten or optimized)
|
||||||
* Swipes
|
* Swipes
|
||||||
* Group chats: multi-bot rooms for characters to talk to you or each other
|
* Group chats: multi-bot rooms for characters to talk to you or each other
|
||||||
@@ -54,12 +61,13 @@ Get in touch with the developers directly:
|
|||||||
* Prompt generation formatting tweaking
|
* Prompt generation formatting tweaking
|
||||||
* webp character card interoperability (PNG is still an internal format)
|
* webp character card interoperability (PNG is still an internal format)
|
||||||
* Extensibility support via [SillyLossy's TAI-extras](https://github.com/Cohee1207/TavernAI-extras) plugins
|
* Extensibility support via [SillyLossy's TAI-extras](https://github.com/Cohee1207/TavernAI-extras) plugins
|
||||||
* Author's Note / Character Bias
|
* Author's Note / Character Bias
|
||||||
* Character emotional expressions
|
* Character emotional expressions
|
||||||
* Auto-Summary of the chat history
|
* Auto-Summary of the chat history
|
||||||
* Sending images to chat, and the AI interpreting the content.
|
* Sending images to chat, and the AI interpreting the content.
|
||||||
|
|
||||||
## UI Extensions 🚀
|
## UI Extensions 🚀
|
||||||
|
|
||||||
| Name | Description | Required <a href="https://github.com/Cohee1207/TavernAI-extras#modules" target="_blank">Extra Modules</a> | Screenshot |
|
| Name | Description | Required <a href="https://github.com/Cohee1207/TavernAI-extras#modules" target="_blank">Extra Modules</a> | Screenshot |
|
||||||
| ---------------- | ---------------------------------| ---------------------------- | ---------- |
|
| ---------------- | ---------------------------------| ---------------------------- | ---------- |
|
||||||
| Image Captioning | Send a cute picture to your bot!<br><br>Picture select option will appear beside the "Message send" button. | `caption` | <img src="https://user-images.githubusercontent.com/18619528/224161576-ddfc51cd-995e-44ec-bf2d-d2477d603f0c.png" style="max-width:200px" /> |
|
| Image Captioning | Send a cute picture to your bot!<br><br>Picture select option will appear beside the "Message send" button. | `caption` | <img src="https://user-images.githubusercontent.com/18619528/224161576-ddfc51cd-995e-44ec-bf2d-d2477d603f0c.png" style="max-width:200px" /> |
|
||||||
@@ -97,12 +105,12 @@ Get in touch with the developers directly:
|
|||||||
* Nav panel status of open or closed will also be saved across sessions.
|
* Nav panel status of open or closed will also be saved across sessions.
|
||||||
|
|
||||||
* Customizable chat UI:
|
* Customizable chat UI:
|
||||||
* Play a sound when a new message arrives
|
* Play a sound when a new message arrives
|
||||||
* Switch between round or rectangle avatar styles
|
* Switch between round or rectangle avatar styles
|
||||||
* Have a wider chat window on the desktop
|
* Have a wider chat window on the desktop
|
||||||
* Optional semi-transparent glass-like panels
|
* Optional semi-transparent glass-like panels
|
||||||
* Customizable page colors for 'main text', 'quoted text' 'italics text'.
|
* Customizable page colors for 'main text', 'quoted text' 'italics text'.
|
||||||
* Customizable UI background color and blur amount
|
* Customizable UI background color and blur amount
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -115,6 +123,25 @@ Get in touch with the developers directly:
|
|||||||
> DO NOT RUN START.BAT WITH ADMIN PERMISSIONS
|
> DO NOT RUN START.BAT WITH ADMIN PERMISSIONS
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
|
Installing via Git (reccomended for easy updating)
|
||||||
|
|
||||||
|
Easy to follow guide with pretty pictures:
|
||||||
|
<https://docs.alpindale.dev/pygmalion-extras/sillytavern/#windows-installation>
|
||||||
|
|
||||||
|
1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
||||||
|
3. Install [GitHub Desktop](https://central.github.com/deployments/desktop/desktop/latest/win32)
|
||||||
|
4. Open Windows Explorer (Win+E)
|
||||||
|
5. Browse to or Create a folder that is not controlled or monitored by Windows. (ex: C:\MySpecialFolder\)
|
||||||
|
6. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing 'cmd', and pressing Enter.
|
||||||
|
7. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter:
|
||||||
|
- for Main Branch: git clone <https://github.com/Cohee1207/SillyTavern> -b main
|
||||||
|
- for Dev Branch: git clone <https://github.com/Cohee1207/SillyTavern> -b dev
|
||||||
|
8. Once everything is cloned, double click Start.bat to make NodeJS install its requirements.
|
||||||
|
9. The server will then start, and SillyTavern will popup in your browser.
|
||||||
|
|
||||||
|
Installing via zip download
|
||||||
|
|
||||||
1. install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
1. install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
||||||
2. download the zip from this GitHub repo
|
2. download the zip from this GitHub repo
|
||||||
3. unzip it into a folder of your choice
|
3. unzip it into a folder of your choice
|
||||||
@@ -122,6 +149,7 @@ Get in touch with the developers directly:
|
|||||||
5. Once the server has prepared everything for you, it will open a tab in your browser.
|
5. Once the server has prepared everything for you, it will open a tab in your browser.
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
1. Run the `start.sh` script.
|
1. Run the `start.sh` script.
|
||||||
2. Enjoy.
|
2. Enjoy.
|
||||||
|
|
||||||
@@ -144,10 +172,13 @@ If you want to enable other devices to connect to your TAI server, open 'config.
|
|||||||
```
|
```
|
||||||
const whitelistMode = true;
|
const whitelistMode = true;
|
||||||
```
|
```
|
||||||
|
|
||||||
to
|
to
|
||||||
|
|
||||||
```
|
```
|
||||||
const whitelistMode = false;
|
const whitelistMode = false;
|
||||||
```
|
```
|
||||||
|
|
||||||
Save the file.
|
Save the file.
|
||||||
Restart your TAI server.
|
Restart your TAI server.
|
||||||
|
|
||||||
@@ -167,12 +198,14 @@ The `whitelist` array in `config.conf` will be ignored if `whitelist.txt` exists
|
|||||||
***Disclaimer: Anyone else who knows your IP address and TAI port number will be able to connect as well***
|
***Disclaimer: Anyone else who knows your IP address and TAI port number will be able to connect as well***
|
||||||
|
|
||||||
To connect over wifi you'll need your PC's local wifi IP address
|
To connect over wifi you'll need your PC's local wifi IP address
|
||||||
- (For Windows: windows button > type 'cmd.exe' in the search bar> type 'ipconfig' in the console, hit Enter > "IPv4" listing)
|
|
||||||
|
* (For Windows: windows button > type 'cmd.exe' in the search bar> type 'ipconfig' in the console, hit Enter > "IPv4" listing)
|
||||||
if you want other people on the internet to connect, check [here](https://whatismyipaddress.com/) for 'IPv4'
|
if you want other people on the internet to connect, check [here](https://whatismyipaddress.com/) for 'IPv4'
|
||||||
|
|
||||||
### Still Unable To Connect?
|
### Still Unable To Connect?
|
||||||
|
|
||||||
- Create an inbound/outbound firewall rule for the port found in `config.conf`. Do NOT mistake this for portforwarding on your router, otherwise someone could find your chat logs and that's a big no-no.
|
- Create an inbound/outbound firewall rule for the port found in `config.conf`. Do NOT mistake this for portforwarding 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.
|
* 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?
|
## Performance issues?
|
||||||
|
|
||||||
@@ -198,9 +231,10 @@ We're moving to 100% original content only policy, so old background images have
|
|||||||
|
|
||||||
You can find them archived here:
|
You can find them archived here:
|
||||||
|
|
||||||
https://files.catbox.moe/1xevnc.zip
|
<https://files.catbox.moe/1xevnc.zip>
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
<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/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">
|
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/228649856-fbdeef05-d727-4d5a-be80-266cbbc6b811.png">
|
||||||
|
|
||||||
@@ -215,13 +249,13 @@ GNU Affero General Public License for more details.**
|
|||||||
* Cohee's modifications and derived code: AGPL v3
|
* Cohee's modifications and derived code: AGPL v3
|
||||||
* RossAscends' additions: AGPL v3
|
* RossAscends' additions: AGPL v3
|
||||||
* Portions of CncAnon's TavernAITurbo mod: Unknown license
|
* Portions of CncAnon's TavernAITurbo mod: Unknown license
|
||||||
* Waifu mode inspired by the work of PepperTaco (https://github.com/peppertaco/Tavern/)
|
* 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 Pygmalion University for being awesome testers and suggesting cool features!
|
||||||
* Thanks oobabooga for compiling presets for TextGen
|
* Thanks oobabooga for compiling presets for TextGen
|
||||||
* poe-api client adapted from https://github.com/ading2210/poe-api (GPL v3)
|
* poe-api client adapted from <https://github.com/ading2210/poe-api> (GPL v3)
|
||||||
* GraphQL files for poe: https://github.com/muharamdani/poe (ISC License)
|
* GraphQL files for poe: <https://github.com/muharamdani/poe> (ISC License)
|
||||||
* KoboldAI Presets from KAI Lite: https://lite.koboldai.net/
|
* KoboldAI Presets from KAI Lite: <https://lite.koboldai.net/>
|
||||||
* Noto Sans font by Google (OFL license)
|
* 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)
|
* Icon theme by Font Awesome <https://fontawesome.com> (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
* Linux startup script by AlpinDale
|
* Linux startup script by AlpinDale
|
||||||
* Thanks paniphons for providing a FAQ document
|
* Thanks paniphons for providing a FAQ document
|
||||||
|
Reference in New Issue
Block a user