this post was submitted on 24 Dec 2023
12 points (100.0% liked)

programming

131 readers
12 users here now

  1. Post about programming, interesting repos, learning to program, etc. Let's try to keep free software posts in the c/libre comm unless the post is about the programming/is to the repo.

  2. Do not doxx yourself by posting a repo that is yours and in any way leads to your personally identifying information. Use reports if necessary to alert mods to a potential doxxing.

  3. Be kind, keep struggle sessions focused on the topic of programming.

founded 8 months ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 8 months ago (1 children)

Pretty cool! Are you using plan9 in an emulator or plan9port?

[–] [email protected] 6 points 8 months ago (1 children)

Thanks! Neither, I’m running 9front baremetal on a raspberry pi

[–] [email protected] 3 points 7 months ago (1 children)

Which raspberry pi are you using? Would a pico work?

[–] [email protected] 3 points 7 months ago (1 children)

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

[–] [email protected] 3 points 7 months ago

Thanks I want to try playing with this!

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

Omg this is really cool. Can you share the code?

[–] [email protected] 3 points 7 months ago

Yeah! here you go. Its still very wip, but feel free to check it out!