General TC > Programming & Scripting - Unofficial
tiny core docuwiki offline? aka local documentation for offline use 2.0
mocore:
--- Quote from: nick65go on March 20, 2023, 10:10:36 AM ---Sorry. I think I got it, it is NOT only pure-text, as I saw other file types inside;
--- End quote ---
very much not only
..
wiki_backup_20190610.txz / attic 20mb
wiki_backup_20190610.txz / media 30mb
not shore if this reflects the evolution of docuwiki + config settings or of backup scripts or both
though it dose add the exciting possibility of creating some kind of wiki history diff function !! ;D
--- Quote from: nick65go on March 20, 2023, 10:10:36 AM ---EDIT: wow. I got even a full functional "microcore.tar.gz" of 6 MB.
\wiki_backup_20190610.txz\wiki_backup_20190610.tar\wiki.tinycorelinux.net\data\media\wiki\user\
--- End quote ---
interesting!
..after an attempt at replacing internal link text with *something else*
--- Code: ---# tar -O -xf ./wiki_backup_20190610.txz wiki.tinycorelinux.net/data/pages/welcome.txt | \
awk -F"\\\[\\\[" '{if(NF == 2 && index($0,"://") == 0){ split($2,l,"|") ;print $1"[[http://localhost/wiki.cgi?url="l[1]"#|"l[2]}else{print} }'
--- End code ---
currently mulling the possibilitys of lynx-cgi , or `real` httpd , shell2http perhaps or awk + netcat/nc
or some kind of repl like navigation , perhaps taking some inspiration from usr/bin/tce ???
Navigation
[0] Message Index
[*] Previous page
Go to full version