← Back to projects
In production — 24/7

Telegram Infrastructure on a Raspberry Pi

A personal Linux infrastructure that hosts several Telegram bots and filters DNS traffic for the home network, designed, deployed, and maintained end to end on a single Raspberry Pi.

Linux Raspberry Pi Python Pi-hole systemd

Why this project

[To fill in: the starting point — a personal need, wanting to learn self-hosting, or a concrete problem you wanted to solve at home.]

[To fill in: why a Raspberry Pi rather than a VPS or a cloud service — cost, learning, full control over the hardware, local latency, etc.]

How it's built

The Raspberry Pi runs continuously on the local network. Pi-hole intercepts DNS requests from every device on the network, while several Telegram bots run in parallel as independent systemd services, each with its own process and its own logs.

Devices on the local network RASPBERRY PI · LINUX Pi-hole DNS filtering Telegram bot #1 Telegram bot #2 Telegram bot #N systemd services

DNS flow and Telegram bots running as independent systemd services on the same Pi.

What it actually does

  • [To fill in: e.g. automatic bot restart on crash via systemd]
  • [To fill in: e.g. monitoring disk space / Pi temperature]
  • [To fill in: e.g. automatic backups of local configs / databases]
  • [To fill in: e.g. remote system updates via SSH]

The setup

The Raspberry Pi and its physical setup
The Pi's case and wiring
Pi-hole dashboard
Pi-hole dashboard — blocked queries
Logs of the running services
journalctl — bot logs in production

By the numbers

24/7 uptime
[X] bots hosted in parallel
[X]% DNS queries filtered by Pi-hole