https://github.com/nextlevelshit/wggesucht-bot
Telegram Bot for Brainfood Channel to repost recieved links to Twitter
https://github.com/nextlevelshit/wggesucht-bot
and bot group listening on repost telegram to twitter twitter-bot
Last synced: 2 months ago
JSON representation
Telegram Bot for Brainfood Channel to repost recieved links to Twitter
- Host: GitHub
- URL: https://github.com/nextlevelshit/wggesucht-bot
- Owner: nextlevelshit
- License: gpl-2.0
- Created: 2017-08-02T13:23:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T18:41:38.000Z (over 6 years ago)
- Last Synced: 2026-03-28T00:09:47.624Z (3 months ago)
- Topics: and, bot, group, listening, on, repost, telegram, to, twitter, twitter-bot
- Language: HTML
- Size: 122 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram WG-Gesucht.de Bot
This telegram bot scrapes the most recent offers from wg-gesucht.de and sends them via telegram to the client.
## Install
```shell
git clone https://github.com/nextlevelshit/wggesucht-bot.git
# or
git clone git@github.com:nextlevelshit/wggesucht-bot.git
```
## Usage
### 1. Install dependencies
```shell
npm install
# or
yarn
```
### 2. Generate configuration
This script will generate a `config.json` and `scrapoxy.json` file to your root directory.
```shell
npm run init
```
### 3. Configuration
```json
// in config.json
{
"telegram": {
"token": ""
},
"interval": 1000,
"source": "",
"host": "",
"opts": {
"proxy": "",
"tunnel": false
}
}
```
```json
// in scrapoxy.json
{
"commander": {
"password": "YOUR_PASSWORD"
},
"instance": {
"port": 3128,
"scaling": {
"min": 1,
"max": 2
}
},
"providers": [{
"type": "digitalocean",
"token": "",
"region": "",
"size": "",
"sshKeyName": "",
"imageName": "",
"tags": ""
}]
}
```
```json5
// in bot.json5
{
apps : [
{
name : "scrapoxy",
script : "scrapoxy",
args : ["start", "scrapoxy.json", "-d"],
kill_timeout : 30000,
},
{
name : "bot",
script : "node",
args : ["index.js"],
kill_timeout : 30000,
},
],
}
```
### 4. Set up your provider
...
### 5. Start the engine
```shell
npm run start
```