Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: QR Code-based pairing #61

Open
dongcarl opened this issue Oct 24, 2019 · 3 comments
Open

feature: QR Code-based pairing #61

dongcarl opened this issue Oct 24, 2019 · 3 comments

Comments

@dongcarl
Copy link

dongcarl commented Oct 24, 2019

I'd like to see a way to pair ZNC with Palaver thru some kind of QR code format (perhaps displayed on a ZNC admin page?), as the form-filling can be tedious and error-prone. I'd be happy to contribute something like this, but was wondering if this feature would belong in this codebase or in a separate one. Of course it would require client-side support, but I hope that cocodelabs would think the UX benefit be worth while! ☺️

@iamDecode
Copy link
Member

Hey @dongcarl, thanks for your enthusiasm! :) We are already working on features to make the ZNC setup process easier. This feature should land within the next couple of releases. QR pairing for ZNC might be a nice addition to that, but that is not quite specific to Palaver. Perhaps you could start with ZNC and see if you can convince/help them to add some sort of pairing QR code in the web admin. As soon as such feature is available we would be happy to integrate support for that into Palaver.

@dongcarl
Copy link
Author

@iamDecode Oh that makes a lot of sense, I'll try writing a ZNC module myself for the QR :-) Can't wait to see what you guys are working on though!

@kylef
Copy link
Member

kylef commented Nov 14, 2019

This is somewhat possible already, you can craft a URL such as ircs://:username%2Fnetwork%[email protected] (note username%2Fnetwork%3Apassword is URL encoded username/network:password since some characters must be escaped).

Screenshot 2019-11-14 at 22 53 56

You can scan the picture and it will open in Palaver:

Screenshot 2019-11-14 at 22 56 00

The one caveat, is that we de-duplicate URIs based on other information so right now the current released version of Palaver will only allow you to add a single network this way. We'll make a future update of Palaver to address that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants