Skip to content

The Telegram Bot @mlfwbot and @mylittlefacewhenbot. Discontinued as mylittlefacewhen.com is down.

Notifications You must be signed in to change notification settings

luckydonaldsbots/my-little-face-when_telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Little Face When Telegram Bot

This is the code which powers https://t.me/mlfwbot, but currently https://mylittlefacewhen.com is down or gone.

Running

docker-compose up -d

In my setup a reverse proxy is mounting it at example.com/mlfw, which exposes the container's port 80 to the world.

Sample reverse proxy config

This is a very simple sample nginx config to get you started.

server {
    listen 80;

    location /mlfw {
        proxy_pass http://mlfw/$url?$query_string;
        proxy_set_header X-Host $host;
        proxy_set_header X-Incoming-IP $remote_addr;
    }
}

Environment Variables

You need to define your TG_API_KEY environment variable, which is the telegram API key. If you mount the container at example.com/mlfw, you'll need to set URL_PATH=mlfw and URL_HOSTNAME=example.com.

You need to specify those when starting this container, either via flag for the docker command, or via docker-compose.yml file (or a separate docker-compose.override.yml if you want to keep everything clean).

About

The Telegram Bot @mlfwbot and @mylittlefacewhenbot. Discontinued as mylittlefacewhen.com is down.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published