diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ecc2fbf..9c279c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,8 @@ pages: cp ./index.js ./index.html ./node_modules/SpaccDotWeb/SpaccDotWeb.Server.js ../../public/${App}/ cd ../.. done + cd ./public + node ../WriteRedirectPages.js artifacts: paths: - public diff --git a/WriteRedirectPages.js b/WriteRedirectPages.js new file mode 100644 index 0000000..ab4e46a --- /dev/null +++ b/WriteRedirectPages.js @@ -0,0 +1,21 @@ +const fs = require('fs'); +for (const page of [ + { path: "a/fb", target: "'../../FramesBrowser/'+location.hash" }, // Apps/FramesBrowser + { path: "s/dh", target: "'../../FramesBrowser/#_1|f=1|h='+location.hash" }, // Services/DataHTML +]) { + const dirPath = `./${page.path}`; + if (!fs.existsSync(dirPath)){ + fs.mkdirSync(dirPath, { recursive: true }); + } + fs.writeFileSync(`${dirPath}/index.html`, ` + + + +

Redirecting...

+ + +`); +} diff --git a/public/FramesBrowser/index.html b/public/FramesBrowser/index.html index d5db015..8d6b29a 100644 --- a/public/FramesBrowser/index.html +++ b/public/FramesBrowser/index.html @@ -2,10 +2,13 @@ @@ -74,6 +77,7 @@ position: relative; margin-left: auto; margin-right: auto; + padding: 8px; width: fit-content; max-height: 80vh; overflow: auto; @@ -122,18 +126,23 @@

Usage and Help

This app exists because I needed an efficient interface for visualizing specific websites, HTML data in general, - and allow for even novice users to handle data shared this way. + especially via copypaste of data URIs, and allow for even novice users to handle data shared this way.
Being itself a webapp, unfortunately it isn't a replacement for any web browser, but that isn't its goal. - This is instead made to be as cross-platform, lightweight, flexible and immediate to use as possible. + This is instead made to be a tool as cross-platform, lightweight, flexible and immediate to use as possible for my scope. A webpage working with iFrames, that can even function offline, has revealed itself to be the best possible option.
- In the past I planned to introduce some fancy features like split tabs, but for now I don't yet know... stay tuned!! + In the past I planned to introduce some fancy features like split tabs, + but for now I don't really know yet... stay tuned!! +
+ You can read the changelog below, or + follow occasional project updates and stories on my development blog.

Some tips:

Changelog

2024-03-19

2024-03-18