gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.73k stars 856 forks source link

Local LAN remark.js sync to mobile devices/browsers #438

Open matthewbivins opened 7 years ago

matthewbivins commented 7 years ago

Firstly, thank you so much for building remark.js. It's a joy. Secondly: this is not an issue, it's a Question.

I might be the only one using remark.js this way (maybe not!): I caption live theater for the deaf/hard of hearing. Thanks to being able to use markdown, I can just pull in a script, format it into slides, connect the computer to a projector/TV, and go. I started off by using reveal.js, but remark.js, being simpler, has no lag when there are 2000+ slides. Again, thank you.

My question: how can I move my slides into the realm of syncing with mobile devices? I'm now getting requests for on-demand captioning of a more "closed" type. Which means that theaters would like to offer captioning whenever a deaf patron requests it, instead of on a special day with a TV setup that the entire audience sees.

This sync has to happen on a local network (theaters rarely have internet access), with my computer as Master, and with no control over the slides by the User. Obviously, I can connect all devices to a router not connected to the internet, but it's the "sync" part that I'm not sure about.

I'm guessing that the solution would have something to do with websockets, pubsub, sockets.io, maybe? I did see that someone on this board had created a remarksync,but I'm not sure it's what I'm looking for.

Any advice would be helpful...thank you!

abelards commented 4 years ago

Hi and thanks for the explanation. I don't have that use case myself so I'm not sure how I can help. Is this something that's close to issue #581? What is the remark sync that you found? How do you think I could tackle the first steps to help you?

matthewbivins commented 4 years ago

Hello! Thank you for the response, even a little later! :) I have figured out how to do what I was wanting: to use remark.js with websockets (sockets.io) and broadcast captions to a mobile browser from my computer to any device that connects to my server via a local network (or connected, of course). I could get the URL to be prettier, but that’s another story!

Thank you a million times for your work on this code. Your work has helped me to almost single-handedly change the level of accessibility to the d/Deaf and hard of hearing in Chicago, IL by providing them a way to experience live scripted events along with hearing patrons. I know that remark.js might not be your main focus, and certainly did not write it to provide pre-built captions for live events, but I continue to check in every once and a while to see what you and other devs are coming up with.

If we ever meet in person I owe you a beer!