Git Product home page Git Product logo

bitcointalk2telegram's Introduction

BitcoinTalk2Telegram

NodeJS script that reads new BitcoinTalk forum posts and sends them to a Telegram channel, group, or megagroup.

Getting started

First, make sure you get API TOKEN from core.telegram.com. Alternatively, you could set up a new bot in @BotFatherand then you will be provided with a TOKEN such as:

500000000:TTTXDtEyy__ANNNNN1NNNNN3-lNNNNNNNNNN

Second, create a new Telegram Channel or group and get its ID. Check out this link to learn more.

Third, set API TOKEN and channel or group's ID in bot.js editing following lines:

const api = new TG({
    token: 'YOUR TOKEN',
    updates: {
        enabled: true
}
})

const channel = -1000000000 // your channel, group or megagroup
const bitcointalk_URL = 'https://BitcoinTalk.xxxxxxxx.io';

Finally, run node bot.js.

Dependencies

To perform this bot, the following dependencies are required:

  "fs": "^0.0.1-security",
  "request": "^2.88.2",
  "telegram-bot-api": "^2.0.1"

DEMO

If you want to see how this bot works, join @bitcoinTalkChannel. This is an unofficial forum channel where all new posts are received.

API LINK

BitcoinTalk does not have an official REST API from which to retrieve posts. As a result, I have set up an Unofficial API where the last 760 threads have been posted, but it is not public yet. I hope to set up free access to it soon.

๐Ÿ“ LICENSE

This project is MIT licensed.

bitcointalk2telegram's People

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.