Adding https/file support for mounts

This commit is contained in:
Zef Hemel
2022-07-06 17:48:43 +02:00
parent fcf712ccc7
commit cce5be43e1
3 changed files with 151 additions and 38 deletions
+5 -1
View File
@@ -2,8 +2,10 @@ Space mounting in `MOUNTS`
```yaml
- path: file:/Users/zef/git/blog
prefix: 📖
prefix: blog/
perm: ro,rw #default rw
- path: http://someIP:3000
prefix: prod/
```
Features
@@ -13,6 +15,8 @@ To do:
* [ ] Handle queries
* `page` and `link` query needs to dynamically add/remove a `and name =~ /^🚪 PREFIX/` clause)
* `task` same but with `page` check
* [x] Add `file:` support
* [x] 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`)
+3
View File
@@ -26,6 +26,9 @@ I know, right?
[[🔨 Development]]
[[🗺 Roadmap]]
## Proposals
[[Mounts]]
## Installing and running Silver Bullet
To run a release version, you need to have a recent version of npm (8+) and node.js (16+) installed as well as some basic build infrastructure (make, cpp). Silver Bullet has only been tested on MacOS and Linux thus far.