What is anythingllm?
AnythingLLM is the easiest to use, all-in-one AI application that can do RAG, AI Agents, and much more with no code or infrastructure headaches.
tw-anythingllm
is TiddlyWiki interface for chatting for Anything LLM using API.
Tutorials
The tw-anythingllm Tutorial is the starting point to learn more about plugin features, help, demo and examples. See below for online pages.
Code and demo
History
Release 0.0.1
- 2nd August, 2024
- [NEW] First beta release
For all changes see ChangeLog
Install
From the below two categories of installing anythingllm plugin, select any suitable method you like.
It is highly recommended to backup your data before trying any new plugin! Do it before installing tw-anythingllm.
A. Installing plugin for Tiddlywiki single html file
Tiddlywiki as a single html file (like emtpy.html) is the most common form of Tiddlywiki in use. To install the plugin on a single html file, follow any of the below procedures.
- I. Drag and drop
The simplest method, also called standalone configuration, is the drag and drop method.
- Open your Tiddlywiki in a browser
- Drag and drop $:/plugins/bangyou/tw-anythingllm into your wiki
- Save and reload your wiki
B. Installing plugin for Tiddlywiki on Node.js
III. Tiddlywiki + Node.js
There are two methods in which custom plugins that are not part of official Tiddlywiki's plugin library can be installed when using Tiddlywiki under Node.js (also called client-server configuration).
- local installation in only a specific wiki
- global installation on the server, so every wiki running on Node.js has access to the plugin
III.A Local installation
For local installation under Node.js
i. download the tw-anythingllm source folder from GitHub
ii. put the tw-anythingllm source folder directly into localplugins
folder under your wiki folder,
iii. if you have not theplugins
folder, create it under your own wiki folder.
iv. if server is runing, stop it and restart again
v. finished, it is now available in your wiki!For details on how download a plugin from GitHub, see Downloading Plugin from GitHub
III.B Global installation
For global installation under Node.js
i. download the tw-anythingllm source folder from GitHub
ii. put the tw-anythingllm source folder intobangyou
folder (publisher folder) under your serverplugins
folder
iii. if you have not thebangyou
folder (publisher folder), create it under your serverplugins
folder
vi. finished installing for server!Extra step for global installation (III.B)
After installing the a plugin globally in your Node.js server (the client-server configuration), to use it in any specific wiki, add it to the
tiddlywiki.info
file of that wiki:
- Open the specific wiki folder of choice
- Edit the
tiddlywiki.info
file (it is in JSON format) and locate the plugins section (see below)- Add entries corresponding to the plugins you wish to use. Here add tw-anythingllm.
- Take care to retain commas to separate items, but do not terminate the last item in a list with a comma
{ "plugins": [ "tiddlywiki/codemirror", "bangyou/tw-anythingllm" ], ... }- if server is runing, stop it and restart again
Detailed procedure can be found in More on Client-Server Installation
Code
\import [[Plugin Data]]
\define output(p)
<$wikify text=<<__p__>> name=result mode=block output="html">
<<result>>
</$wikify>
\end
{{Plugin Status}}
<span style="float:right;width:72px">{{$:/favicon.ico}}</span>
!! What is <<plugindisplayName>>?
<<<
<$macrocall $name=find text={{{ [<pluginReadme>get[text]] }}} begin="
" end=";" mode="first" output="output"/>
<<<
!! Tutorials
>The [[tw-anythingllm Tutorial]] is the starting point to learn more about plugin features, help, demo and examples. See below for online pages.
!! Code and demo
* Demo: <<plugindemoUrl>>
* Code: <<plugincodeUrl>>
<$list filter="[tag[doc]tag[info]has[text]!has[draft.of]]">
<h2>{{!!title}}</h2>
<blockquote><$transclude tiddler=<<currentTiddler>> mode=block/></blockquote>
</$list>