From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <9d2919d5e28b35cfb1b4659f03390b40@9netics.com> References: <9d2919d5e28b35cfb1b4659f03390b40@9netics.com> Date: Wed, 8 Jul 2015 03:05:35 +0200 Message-ID: From: hiro <23hiro@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] =?utf-8?b?OVAgQ2xvdWTihKI=?= Topicbox-Message-UUID: 5e60710c-ead9-11e9-9d60-3106f5b1d025 No, i mean the other way around: I would like to access the files in a real file browser (as if they were mounted like a network share). this mounting (and login) process should happen automatically at boot. I currently do this for an sshfs share. A small arm computer does nothing else but exporting an sshfs mount to my local network (windows computers) via samba. Also I would like to resume sharing my files with my friend after a reboot. So for uplink I'd also need automatic login. On 7/8/15, Skip Tavakkolian <9nut@9netics.com> wrote: >> it would be useful to me if you would also create a second websocket >> server that accepts local samba file requests :) > > integration with local and third party storage (Drive, S3, Dropbox) > are on the radar for future enhancements. > > in the meantime, if you wanted to roll your own (in Go) ... > > assuming i undrestand correclty -- that you want to export parts of > your SMB share via 9P Cloud to others -- you would need an oauth2 > client that will authenticate itself then export a 9P filesystem over > websocket to 9pcloud. you can use either goplan9 package at > https://github.com/9fans/go (rsc/rob) or go9p package at > https://code.google.com/p/go9p/ (lucho and andrey) for the 9p server > part and the oauth2 and websocket packages in Go repo on github for > authentication and websocket handling. the javascript on the main > page should be helpful. > > >