UniWa-Bot Telegram Edition

UniWa-Bot (named Platon) is a bot with a purpose to inform students the announcements of the university over Telegram.

Specs

  • Minimal (<20MB)

REPOSITORY               TAG       IMAGE ID       CREATED          SIZE
UniWa-Bot                1.0       967d60c3eb5d   1 minute ago    14.8MB
  • CPU Usage: 4-6% worst case scenario
  • Ram: even 32mb are a lot for this app
  • Telegram API self-explanatory, a self wrapper with no bloat used features
  • colly Fast and Elegant Web Scrapper
  • HTTPS Certified (coming soon)
  • Concurrent (coming soon)

How to build

$ cd app && go build . -o uniwabot 

How to Download

  • Install Docker into your server
  • docker pull mariospapaz/platon:1.0

How to Compose

version: '3.9'

services:
  platon:
    hostname: platon
    image: mariospapaz/platon:1.0 # add either this or build: . 
    container_name: platon
    dns: 1.1.1.1
    restart: on-failure
    deploy:
      resources:
        limits:
          cpus: '0.50'
          memory: 32M
        reservations:
          cpus: '0.25'
          memory: 32M
    build: .
    environment:
      - DEBUG=true
      - TOKEN=your_telegram_token # Do not put "" symbols 

How to Docker Run

$ docker run -d \ 
        -e TOKEN=your_telegram_token \
        -e DEBUG=true/false \ 
        mariospapaz/UniWa-Bot:1.0

Why Telegram

Telegram is a very popular non-electron application (respects privacy when using secret chats) that allows uncompressed videos/images, very high quality voice/video calls and tons of stickers with lots of expressions. It’s an app that should be as the only social-media in someone’s phone.

GitHub

View Github