Logging all Messages for Telegram Private Chats. Useful when People delete messages, complete chats.
- Customizeable Bot Token
- Multi-Language Support (English / German)
- Showing User Information like previous Identities
- Notify you via a Bot, when a Chat gets deleted.
- Backlogs all Messages, Username/Displayname/Bio/ProfilePhoto changes.
- Supports SQLite3(Default), MySQL, MariaDB, PostgreSQL
- Accessible through HTTP on Port 46590
News, Updates, Discussion and Support: https://t.me/SafetygramApp
These instructions will get you a copy of the project up and running on your machine. See deployment for notes on how to deploy the project on a live system.
!!!IMPORTANT!!! Please create a Bot via @BotFather and Paste the Bot Token inside the Settings Menu and apply it. The Service will restart itself after changing the token. Please write the Bot a message(it can be anything or just /start) so it can message you on events.
There is a settings.json inside the Docker Container (/etc/safetygram/settings.json) You can change the port of this service by changing "port" to whatever port you want.
Telegram Channel & Support Group is available here
What things you need to install the software and how to install them
- Linux System (here i used Ubuntu 16.04 64bit)
apt install docker
apt install docker-compose
This Github Repository already contains a prebuilt binary for alpine linux. There is already an auto-built docker image for simple-install cuddlycheetah/safetygram.
using Docker Composer (recommended)
wget https://raw.githubusercontent.com/cuddlycheetah/safetygram/master/docker-compose.yml -O docker-compose.yml docker-compose pull docker-compose up -d
using Manual Docker
docker pull cuddlycheetah/safetygram docker run -v /etc/safetygram/:/etc/safetygram/ -p 46590:46590 -d cuddlycheetah/safetygram
docker exec -it <name> pm2 log index
Configuring Docker Composer
You can modify this line in docker-compose.yml
ports: - "0.0.0.0:46590:46590/tcp"
Building Docker Image
The Image is compiled with alpine Linux
docker build -t cuddlycheetah/safetygram . docker run -d cuddlycheetah/safetygram docker exec -it <name> pm2 log index
Deployment (if using nginx)
Add nginx https proxy
- Konrad Schumann - Initial work - CuddlyCheetah
This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details