create-tg-shop
Turn any online shop into a Telegram storefront bot — scrape products, let users browse, add to cart, and checkout, all inside Telegram.
Quickstart
Python (pip):
pip install create-tg-shop
create-tg-shop
Node (npx) — no install needed:
npx create-tg-shop
The wizard scaffolds a project, asks for your Telegram bot token and shop URL, installs dependencies, 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
Metadata
Release files for create-tg-shop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| create_tg_shop-0.1.0.tar.gz | 4.8 kB | Without provenance | Details for create_tg_shop-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| create_tg_shop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for create_tg_shop-0.1.0-py3-none-any.whl |
Total release size: 9.9 kB
Release files / create_tg_shop-0.1.0.tar.gz
| Download URL | create_tg_shop-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c6b1a3b41d72f2b0d4aabfa0defc6e566ce60227531f84b00b90159d9b1cda6
|
|
BLAKE2b-256 checksum How to use checksums |
c7aa4fa2d160dbfd33f2051bbcd7b5634ff5822901e4b6a00c6c6856e397e652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / create_tg_shop-0.1.0-py3-none-any.whl
| Download URL | create_tg_shop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff3178a2d75e38b6f533bc56054972eafc84d74805c60d37d66fcdaa04a80d60
|
|
BLAKE2b-256 checksum How to use checksums |
c457794f1a07e9dc9364980b4e0931400e2459ea43c06c09db79489cca1b36c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for create-tg-shop 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.