1.0 KiB
1.0 KiB
Space mounting in MOUNTS
- path: file:/Users/zef/git/blog
prefix: blog/
perm: ro,rw #default rw
- path: http://someIP:3000
prefix: prod/
Features
- Auto translates internal wiki links (prefixes with prefix) and removes prefix upon save
To do:
-
Handle queries
pageandlinkquery needs to dynamically add/remove aand name =~ /^🚪 PREFIX/clause)tasksame but withpagecheck
-
Add
file:support -
Add
http:/https:support -
Due to namespacing, the mounted space needs to be namespaced somehow
-
Could be an emoji, could be a page prefix (now using
name) -
On the fly link rewriting on read and write with prefix
-
Will require an actual set of
fssyscalls:- readFile(path)
- writeFile(path, text)
- listFiles(path) with stat-like results (at least enough for
PageMetaresponses)
-
If this exists, should not all disk file access work through plugs as well and have that abstraction happen at this level?
protocols:
- file:
- http/https with “password” field for authentication