VictorBjelkholm (lasoa)@FlzOOyrhTG+Cl6YND5tReJtd2ufUj3++F0ZsfcPalRc=.ed25519
@cel wrote about how to ideally (currently at least) to do auth, here: %rqqSc7y...
So, seems clojure code is support (.clj [but also has extension .cljc in some cases]), but is missing .edn and .cljs
- clojure file - http://localhost:7718/%25xv4vfntoOVPpYwA3w2mV6T2mdYRrli7cAI21YGL28kA%3D.sha256/blob/74e6a9efcd58175b0b939fbc958cf2f8a77597ba/src/metabutt/macros.clj
- clojurescript file - http://localhost:7718/%25xv4vfntoOVPpYwA3w2mV6T2mdYRrli7cAI21YGL28kA%3D.sha256/blob/74e6a9efcd58175b0b939fbc958cf2f8a77597ba/src/metabutt/core.cljs
- edn file - http://localhost:7718/%25xv4vfntoOVPpYwA3w2mV6T2mdYRrli7cAI21YGL28kA%3D.sha256/blob/74e6a9efcd58175b0b939fbc958cf2f8a77597ba/dev.cljs.edn
If we can set .cljc, .cljs, .edn to all finally resolve to .clj, everything would work.
Seems like http://localhost:7718/%25q5d5Du%2B9WkaSdjc8aJPZm%2BjMrqgo0tmfR%2BRcX5ZZ6H4%3D.sha256/blob/e095c75a1ef7824b16689d3ef626435a90ca42ca/lib/util.js#L118 would be the right place to resolve this, but unsure of the appropriate way to implement.
First idea to have a map that maps
extension
toextension
, and do a lookup in the highlight function. Map would look something like:{".cljs" ".clj" ".cljc" ".clj" ".edn" ".clj"}
As user of metabutt, I should be able to take the current composition of queries/UI and deploy it as a blob, that can then be read via gateways or similar. Might have to provide a gateway for blob <> html fetching if it doesn't already exists
Warning: this is not actually implemented, just thinking around this currently.
Would require:
- Queries can accept arguments (show in UI too when editing?)
- UI can accept arguments (show in UI too when editing?)
- UI can include other queries, and pass arguments
Use case:
- Have a query that returns a list of posts
- For each post, also resolve each author with their profile picture
Unsure how to handle this right now. See %CE27BmJ...
So current solution is to put your keys in
src/metabutt/core.cljs:33
, fill out the values there, and now it'll work.Future: if user is not setup already, file input for selecting
~/.ssb/secret
and input fields for filling out multiserver-address and shs key.
Built with git-ssb-web