On Wednesday, June 9, 2021 at 2:16:13 AM UTC+2 Tully Hansen wrote:
> Hi all, and thanks Soren for so generously sharing your script and
> workflow here! I've got it mostly up and running on my Mac (macOS 10.14.6,
> Homebrew something-or-other), but not without running into a few issues -
> thought I'd note theme here for posterity (and anyone else who tries to get
> this up and running):
>
>
> 1. After decompiling the flat file to Node version (tiddlywiki --load
> path/to/single/file.html --savewikifolder path/to/output/folder), I
> was getting an error message when starting the TiddlyWiki server locally
> with tiddlywiki --listen that read Warning: Plugins required for
> client-server operation ("tiddlywiki/filesystem" and
> "tiddlywiki/tiddlyweb") are missing from tiddlywiki.info file. Adding
> these lines to the plugins listed in *tiddlywiki.info
> <http://tiddlywiki.info> *seemed to do the trick, though I've no idea
> what that did/does.
>
> If you convert a single-file wiki into a nodejs-wiki, the 2 plugins are
missing, since the former doesn't need them. ..
If you --init a node-js server with the command tiddlywiki ./test --init
server, the 2 plugins are added. The tiddlywiki/highlight plugin is also
added, but not needed by the system. So you can safely remove it, if you
don't need it.
> 1. should be 4) Finally, I was getting some errors auth'ing
> git/Github, which I was being prompted to do on the command line – this
> was
> because of having 2FA enabled, which meant creating a personal access
> token
>
> <https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token>
>
> rather than using my password. I just gave it every scope, probably
> overkill…
>
> That's definitely overkill. .. I didin't read the rest of the thread, so I
don't know what is pushed, but I'm pretty sure you only need "*public_repo
Access public repositories*". All the *other *elements can be *unchecked*.
I assume you did follow:
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
It's the 4th element from the top as shown in the animated gif from the
link.
The token should have the least rights as possible, because who every has
it can basically do what they want. ... *In your name*. And that's a big
problem ... At least it would be for me ;)
-mario
--
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/83d9a5a3-853a-4832-a717-cb558722f596n%40googlegroups.com.