Skip to main content

Turn any online shop into a Telegram storefront bot — scaffold, scrape, and launch in under a minute

Project description

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 formatting
  • scraper.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_tg_shop-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_tg_shop-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file create_tg_shop-0.1.0.tar.gz.

File metadata

  • Download URL: create_tg_shop-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

Hashes for create_tg_shop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c6b1a3b41d72f2b0d4aabfa0defc6e566ce60227531f84b00b90159d9b1cda6
MD5 bf5ffafbce07f9021a562cb5ffbdb484
BLAKE2b-256 c7aa4fa2d160dbfd33f2051bbcd7b5634ff5822901e4b6a00c6c6856e397e652

See more details on using hashes here.

File details

Details for the file create_tg_shop-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: create_tg_shop-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

Hashes for create_tg_shop-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff3178a2d75e38b6f533bc56054972eafc84d74805c60d37d66fcdaa04a80d60
MD5 b79341e5c4c6de6fa1f7f257d146d0c6
BLAKE2b-256 c457794f1a07e9dc9364980b4e0931400e2459ea43c06c09db79489cca1b36c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page