Turn any online shop into a Telegram storefront bot — scrape products, browse, add to cart, and checkout inside Telegram
Project description
agentic-shop-tg
Turn any online shop into a Telegram storefront bot — scrape products, let users browse, add to cart, and checkout, all inside Telegram.
Install & run
pip install agentic-shop-tg
agentic-shop-tg init
Or with pipx (no install needed):
pipx run agentic-shop-tg
The wizard scaffolds a project, asks for your Telegram bot token and shop URL, and gets you running in under a minute.
What it sets up
bot.py— ShopEngine + CartManager + Telegram message formattingscraper.py— base scraper class (plug in Playwright or BeautifulSoup)products.json— product catalog (edit directly or regenerate via scraper).env— your bot token and shop config
Customizing
- Implement
ShopScraper.scrape()to pull real products from your shop - Wire the checkout callback to Stripe, Shopify, or your payment provider
- Swap CartManager for Redis/database for persistent carts
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_shop_tg-0.1.0.tar.gz.
File metadata
- Download URL: agentic_shop_tg-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e68777ef9be10ecbfa88297813886a0d98807bd7fee7244abb05abdfdfc55e2
|
|
| MD5 |
86b98d78d23a2ecfc299831e618efe29
|
|
| BLAKE2b-256 |
aacaeb097330eb5daaf864cfbb624b5cce910ed21a3855f8d7ccd6791d74484e
|
File details
Details for the file agentic_shop_tg-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentic_shop_tg-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef6c04a9d894e29c8786b5a1bfa5b1322de7c01c3e0a61d3e5474542a391cc49
|
|
| MD5 |
bd0a68c209515b5517d9134cff090971
|
|
| BLAKE2b-256 |
b053a854a7982aafca5a0d1d6cd2ec4f87731123126d8898993593be2590b441
|