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.
- Host: GitHub
- URL: https://github.com/jeyemwey/mumblesniff
- Owner: jeyemwey
- License: other
- Created: 2017-03-05T12:56:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T15:11:55.000Z (almost 7 years ago)
- Last Synced: 2025-03-25T06:41:44.872Z (over 1 year ago)
- Topics: mumble, nodejs, openssl, telegram
- Language: JavaScript
- Size: 15.6 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!