An open API service indexing awesome lists of open source software.

https://github.com/jeyemwey/mumblesniff

See, who is online with telegram messages.
https://github.com/jeyemwey/mumblesniff

mumble nodejs openssl telegram

Last synced: about 1 year ago
JSON representation

See, who is online with telegram messages.

Awesome Lists containing this project

README

          

# How to get it working

1. Clone the repo and get into the folder.
2. Create a certificate for the mumble connection and save them to `key.pem` and `cert.pem`:

openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem

3. Edit the environment file:

cp default.env .env
vi .env

4. Add the Telegram Bot Token to the environment. Ask @BotFather for an API token and paste it after the __=__ char.
5. Change the Server-URL and the Mumble Username to whatever you desire.
6. Close the file.
7. Run `npm install` to recieve the required packages.

# Start the script

I ran best with loading `index.js` into an interactive shell:

```bash
~/mumbleSniff $ node
> .load ./index.js
``
After that, you can import prior Telegram message ids with `fs.readFileSync("loggedInUsers.log", "utf-8").split("\n").forEach((i)=>{botUsers.push(i)});`. Then, check the botUsers array for new contents. (This is an [issue](https://github.com/jeyemwey/mumbleSniff/issues/1), and _$soon_, the application should do this by itself.)

# Contribute

If you want to, you can surely contribute to this project. Just send a PR!