Sign inSign up

cuddlycheetah/safetygram

By cuddlycheetah

•Updated over 6 years ago

safetygram complete

Image
1

1.5K

cuddlycheetah/safetygram repository overview

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

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

Tag summary

Content type

Image

Digest

Size

583.6 MB

Last updated

over 6 years ago

docker pull cuddlycheetah/safetygram