Skip to main content

Built and signed on GitHub Actions

a plugin for lightning that adds support for telegram

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
2 months ago (0.7.4)

lightning-plugin-telegram

lightning-plugin-telegram is a plugin for lightning that adds support for telegram

example config

import type { config } from 'jsr:@jersey/lightning@0.7.4';
import { telegram_plugin } from 'jsr:@jersey/lightning-plugin-telegram@0.7.4';

export default {
	redis_host: 'localhost',
	redis_port: 6379,
	plugins: [
		telegram_plugin.new({
			bot_token: 'your_token',
			plugin_port: 8080,
			plugin_url: 'https://your.domain/telegram/',
		}),
	],
} as config;

notes

this plugin has a telegram file proxy, which should be publically accessible so that you don't leak your bot token when bridging attachments or profile pictures

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@jersey/lightning-plugin-telegram

Import symbol

import * as mod from "@jersey/lightning-plugin-telegram";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@jersey/lightning-plugin-telegram";

Add Package

npx jsr add @jersey/lightning-plugin-telegram

Import symbol

import * as mod from "@jersey/lightning-plugin-telegram";

Add Package

yarn dlx jsr add @jersey/lightning-plugin-telegram

Import symbol

import * as mod from "@jersey/lightning-plugin-telegram";

Add Package

pnpm dlx jsr add @jersey/lightning-plugin-telegram

Import symbol

import * as mod from "@jersey/lightning-plugin-telegram";

Add Package

bunx jsr add @jersey/lightning-plugin-telegram

Import symbol

import * as mod from "@jersey/lightning-plugin-telegram";