whatisgithub

What is polyalert?

txbabaxyz/polyalert — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A Telegram bot that watches Polymarket prediction-market prices in real time and pings you once when a price you set is crossed.

Mindmap

mindmap
  root((repo))
    What it does
      Watches Polymarket prices
      Fires one-shot alerts
      Guided chat setup
    Tech stack
      Python
      aiogram
      WebSockets
      SQLite
    Use cases
      Track prediction markets
      Get price alerts
      Run multi-user bot
    Audience
      Traders
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Get a Telegram notification the instant a Polymarket outcome price crosses a threshold you set.

USE CASE 2

Run a shared multi-user alert bot where every Telegram user manages their own private alerts.

USE CASE 3

Deploy a self-hosted, real-time market alert service on a Linux server instead of paying for a SaaS alert tool.

What is it built with?

Pythonasyncioaiogramaiosqlitewebsockets

How does it compare?

txbabaxyz/polyalert0xhassaan/nn-from-scratch3ks/embedoc
Stars00
LanguagePythonPythonPython
Last pushed2023-06-08
MaintenanceDormant
Setup difficultymoderatemoderatehard
Complexity3/54/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Python 3.12+ and a Telegram bot token from BotFather.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

PolyAlert is a Telegram bot that watches Polymarket, an online prediction market where people buy and sell shares tied to real-world event outcomes (like "Will X happen by date Y?"). The bot sends you a notification when a price you care about crosses a level you set, for example, alerting you when the "YES" price on a question goes above 0.55. Polymarket's own website has no built-in alerts, and other third-party alert tools either charge money or check prices only every few seconds or minutes, PolyAlert connects directly to Polymarket's real-time data stream, so it reacts the moment a price moves. Setting up an alert is a guided chat conversation: you paste a Polymarket event link, choose which outcome to watch (YES, NO, or one of many outcomes in multi-option events), pick which price side to track (bid, ask, or midpoint), choose whether to fire above or below your number, and type the threshold. Once the live price crosses that line, the alert fires once and then deletes itself, no repeat notifications. Each Telegram user gets their own private set of alerts, with up to 10 active at a time by default. Under the hood, all alerts share a single WebSocket connection to Polymarket's live price feed, which makes the system efficient. Alerts and user data are stored in an SQLite database. The bot is written in Python 3.12 using asyncio for concurrency, aiogram 3 for the Telegram interface, aiosqlite for the database, and the websockets library for the live price connection. It is designed to run on a Linux server under systemd and includes daily database backup support.

Copy-paste prompts

Prompt 1
Explain how PolyAlert uses a single WebSocket connection to serve alerts for many users at once.
Prompt 2
Walk me through setting up PolyAlert with my own Telegram bot token and running it locally.
Prompt 3
Show me how the one-shot alert logic in this project prevents repeat notifications.
Prompt 4
Help me deploy PolyAlert on a Linux server with systemd and daily SQLite backups.

Frequently asked questions

What is polyalert?

A Telegram bot that watches Polymarket prediction-market prices in real time and pings you once when a price you set is crossed.

What language is polyalert written in?

Mainly Python. The stack also includes Python, asyncio, aiogram.

What license does polyalert use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is polyalert to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is polyalert for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.