Telegram authentication requires you to open a chat on the phone. It's convenient to have a QR code for the case when you want to log in on the computer but have Telegram only on your phone and would be able to scan the QR instead of copy-pasting the link from the computer to the phone any other way. Originally we thought of generating QR on the client but found backend-generated QR a better alternative because we avoid adding one more JavaScript dependency to the frontend that way.
48 lines
1.7 KiB
AMPL
48 lines
1.7 KiB
AMPL
module github.com/umputun/remark42/backend
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/Depado/bfchroma v1.3.0
|
|
github.com/PuerkitoBio/goquery v1.8.0
|
|
github.com/alecthomas/chroma v0.10.0
|
|
github.com/didip/tollbooth/v6 v6.1.1
|
|
github.com/didip/tollbooth_chi v0.0.0-20200828173446-a7173453ea21
|
|
github.com/go-chi/chi/v5 v5.0.7
|
|
github.com/go-chi/cors v1.2.0
|
|
github.com/go-chi/render v1.0.1
|
|
github.com/go-pkgz/auth v1.18.1-0.20220131194604-2eb160b3c90c
|
|
github.com/go-pkgz/jrpc v0.2.0
|
|
github.com/go-pkgz/lcw v0.8.1
|
|
github.com/go-pkgz/lgr v0.10.4
|
|
github.com/go-pkgz/repeater v1.1.3
|
|
github.com/go-pkgz/rest v1.12.2
|
|
github.com/go-pkgz/syncs v1.2.0
|
|
github.com/go-redis/redis/v7 v7.4.1 // indirect
|
|
github.com/golang-jwt/jwt v3.2.2+incompatible
|
|
github.com/google/uuid v1.3.0
|
|
github.com/gorilla/feeds v1.1.1
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1
|
|
github.com/jessevdk/go-flags v1.5.0
|
|
github.com/kyokomi/emoji/v2 v2.2.8
|
|
github.com/microcosm-cc/bluemonday v1.0.17
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/rakyll/statik v0.1.7
|
|
github.com/rs/xid v1.3.0
|
|
github.com/russross/blackfriday/v2 v2.1.0
|
|
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
|
|
github.com/slack-go/slack v0.10.1
|
|
github.com/stretchr/objx v0.3.0 // indirect
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/tidwall/gjson v1.11.0 // indirect
|
|
go.etcd.io/bbolt v1.3.6
|
|
go.uber.org/goleak v1.1.12
|
|
golang.org/x/crypto v0.0.0-20220128200615-198e4374d7ed
|
|
golang.org/x/image v0.0.0-20211028202545-6944b10bf410
|
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
|
|
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
|
|
gopkg.in/yaml.v2 v2.2.8 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
)
|