Home
Ashavid
Back to Portfolio

Built by AshaVidConsumer Utility / Subscription SoftwareOpen source 2025 → Premium v1.0 April 2026, v1.1 May 2026

Gheychi (قیچی)

From a Free Telegram Downloader to a Subscription Product That Reaches Inside Telegram Itself

An open-source media bot that became a paid, bilingual product — plans and quotas per platform, a real user session for restricted content, a relay for files the Bot API cannot carry, and a web dashboard with no passwords.

Bot APIMTProto sessionDump channelPlans & quotasAdmin panel
A standard bot for the public web, a real user session for what the Bot API cannot reach, and a plan engine deciding who may use which.
Venture
Gheychi
Category
Consumer media utility, subscription
Stage
Premium v1.1 in production; open-source line maintained
Core challenge
Turning a free utility into something people pay for
Our role
Product design and engineering
Focus areas
Platform limits, quota engine, restricted content

Origin

Why we started building this

Every downloader can take a YouTube link. The one thing a neighbouring product cannot truthfully copy is reaching media inside private Telegram channels that forbid saving.

Gheychee began as an open-source Telegram bot wrapping yt-dlp: paste a link, get the file back in the chat. It picked up stars, a 25-language interface, and the operational lessons every consumer utility teaches — rate limits, format edge cases, users on restricted networks.

The question that followed was whether a free utility could become a product. The answer was not more sites — yt-dlp already covers a thousand — but a capability competitors cannot copy: Save Restricted Content. The premium build runs a real Telegram user session over MTProto, so it can retrieve media from private channels and groups that have forwarding and saving disabled.

Around that mechanism we built the rest of a subscription business: four plans with per-platform quotas by day, week and month, a relay past Telegram’s 50 MB bot limit, a passwordless web dashboard, and an admin panel the single operator actually runs the business from.

What we built

What we built

Three processes from one entrypoint — the Telegram bot, the Flask admin panel serving the static site and user dashboard, and an auto-updater — over a SQLite store on a Railway volume. Downloads go through a multi-layer path (Cobalt API first for most sites, yt-dlp first for YouTube), restricted content through a Pyrogram user session, and large files through a dump-channel relay.

  • Save Restricted Content

    Links of the form t.me/username/123 and t.me/c/<id>/<msg>, including topics and full albums, fetched through a real user session — the one feature the ordinary Bot API cannot offer.

  • Plans with per-platform quotas

    Free, Starter, Standard and Pro, each a list of rules per platform with a limit, a period and an optional maximum duration; an “other sites” allowance per plan; adult sites excluded by a generated list.

  • Past the 50 MB wall

    Anything over the Bot API limit goes up through the user session into a dump channel and is copied to the recipient. The cap in production is whatever the admin panel is set to — 500 MB today — and no page may claim more.

  • Multi-layer download path

    For most sites the Cobalt API is tried first with yt-dlp as fallback; for YouTube the order is reversed because signed API URLs on a server often return 403. Per-platform cookies, as files or base64 in the environment.

  • Passwordless dashboard

    A magic link issued from the bot or a six-digit emailed code; one account can link several verified Telegram accounts, capped by plan, sharing a single quota pool.

  • Operator’s admin panel

    Plans, subscriptions, pending transactions with manual confirmation, paginated users with join and last-use dates, logs, broadcast, analytics and backup — plus bilingual payment confirmations sent from one shared helper.

The Problem

Why this needed to exist

  • Downloading from public sites is a commodity; a paid product needs a mechanism competitors cannot truthfully claim.

  • Telegram’s Bot API stops at 50 MB and cannot see restricted content; both limits had to be worked around without pretending they do not exist.

  • YouTube behaves differently on a server than on a phone, so a single download path fails for the most-requested platform.

  • The previous marketing site claimed 2 GB and 4K when neither worked; copy had to be tied to what the admin panel is actually set to.

  • One operator runs everything, so the admin panel is the operations team.

The Thesis

How we framed the opportunity

The thesis was that the product is the mechanism the Bot API cannot offer, wrapped in a quota engine honest enough that every number on the site is a number the system enforces.

  • Find the uncopyable mechanism

    Save Restricted Content is the positioning; the thousand supported sites are table stakes and are described that way.

  • Quotas are data, not code

    Plans are rule lists stored with the runtime settings, editable from the panel, so pricing changes never need a deploy.

  • Claim only what the panel enforces

    File-size and quality claims are read from configuration; the failure to avoid is a promise the system does not keep.

  • Platform-specific paths

    API-first for most sites, yt-dlp-first for YouTube, cookies per platform — the download path is a strategy, not a function.

The Landscape

Where the existing options fell short

What comparable bots offered

  • Public-web downloading with basic quality options.
  • Hard stops at the Bot API’s 50 MB.
  • Free tiers with no path to revenue, or paywalls with no distinguishing capability.

What was missing

  • Access to restricted Telegram content through a real user session.
  • A relay for large files that stays inside Telegram.
  • Per-platform quotas with periods and duration caps that a plan can express.
  • A dashboard and admin panel that make the thing operable by one person.

Design Principles

The decisions that shaped the product

  1. 01

    Positioning on a mechanism, not a list

    The premium offer is built around what the Bot API cannot do; everything else is honestly described as what the category already offers.

  2. 02

    Plans as rules

    Platform, limit, period and max duration per rule; defaults in code, overrides in the panel, enforced per request.

  3. 03

    Honest copy

    Size caps, payment status and email delivery are stated as they are configured — manual activation until Stripe is live, no 2 GB claim until the cap is raised.

The Build

How it came together

  1. Phase 1

    Open-source engine

    The yt-dlp-based bot with codec-aware format selection, flood-wait handling, proxy support and 25-language localisation; a light version to demonstrate the architecture.

  2. Phase 2

    Premium v1.0

    Pyrogram user session for restricted content, dump-channel relay, the plan and quota engine, multi-layer download path, Flask admin panel, static site and magic-link dashboard.

  3. Phase 3

    Premium v1.1

    Stripe webhook and manual confirmation sharing one activation helper with bilingual payment messages, paginated user management with join and last-use dates, and the product and design documents for the site.

Stack

  • Python 3.11
  • Aiogram / Pyrogram
  • yt-dlp
  • Cobalt API
  • Flask
  • SQLite
  • Stripe
  • Railway

Role

Product & Engineering

Audience

Consumers · Subscribers · Operator

What Shipped

  • An open-source bot line (full, light) with 25-language localisation, maintained alongside the premium build
  • Premium v1.1 in production on Railway: bot, admin panel and auto-updater from one entrypoint
  • Save Restricted Content over MTProto for private channels, groups, topics and albums
  • A dump-channel relay carrying files past the 50 MB Bot API limit, capped by configuration
  • Four plans with per-platform, per-period quotas and duration caps, editable without a deploy
  • A passwordless web dashboard with linked Telegram accounts sharing one quota pool, and an admin panel covering plans, payments, users, logs, broadcast and backup
  • Stated openly: automated card payment is coded but not yet enabled; subscriptions are activated by the operator

What building this taught us

  1. 01

    A free utility becomes a product when it does one thing the alternatives structurally cannot.

  2. 02

    Platform limits are product constraints; design around them in the open.

  3. 03

    Put pricing in data so the business can change without a release.

  4. 04

    Every number on a marketing page should be read from configuration, not typed.

  5. 05

    For a one-person operation, the admin panel is the company.

We build the products we would want to operate ourselves.

Gheychi is one of the ventures we design, build, and run in-house at AshaVid.