Skip to content

kevinquinnyo/rest-fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

rest-fs

REST API FUSE experiment

Mount a remote API to your filesystem because why not?

I think there's some potential here, but it will ultimately have to be configuration heavy so that you can define whether the endpoint resources should 'act like files' or 'act like directories', which would inform readdir() what to do.

Ultimately I'd like to see this be able to POST/PATCH data too.

How to test this:

git clone https://github.com/terencehonles/fusepy.git
cd fusepy && python setup.py build && sudo python setup.py install

# put rest.py above somewhere then mount this public dogs api
python rest.py https://dog.ceo/api /tmp/test
cd /tmp/test
ls breeds/list

Alt text

The API I am using above for testing is https://dog.ceo/dog-api/.

About

REST API FUSE filesystem experiment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages