MCPcopy
hub / github.com/tgdrive/teldrive

github.com/tgdrive/teldrive @1.8.3 sqlite

repository ↗ · DeepWiki ↗ · release 1.8.3 ↗
573 symbols 1,972 edges 84 files 103 documented · 18%
README

Teldrive

Ask DeepWiki

Teldrive is a powerful utility that enables you to organise your telegram files and much more.

Advantages Over Alternative Solutions

  • Exceptional Speed: Teldrive stands out among similar tools, thanks to its implementation in Go, a language known for its efficiency. Its performance surpasses alternatives written in Python and other languages, with the exception of Rust.

  • Enhanced Management Capabilities: Teldrive not only excels in speed but also offers an intuitive user interface for efficient file interaction which other tool lacks. Its compatibility with Rclone further enhances file management.

[!IMPORTANT] Teldrive functions as a wrapper over your Telegram account, simplifying file access. However, users must adhere to the limitations imposed by the Telegram API. Teldrive is not responsible for any consequences arising from non-compliance with these API limits.You will be banned instantly if you misuse telegram API.

Visit https://teldrive-docs.pages.dev for setting up teldrive.

Recognitions

divyam234%2Fteldrive | Trendshift

Best Practices for Using Teldrive

Dos:

  • Follow Limits: Adhere to the limits imposed by Telegram servers to avoid account bans and automatic deletion of your channel.Your files will be removed from telegram servers if you try to abuse the service as most people have zero brains they will still do so good luck.
  • Responsible Storage: Be mindful of the content you store on Telegram. Utilize storage efficiently and only keep data that serves a purpose.

Don'ts:

  • Data Hoarding: Avoid excessive data hoarding, as it not only violates Telegram's terms.

By following these guidelines, you contribute to the responsible and effective use of Telegram, maintaining a fair and equitable environment for all users.

Contributing

Feel free to contribute to this project.See CONTRIBUTING.md for more information.

Donate

If you like this project small contribution would be appreciated Paypal.

Star History

Star History Chart

Extension points exported contracts — how you extend this code

BotSelector (Interface)
BotSelector selects the next bot for a user using round-robin [3 implementers]
internal/tgc/bot_selector.go
Storage (Interface)
Storage defines the interface for all session storage backends It wraps gotd/td/session.Storage with additional lifecycl [3 …
internal/tgstorage/storage.go
EventBroadcaster (Interface)
EventBroadcaster defines the interface for event broadcasting [1 implementers]
internal/events/broadcaster.go
Cacher (Interface)
(no doc) [2 implementers]
internal/cache/cache.go
ZapLogger (Interface)
(no doc) [1 implementers]
internal/chizap/chizap.go
ChunkSource (Interface)
(no doc) [1 implementers]
internal/reader/tg_reader.go
Pool (Interface)
(no doc) [1 implementers]
internal/pool/pool.go
ReadSeekCloser (Interface)
(no doc)
internal/crypt/cipher.go

Core symbols most depended-on inside this repo

Error
called by 143
internal/chizap/chizap.go
String
called by 67
internal/duration/duration.go
Set
called by 34
internal/cache/cache.go
Delete
called by 26
internal/cache/cache.go
GetUser
called by 25
internal/auth/auth.go
Ptr
called by 24
internal/utils/utils.go
Close
called by 24
internal/pool/pool.go
Get
called by 20
internal/cache/cache.go

Shape

Method 254
Function 201
Struct 98
Interface 8
TypeAlias 8
FuncType 4

Languages

Go100%

Modules by API surface

internal/crypt/cipher.go37 symbols
internal/config/config.go36 symbols
internal/cache/cache.go22 symbols
pkg/services/file.go21 symbols
internal/events/broadcaster.go19 symbols
cmd/check.go19 symbols
pkg/services/file_query_builder.go16 symbols
pkg/services/api.go16 symbols
internal/logging/logger.go16 symbols
internal/tgstorage/peer_storage.go15 symbols
pkg/services/auth.go14 symbols
internal/tgc/tgc.go12 symbols

Dependencies from manifests, versioned

filippo.io/edwards25519v1.1.0 · 1×
github.com/Masterminds/semver/v3v3.4.0 · 1×
github.com/WinterYukky/gorm-extra-clause-pluginv0.4.0 · 1×
github.com/beevik/ntpv1.5.0 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/davecgh/go-spewv1.1.2-0.20180830191 · 1×
github.com/dgryski/go-rendezvousv0.0.0-2020082301473 · 1×
github.com/dlclark/regexp2v1.11.5 · 1×

For agents

$ claude mcp add teldrive \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact