Hello,

The splitweb plugin is a custom sync adapter which allows the designer to
create a read-only versions of the wiki and host them on any generic web
server (for example github pages).
The web server doesn't need to have any backend language. The plugin works
by employing a lazy  loading mechanism available in tiddlywiki.

In a nutshell the directory structure on the web server is the same as in
nodejs based installation with one exception. There is a tiddlers.json file
at the root of the directory. The file contains all information about the
tiddler except its text. The file is using the following format (see here
https://iilyak.github.io/tiddlywiki-splitweb/tiddlers.json):
```
[
    {
        "title": "bar",
        "created": "20191128223719980",
        "modified": "20191128223730628",
        "tags": [
            "css",
            "example"
        ],
        "type": "text/vnd.tiddlywiki",
        "fields": {
            "author": "@iilyak"
        },
        "filepath": "tiddlers/bar.tid"
    },
    {
        "title": "foo",
        "created": "20191128223719980",
        "modified": "20191128223730628",
        "tags": [
            "www",
            "example"
        ],
        "type": "text/vnd.tiddlywiki",
        "fields": {
            "date": "2019-12-17"
        },
        "filepath": "tiddlers/foo.tid"
    }
]
```

The source code of the plugin is available here
https://github.com/iilyak/tiddlywiki-splitweb
The demo is located on github pages based hosting here
https://iilyak.github.io/tiddlywiki-splitweb/

This is my first finished plugin for tiddlywiki. One of the goals for this
plugin was to test the plugin translation mechanism. So far documentation
and UI of the plugin available in two languages English and Russian. The
language can be changed using a corresponding button on the demo page.

WARNING: This is Alpha version and should be used carefully.

# ROADMAP

- testing
- more documentation
- more translations
- configurable split filter

Best regards,
iilyak

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAP2DrbRmd70m5LydQHVG9%3DMz70JfmbutS%2BQXU-panCMi6CEuvw%40mail.gmail.com.

Reply via email to