Giter Club home page Giter Club logo

node_telegram's Introduction

node_telegram

Telegram bot server for send data to telegram from local sources

ChangeLog


TLS Lets Encrypt cheatsheet:

generate wildcard certificate - this is for update cert !!!

https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7
In conainer telegram update After update certificate in container copy to host etc /etc/encrypt for portainer

get auto certificates

in container nodejs

$certbot certonly \
  --dns-cloudflare \
  --dns-cloudflare-credentials /app/cert/certbot/certbot.ini \
  --dns-cloudflare-propagation-seconds 60 \
  -d *.ip2u.ru


#to renew
$certbot renew

# backup certificates
$for file in *.pem; do
cp $file $file.$(date +%Y%m%d%H%M%S)
done
# copy keys to directory with keys
$cp /etc/letsencrypt/live/ip2u.ru/*.pem ./

#in main hostmachine outside docker for others servers
$sudo cp /opt/src/node_telegram/cert/*.pem /etc/letsencrypt/live/ip2u.ru/

openssl cheatsheet

https://medium.freecodecamp.org/openssl-command-cheatsheet-b441be1e8c4a #express ssl: https://hackernoon.com/set-up-ssl-in-nodejs-and-express-using-openssl-f2529eab5bb

links: http://www.jens79.de/2015-08-06/ how-to-set-up-a-node-js-express-app-on-a-codeanywhere-ubuntu-14-04-devbox.html https://ru.atlassian.com/git/tutorials/saving-changes/gitignore

ip fun

http://212.237.56.234:8080/ http://212.237.56.234:9000/#/auth

http://expressjs.com/ru/api.html#req https://github.com/expressjs/express/blob/master/examples/web-service/index.js

node_telegram's People

Contributors

eugenam avatar tttest25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.