Skip to content

Telegram bot for interacting with coinmarketcap and local exchanges

Notifications You must be signed in to change notification settings

cryptowljs/cryptowl_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦉🔮 Cryptowl Bot

dependencies dev-dependencies styled with prettier

Telegram bot built with telegraf/telegraf.

Start conversation here

Development

Requirements:

  • Node.js 8
  • Yarn

Clone this repository:

git clone https://github.com/cryptowljs/cryptowl_bot.git
cd cryptowl_bot

Install dependencies:

yarn

Make sure to set the next environment variables:

URL=https://asdfg.ngrok.io
TELEGRAM__TOKEN=1g**********************VbQYF
TELEGRAM__USERNAME=cryptowl_bot
TELEGRAM__SECRET_PATH=aaaaaaaaaaaaaaaaaaaaa

These can be set with a .env files (ignored by git).

Start this bot:

yarn start

Production

Requirements:

  • Docker
  • Docker-Compose

Create the same .env file but with the production values. Then:

docker-compose up -d --build