linkding icon indicating copy to clipboard operation
linkding copied to clipboard

qrcode support

Open clach04 opened this issue 3 years ago • 3 comments

It would be really neat to have qrcode (qr-code) support for URLs.

in the mean time possible workarounds:

  • browser extension, e.g. On Firefox desktop https://github.com/rugk/offline-qr-code is a good generic (rather than LinkDing specific) browser extension alternative/workaround (doesn't work on mobile though)
  • Hack your template files for your LinkDing instance (and deal with merges with upstream changes) - possible approach in https://github.com/sissbruecker/linkding/pull/221

clach04 avatar Mar 18 '22 22:03 clach04

See linked PR for demo (not suitable for merging yet). That implementation uses the web browser to render the qrcode (locally, without dependency on a third party server - which means URLs are not leaked). It does not need additional Python modules - alternative implementation would be implemented via https://github.com/dprog-philippe-docourt/django-qr-code (requires Python 3.7+)

clach04 avatar Mar 18 '22 22:03 clach04

I agree on this one.

asitemade4u avatar Mar 26 '22 15:03 asitemade4u

@asitemade4u I pushed a less hacky (but still hacky ;)) version in #221, https://github.com/sissbruecker/linkding/pull/221#issuecomment-1086724502 has screen shots of current progress.

html/js is not my forte though. Its good enough for me to use on my machine but not for merging. If this something you can help with that would be awesome!

clach04 avatar Apr 02 '22 21:04 clach04