pithos/core
Local Dev 2d9b0a7a5e Pithos: open HTML files as a page, or read them as text
An .html file in a drive could only be read as source. It can now also be
opened as a web page in a new tab (Theseus tab, browser tab, or the system
browser from the desktop app), with the CSS, images, scripts and pages
beside it loading as they would from a website.

The page is served under a sandbox CSP without allow-same-origin, so its
scripts run in an opaque origin: they cannot read the Pithos session or
reach its API, only the files of the folder the page link covers. Links
are random, last an hour from last use (12 hours at most), and refuse
paths that leave the folder. Pages decrypt on the fly for drives hosted
on Silent Mode.
2026-10-04 03:49:23 +02:00
..
accounts.js Pithos hosting: fixes from an independent review 2026-10-04 03:15:42 +02:00
admin.js Pithos: a control panel for s3d, the Sia S3 gateway 2026-10-03 19:02:50 +02:00
autoflush.js Pithos 0.3.7: optional automatic upload of leftovers 2026-10-04 01:04:23 +02:00
binary.js Pithos: a control panel for s3d, the Sia S3 gateway 2026-10-03 19:02:50 +02:00
blake2b.js Pithos hosting: fixes from an independent review 2026-10-04 03:15:42 +02:00
cli.js Pithos: a control panel for s3d, the Sia S3 gateway 2026-10-03 19:02:50 +02:00
config.js Pithos: a control panel for s3d, the Sia S3 gateway 2026-10-03 19:02:50 +02:00
crypt.js Pithos: client-side encryption for hosted drives 2026-10-04 01:20:05 +02:00
daemon.js Pithos: a control panel for s3d, the Sia S3 gateway 2026-10-03 19:02:50 +02:00
hosted-routes.js Merge master: Pithos 0.3.10 (pithos.sia/<user>/… paths) 2026-10-04 03:32:04 +02:00
hosted.js Pithos: open HTML files as a page, or read them as text 2026-10-04 03:49:23 +02:00
login.js Pithos 0.3.4: show the Sia account, label it, switch and restore accounts 2026-10-03 22:57:46 +02:00
paths.js Pithos: a control panel for s3d, the Sia S3 gateway 2026-10-03 19:02:50 +02:00
prefs.js Pithos 0.3.5: s3d stays up, one view at a time, user buckets, a viewer 2026-10-04 00:05:49 +02:00
pty.js Pithos: guided "Get started" setup that opens the approval page itself 2026-10-03 20:23:42 +02:00
s3.js Pithos: run your drives on Silent Mode with your own Sia account 2026-10-04 01:33:20 +02:00
server.js Pithos: open HTML files as a page, or read them as text 2026-10-04 03:49:23 +02:00
sia-account.js Pithos hosting: fixes from an independent review 2026-10-04 03:15:42 +02:00