Rumors
go run . --dotenv=.env serve
Bot commands
rumors - <index> <size> <search>
sources - List of available sources
subscribed - List of subscribed sources
sub - /subscribed alias
subscribe - <source>
on - /subscribe alias
unsubscribe - <source>
off - /unsubscribe alias
Generate a self-signed X.509 TLS certificate
Run the following command to generate cert.pem
and key.pem
files:
go run $GOROOT/src/crypto/tls/generate_cert.go --host localhost
Run the following command to generate RSA private key
openssl genrsa -out rsa_prv.pem 4096
License
Distributed under MIT License, please see license file within the code for more details.