-
Dear TiddlyWiki community, I'm one of the core devs of the Tribler project (the BitTorrent client with anonymity and decentralized metadata tracker). In our project, users can share torrents through the"channels" system (similar to YouTube channels). We're now exploring the idea of adding TiddlyWiki as the primary way to display Channels content. The plan is to show a TiddlyWiki page to the user through QWebView in our GUI, loading tiddlers dynamically from our decentralized peer-to-peer network. I've never worked with JS before (our lab is a Python shop 🐍 🤷 🐍 ). Also, TiddlyWiki is pretty unique in its serverless architecture. After reading TiddlyWiki documentation for a few days I came to the conclusion that I have to:
So, I have two questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
@ichorid AFAIK the pattern in TW is to serve the file with the tiddlers (content) already baked in. Exceptions are skinny tiddlers, which are missing their body until needed. However there is a sync architecture and there are users who have done work with loading content from elsewhere. Perhaps @Jermolene or @danielo515 might have some more specific insights. |
Beta Was this translation helpful? Give feedback.
-
Your best bet is to write a sync plugin. In terms of development, you will need (recommended):
|
Beta Was this translation helpful? Give feedback.
-
Hi @ichorid
That should work. As @danielo515 says, you'll need to write a module called a "syncadaptor". The "tiddlyweb" adaptor from the official plugin library might make a reasonable starting point: There's some documentation on sync adaptors here: |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the replies, guys! @danielo515 , indeed, the inability to load tiddlers dynamically is a dealbreaker 😞 I envisioned the following usage pattern: Content creation
Content display
|
Beta Was this translation helpful? Give feedback.
-
While catching PUT requests from TiddlyWeb syncer plugin (through Python FastAPI), I'm getting the following request: Now, I can't parse it because the I tried to replace the input into |
Beta Was this translation helpful? Give feedback.
Hi @ichorid
That should work. As @danielo515 says, you'll need to write a module called a "syncadaptor". The "tiddlyweb" adaptor from the official plugin library might make a reasonable startin…