@atronoush
Make sure the TiddlyWiki.files file is in the Tiddler directory or a
subdirectory of it.
If you still can't get it to work let me know and I'll post my file and
directory structure
On Tuesday, October 6, 2020 at 2:11:10 PM UTC+2 Atronoush wrote:
> Hi Saq,
> This is very interesting! Would you please provide a short example! I
> created a folder called files with two files one.txt, two.txt with the
> below tiddlywiki.files
>
> {
> "tiddlers": [
> {
> "file": "one.txt",
> "isTiddlerFile": true,
> "fields": {
> "type": "text/plain",
> "title": "one.txt",
> "tags": "xx yy zz"
> },
> },
> {
> "file": "two.txt",
> "isTiddlerFile": true,
> "fields": {
> "type": "text/plain",
> "title": "two.txt",
> "tags": "xx"
> }
> }
> ]
> }
>
>
> but after starting the wiki using tiddlywiki --server nothing is loaded
> into my tiddlywiki.
>
>
>
>
> On Tue, Oct 6, 2020 at 10:40 AM Saq Imtiaz <[email protected]> wrote:
>
>> Hi Bimlas,
>>
>> I am unfamiliar with Boostnote etc, however I do use TiddlyWiki as a tool
>> to work with plain text files for similar reasons.
>>
>> I load a folder of plain text files using a tiddlywiki.files file. This
>> allows me to load them without the need for inline metadata or an external
>> .meta file.
>> https://tiddlywiki.com/#tiddlywiki.files%20Files
>>
>> I then have a path defined in $:/config/FileSystemPaths to save these
>> tiddlers back to their original location on editing.
>> https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming
>>
>> Note however that TiddlyWiki does not allow you to save back to the
>> original location for files loaded via tiddlywiki.files so this requires a
>> patch. I have been using such a patch for over 3 years now with no issues.
>>
>> Some details here: https://github.com/Jermolene/TiddlyWiki5/issues/2906
>> The patch in that issue is out of date, if you need an up to date patch I
>> can provide one for you. In fact I should probably make a PR with the
>> updated patch as I think it addresses some of the concerns raised in that
>> ticket.
>>
>> When you now edit a tiddler that has been loaded via tiddlywiki.files, it
>> saves back to the original location plus a .meta file is created for that
>> tiddler. If all your data is in the body of the tiddler, then you can
>> simply ignore these .meta files.
>>
>> Lastly, when creating a new tiddler, to make sure it is saved as .txt
>> make sure to use type text/plain. After creation the type can be changed
>> and the tiddler will still be saved as .txt. Note that this is actually
>> somewhat of a bug but effort is being made to address it while still
>> allowing the user to determine what format a tiddler should be saved in.
>> For details see https://github.com/Jermolene/TiddlyWiki5/pull/4630
>>
>> Hope this helps,
>> Saq
>>
>> On Tuesday, October 6, 2020 at 8:40:02 AM UTC+2, bimlas wrote:
>>>
>>> Lately, I’ve been unsure if I really want to use TiddlyWiki, because no
>>> matter how universal single HTML is, it’s still just a big file and it
>>> depends on the browser. Since plain text is the most timeless format
>>> possible (even a text file written in 1963 can still be viewed and edited
>>> today), I thought I would migrate to plain text files. Once I realized how
>>> I could convert the tiddlers extracted from HTML to the right format for
>>> me, I started looking for a text editor that included both preview and full
>>> text search. To my great surprise, the latter is supported by very few
>>> programs, so I can only solve it with my own Grep script. After sleepless
>>> nights and short circuits of thought, I came to realize that TiddlyWiki can
>>> handle separate files. Even if the Node.js TiddlyWiki itself ever ceases to
>>> exist, the notes will still be usable because they are just text files, and
>>> if I systematically name the tiddlers, the links between them will still be
>>> searchable with a simple, software-independent text search, so they remain
>>> usable.
>>>
>>> The question is, how can TiddlyWiki be used as a simple text editor? I
>>> would like to emulate the operation of Boostnote / Joplin / Typora / ...
>>>
>>> For example, if I install Ansel's Markdown
>>> <https://demo.santosa.family#tw5-markdown> plugin and then copy the
>>> Markdown files to the tiddlers directory, how can I edit them without
>>> adding extra metadata? If I edit ".md" files in Tiddly, then it writes them
>>> back to the drive in JSON format. If I change ".md" to ".tid" extension and
>>> write "type: x-markdown" at the beginning of the file, it will rewrite the
>>> file in its original form after editing, but add e.g. the "title" field
>>> with the current path to the file, which I don't want.
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/a3e559a8-0c81-4540-a2da-b22c283b7845o%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/a3e559a8-0c81-4540-a2da-b22c283b7845o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/41394e2b-6ed3-4793-968f-c2378d997501n%40googlegroups.com.