Playing around with plan9’s webfs, have a prototype for reading/writing to the lemmy api as if it were a series of files.
The program creates the files dynamically and it can then be mounted to wherever, in the case of the example here I just mounted it to the /n directory.
Currently I only have one api endpoint but this is good enough for a proof of concept.
Pretty cool! Are you using plan9 in an emulator or plan9port?
Thanks! Neither, I’m running 9front baremetal on a raspberry pi
Which raspberry pi are you using? Would a pico work?
I was using a 1B (from 2012) and it worked great (no h.264 video though), the newest version of 9front has working WiFi and i2c so I’m planning on switching to a 4B
no they don’t have an image for the pico, it doesn’t have enough memory to run, but you kinda don’t have to, you could just write a little 9p server and mount the pico over WiFi. But theoretically all of the main raspberry pi boards work
Thanks I want to try playing with this!