npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-mtproto-devdace

v0.1.0

Published

Telegram MTPROTO API integration for n8n (devdace fork) - real-time new message listening from all chats

Readme

n8n-nodes-mtproto-devdace

This is an n8n community node maintained by devdace that provides Telegram MTPROTO API integration for real-time message listening and automation workflows. The node extends the original veezex/n8n-nodes-telegram-mtproto project and focuses on stable delivery of all Telegram updates (personal chats, groups, supergroups, channels, bots) so you can build advanced workflows in n8n.

n8n is a fair-code licensed workflow automation platform.

Links

  • npm: npm install n8n-nodes-mtproto-devdace
  • GitHub: https://github.com/apipiyum-development/n8n-nodes-mtproto-devdace
  • Original inspiration: https://github.com/veezex/n8n-nodes-telegram-mtproto

Installation

Follow the community nodes installation guide in the n8n docs.

Install from npm:

npm install n8n-nodes-mtproto-devdace

Quick Start

  1. Get your Telegram API credentials from https://my.telegram.org/apps
  2. Generate a session string using bun run test:connection (see Credentials)
  3. Create a Personal Telegram MTPROTO API credential in n8n (api_id, api_hash, phone number, session string)
  4. Add the Telegram MTPROTO Devdace Trigger node to your workflow
  5. Start the workflow and send a message from any chat (private/group/channel) — the trigger should emit the event in n8n immediately

Operations

Telegram MTPROTO Devdace Trigger

  • Listens for every new message the authenticated Telegram account can access (personal chats, groups, supergroups, channels, bots)
  • Emits raw message metadata plus convenience flags (isPrivate, isGroup, isChannel)
  • Does not apply built-in filters so you can decide how to branch logic in your workflow

Credentials

Prerequisites

  • Telegram account with access to https://my.telegram.org/apps
  • Bun runtime installed (for session string generation)

Steps

  1. Visit https://my.telegram.org/apps and create/register an app
  2. Save your api_id and api_hash
  3. Run the session helper:
    bun install
    bun run test:connection
  4. Follow the CLI prompts (phone number, verification code, 2FA password if any)
  5. Copy the generated session string into the n8n credential

Creating the credential in n8n

  1. Go to Credentials → New → Personal Telegram MTPROTO API
  2. Fill api_id, api_hash, phoneNumber, sessionString
  3. Save — you’re ready to use the trigger

Build & Development

This project uses Bun for installs and scripts.

bun install
bun run dev      # watch mode
bun run build    # compile to dist/
bun run lint     # lint sources
bun run format   # prettier fix

Testing in n8n locally

  1. Build the node (bun run build)
  2. In your n8n instance, install the community node either from npm or via local files (Advanced → Community Nodes → Add)
  3. Configure the credential as described above
  4. Create a simple workflow: Telegram MTPROTO Devdace Trigger → Set → …
  5. Activate the workflow and send a message from another Telegram account to your main account (or in a group/channel)
  6. Verify the event payload inside n8n

Publishing to npm

  1. Update the version in package.json (e.g., 0.1.1)
  2. Run bun run build
  3. Login and publish:
    npm login
    npm publish --access public

Credits