Skip to content
A telegram client that never forgets
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
app_html
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
Settings.js
airgram.js
database.js
docker-compose.yml
index.js
libtdjson.so
package-lock.json
package.json
tgsync.js
tsconfig.json

README.md

GitHub Telegram

Docker Pulls Docker Automated build Docker Stars

Safetygram

Logging all Messages for Telegram Private Chats. Useful when People delete messages, complete chats.

  • Features:
  • 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

Getting Started

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.

Settings

!!!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.

Support

Telegram Channel & Support Group is available here

Prerequisites

What things you need to install the software and how to install them

  • Linux System (here i used Ubuntu 16.04 64bit)
  • Docker apt install docker
  • Docker-Compose apt install docker-compose

Installing

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

for installing

docker pull cuddlycheetah/safetygram
docker run -v /etc/safetygram/:/etc/safetygram/ -p 46590:46590 -d cuddlycheetah/safetygram

for debugging

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

Authors

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details

You can’t perform that action at this time.