Borrowing it
Nothing to install: this file belongs to popstas/telegram-download-chat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/popstas/telegram-download-chat/master/.windsurfrulesgit clone --depth 1 https://github.com/popstas/telegram-download-chatWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/popstas/telegram-download-chat/windsurfrules)<a href="https://agentmods.dev/rules/popstas/telegram-download-chat/windsurfrules"><img src="https://agentmods.dev/badge/rules/popstas/telegram-download-chat/windsurfrules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/popstas/telegram-download-chat/windsurfrules"><img src="https://agentmods.dev/badge/rules/popstas/telegram-download-chat/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00515 | $0.00515 |
| Opus 5.5 | $0.00206 | $0.00206 |
| Sonnet 5.5 | $0.00103 | $0.00103 |
| Haiku 4.5 | $0.00052 | $0.00052 |
Grade A, and why
windsurfrules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Update README.md after features changes.
Use telegram-download-chat for run cli.
После build_windows.ps1 запускай приложение.
Telegram Download Chat GUI Structure
Project Structure
src/telegram_download_chat/ ├── gui/ # Main GUI package │ ├── init.py # Package initialization │ ├── main.py # Main application entry point │ ├── worker.py # Background worker thread │ ├── windows/ # Window classes │ │ └── main_window.py # Main application window │ │ │ ├── widgets/ # Custom widgets │ │ ├── file_list.py # File list with preview │ │ └── log_viewer.py # Log viewing widget │ │ │ ├── tabs/ # Application tabs │ │ ├── download_tab.py # Download tab │ │ ├── convert_tab.py # Convert tab │ │ └── settings_tab.py # Settings tab │ │ │ └── utils/ # Utility modules │ ├── config.py # Configuration management │ ├── file_utils.py # File operations │ └── telegram_auth.py # Telegram authentication │ └── gui_app_.py # Old GUI implementation (renamed)
Key Components
-
Main Window
- Central widget with tabbed interface
- Menu bar with File, Edit, View, Help
- Status bar with progress indicators
-
Tabs
- Download Tab: For downloading chat history
- Convert Tab: For converting between formats (future)
- Settings Tab: Application configuration
-
Widgets
- FileList: Displays downloaded files with preview
- LogViewer: Shows log output with copy/expand features
-
Worker Thread
- Handles long-running operations
- Emits progress and completion signals
Development Notes
- Uses PySide6 for the GUI
- Follows MVC pattern where possible
- Uses signals/slots for inter-component communication
- Config stored in YAML format
- Session management for Telegram authentication
Running the Application
- Use
python -m telegram_download_chat.gui.mainto start the GUI - Or use the launcher:
python launcher.py
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 63 lines · 515 tokens per session scan A 5e558434897b
windsurfrules is a cursor rule published in the GitHub repository popstas/telegram-download-chat (226 stars, last pushed 11d ago), licensed MIT. It adds 515 tokens to every session, about $0.0021 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.
windsurfrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| windsurfrulespopstas/telegram-download-chat | Cursor rule | 226 | 11d ago | MIT | A | 515 | Windsurf |
| ponytailDietrichGebert/ponytail | Cursor rule | 185k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 101k | yesterday | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 75k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |
| config-validation-and-normalizationprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |
| control-plane-descriptorsprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |