deckgo / starter-kit

The developer kit to create slides with DeckDeckGo
https://deckdeckgo.com
MIT License
47 stars 13 forks source link

[Feature Request] Add a QR Code in terminal output to quickly open local from phone #27

Open doppelganger9 opened 5 years ago

doppelganger9 commented 5 years ago

This a Feature Request for enhancing somewhat the dev/local experience 😎🤞.

It seems you are fond of QR Codes 🤓so here we go:

There exists a BrowserSync plugin called bs-console-qrcode.

{
  "files": [
    "./dist/**/*.{html,htm,css,js,svg}"
  ],
  "plugins": ["bs-console-qrcode"],
  "server": { "baseDir": "./dist" }
}
qrcodeinsideterminal

On iOS, this is as easy as opening up the photo app, looking at the QR Code, a popup will appear and you can click it, avoiding typing manually the address+port !

(I seem to recall having seen this idea from React Native CLI and found it useful)

Comments welcome, thank for your awesome work, btw! 👍

peterpeterparker commented 5 years ago

@doppelganger9 haha yes I was interesting exploring QR code these last few weeks, specially because I saw a use case in term of presentation

that's cool idea 👍

I think it would just need a bit more development than you description. Right now, there is not deep links, the app (https://deckdeckgo.app) start without presentation and its up the user to open the modal to search for his/her presentation and link it. So to implement this smoothly I think it would need an improvement where you could specify a parameter to the app in order to load a particular presentation (like https://deckdeckgo.app?presentation=my%20current%20presentation)

Definitely an interesting idea, thx a lot for the input 😀

P.S.: Regarding my add-ons description, of course if I understand you, that adding a QR code to link to the remote control respectively not to open the presentation on the phone? or did you rather like to open the presentation itself with the code?

peterpeterparker commented 5 years ago

Update on this subject: we may have integrated "deep links" in our upcoming editor for presentations 😉

It means that when it will be finished a properly tested we will be able to inherit the feature and display a QR code in the console which links to the remote directly