OpenomyFS is a Ruby program that uses the FUSE library to mount your Openomy account as a filesystem on any FUSE supported OS.
OpenomyFS has been re-released, and is now part of the Openomy Open Source Library. Visit it on sourceforge for the download. The package is called 'openomyfs-ruby'.
Usage:Create an empty directory, such as /mnt/openomy
Run OFS:
root@moocow:~ # ruby ofs.rb /mnt/openomy &
OFS might ask you for authentication: It needs you to authorize it to access your Openomy account. It will present you with a URL to go to where you will sign in to Openomy and authorize the application. You will only need to do this the first time it is run, as OFS will save the authentication tokens in your home directory, in $HOME/.ofs.yml
Here is how the filesystem is structured:
Special note: the 'touch' command-- OpenomyFS uses caching to keep the filesystem as responsive as possible. However, if multiple people are accessing the same files, it is possible for OpenomyFS and Openomy to become out of sync (for example, on shared tags). To clear all the caches and force OpenomyFS to fetch new data use the 'touch' command. For example, use 'touch /tags/tag1' to clear all the cached tag data, and 'touch /files/file1' to clear all the cached file data.
Installation Instructions:If you have any comments, suggestions, or bug reports, please email Maurice Codik at maurice.codik@gmail.com.
Back to my blog