Hi Panos, On Tuesday, December 31, 2019 at 10:28:20 PM UTC+3:30, Panos Firbas wrote: > > Hey Mohammad, > > > Is it possible on server start launch a wiki to act as the landing page > and from there I could click any wiki I like to open > > If you have a wiki named "index.html" in the served folder, the python > server will automatically launch that instead of the directory view. > The downside is that as far as I know, you cannot then revert to the > directory view so you will have to manually go to any other wiki. > > You would then have to maintain links to your other wikis in your main > wiki. I'll add a note of this in the repo. > > > How serve folders located on different drive for example C:/TW, > D:/myNotes, ... >
> > Hmmmm, I could change the served folder to be a parameter in the > configuration file instead of defaulting to ./served, this way the server > could easily serve any single folder. > I'd have to also make sure that git is initialized in gitless folders but > that shouldn't be too hard. > > Serving multiple folders sounds a bit more challenging... I could symlink > a bunch of folders into one, but then I'm not sure how to handle the git > issue. > > With regards to windows support, I personally don't have a windows machine > so I can't do too much trial and error. I'd be happy to package this once > it's a bit more stable, > but I think for now copy pasting the files and folder structure should be > easier for everyone. (git is available on windows right? They would also > need that for my version) > > Okay, I understood! lets keep it simple so I will put all my wikis in .served folder There is no git pre-installed on Windows, but it can be easily installed, I will help later if you want to add a windows installation to repo! Python is seamlessly installed no hassle! It is up to users, but Windows store may be the first choice! I personally prefer python.org distributions > > ps. > You got my name right the first time, it's Panos :P > Sorry for that, I was writting from cell phone! > > > > On Tuesday, December 31, 2019 at 6:23:10 PM UTC, Mohammad wrote: >> >> Hi Panos, >> This is absolutely a great improvement! I have some minor comments: >> >> 1. Is it possible on server start launch a wiki to act as the landing >> page and from there I could click any wiki I like to open >> 2. How serve folders located on different drive for example C:/TW, >> D:/myNotes, ... >> >> Please keep going on! >> >> --Mohammad >> >> On Tuesday, December 31, 2019 at 7:55:43 PM UTC+3:30, Panos Firbas wrote: >>> >>> Hello all, >>> >>> Since I keep updating this, I started a little repo: >>> https://gitlab.com/panosfirbas/tiddlyp/tree/master >>> >>> I changed the backup method to git: every time PUT is called, python >>> makes a system call to git to add and commit the new file. >>> It's super basic but it works. I think this won't balloon too much, >>> we'll see. >>> >>> I also implemented a very basic and unsafe user authentication (trigger >>> warning: it stores the key in plain text). >>> >>> Finally, I put all the script options in a config file to make things a >>> bit cleaner. >>> >>> Please feel free to fork clone etc. etc. >>> >>> This is fun! >>> >>> ps. >>> @DonaldCoates : Yep, I like learning and I like avoiding nodejs (call me >>> weird but I think js should stay in the frontend) :) >>> >>> >>> >>> On Tuesday, December 31, 2019 at 1:49:02 PM UTC, Donald Coates wrote: >>>> >>>> I tried to push node several times on Reddit he's not biting. :D >>>> Panos you could just use the authorization of apache/nginx . But just to >>>> push node one more time it does have authorization baked in as well as the >>>> ability to show a read only version and use ssl certs. >>>> >>>> I do understand the desire to make something work however. That's why >>>> we're here after all! >>>> >>>> On Tuesday, December 31, 2019 at 7:38:12 AM UTC-5, UBi wrote: >>>>> >>>>> Hi Panos, >>>>> >>>>> your use case is definitely more network centric than mine. Maybe you >>>>> should consider the Node.js flavour of TiddlyWiki, and set up a >>>>> https://tiddlywiki.com/static/WebServer.html? The biggest >>>>> disadvantage, from my point of view: it's not Python :-) >>>>> >>>> -- 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/0a08d413-5345-4c26-bf9a-6e669ef7fb30%40googlegroups.com.

