You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used ghost last weekend at our unconference in Unhost to snap some pictures while doing a presentation on working unhosted apps. IT WAS AMAZING!
Now I want to share some of those pictures. It would be great if a photo would have something like a sharing switch (something revealed on hovering the photo). Then the public photos should be displayed in the same wall-like style on http://vcuculo.github.com/ghost-unhosted-webrtc/#user@host
Btw, you should a) shorten the repo name to just »ghost« to make the link shorter b) deploy using 5apps.com and optionally get a nice domain for the app! :)
Hey Jan, I hope your 1st unconference went great! :)
Thanks fo the suggestions, I was thinking about a sharing feature too.
And I like the idea of showing public photos, I'll work on these functions in free time in the next days
(referencing this discussion, all I write applies to 0.7, i.e. the master branch)
Within a module, you have access to the private and public area through individual instances of baseClient. You can use those to copy data between the areas.
So sharing is possible now? (Can’t test. I’m on Firefox and thought WebRTC works but weirdly gHost says it does not. I can use http://conversat.io with no problem though.)
When you open the picture there's a button under each one to download it and since they are hosted in public folder you can easily grab the url of the image (I may add a button to copy it automatically).
A public page which contains all your shared picture is not implemented yet and actually I dont know if is possible to do. I reopen the issue to catch more ideas about this feature!
@vcuculo on the Github pages version it actually works better (asks for video etc, shows frame, webcam LED is on) but doesn’t actually show the cam feed. Error: HTTP load failed with status 404. Load of media resource http://vcuculo.github.com/ghost-unhosted-webrtc/%5Bobject%20LocalMediaStream%5D failed. @ http://vcuculo.github.com/ghost-unhosted-webrtc/#
Oh and if I take a photo it shows nothing either (just the grey background looking through). But when I save it, it’s all black. If that helps in any way.
I've tested the "share function" in myfavouritedrink, but does it work also if the user uses an account from a different hosting service than the one which hosts the app? Doesnt it cause an Access-Control-Allow-Origin error? @nilclass
Activity
vcuculo commentedon Sep 11, 2012
Hey Jan, I hope your 1st unconference went great! :)
Thanks fo the suggestions, I was thinking about a sharing feature too.
And I like the idea of showing public photos, I'll work on these functions in free time in the next days
vcuculo commentedon Sep 12, 2012
about this, @jancborchardt is there a way to move data from private to public category and get a direct url to it?
jancborchardt commentedon Sep 12, 2012
I think you have to copy it somehow. @nilclass knows more and can probably help you on that.
nilclass commentedon Sep 12, 2012
(referencing this discussion, all I write applies to 0.7, i.e. the master branch)
Within a module, you have access to the private and public area through individual instances of baseClient. You can use those to copy data between the areas.
Example:
Does that make sense to you?
Regarding the public URL, there is currently no way. I opened an issue for that.
vcuculo commentedon Sep 12, 2012
Sure, it makes sense. I'll plan a migration to 0.7 :)
jancborchardt commentedon Mar 27, 2013
So sharing is possible now? (Can’t test. I’m on Firefox and thought WebRTC works but weirdly gHost says it does not. I can use http://conversat.io with no problem though.)
vcuculo commentedon Mar 27, 2013
When you open the picture there's a button under each one to download it and since they are hosted in public folder you can easily grab the url of the image (I may add a button to copy it automatically).
A public page which contains all your shared picture is not implemented yet and actually I dont know if is possible to do. I reopen the issue to catch more ideas about this feature!
vcuculo commentedon Mar 27, 2013
Oh, and about webrtc @jancborchardt which version of FF are you using?
jancborchardt commentedon Mar 27, 2013
About the public page which contains your shared pictures: @nilclass did this for myfavoritedrinks, you can test it out on http://myfavoritedrinks.nilclass.5apps.com/#!jan@5apps.com (it will automatically show my shared drinks).
@nilclass can you help @vcuculo how to do that? Also for Litewrite we would be happy about help :) litewrite/litewrite#19
@vcuculo Firefox Nightly 22.0a1
vcuculo commentedon Mar 27, 2013
nice! I'll take a look to myfavoritedrink app!
about FF, can you please check if it works with FF on this url: http://vcuculo.github.com/ghost-unhosted-webrtc/ ?
jancborchardt commentedon Mar 27, 2013
@vcuculo on the Github pages version it actually works better (asks for video etc, shows frame, webcam LED is on) but doesn’t actually show the cam feed. Error:
HTTP load failed with status 404. Load of media resource http://vcuculo.github.com/ghost-unhosted-webrtc/%5Bobject%20LocalMediaStream%5D failed. @ http://vcuculo.github.com/ghost-unhosted-webrtc/#jancborchardt commentedon Mar 27, 2013
Oh and if I take a photo it shows nothing either (just the grey background looking through). But when I save it, it’s all black. If that helps in any way.
vcuculo commentedon Mar 27, 2013
@jancborchardt I've tested with your same version, it should work now, always here
jancborchardt commentedon Mar 27, 2013
Hm, maybe it’s just a broken Nightly. I’ll test again later. :)
vcuculo commentedon Apr 2, 2013
I've tested the "share function" in myfavouritedrink, but does it work also if the user uses an account from a different hosting service than the one which hosts the app? Doesnt it cause an Access-Control-Allow-Origin error? @nilclass
jancborchardt commentedon Apr 2, 2013
@vcuculo you can check: https://myfavoritedrinks-nilclass.5apps.com/#!jan@heahdk.net seems to work as well. That’s exactly what Cross-Origin-Resource-Sharing (CORS) is for, which all remoteStorage providers implement.
vcuculo commentedon Apr 2, 2013
nice, I was misled by an error showing in my chrome console. I'll try to add it to ghost.
vcuculo commentedon Apr 26, 2014
UPDATE renamed the repository to https://github.com/vcuculo/ghost/ and the app domain to https://ghost.5apps.com/