Skip to main content
Home

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
11 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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

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

Import symbol

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

Import directly with a jsr specifier

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

Add Package

pnpm i jsr:@jersey/lightning-plugin-telegram
or (using pnpm 10.8 or older)
pnpm dlx jsr add @jersey/lightning-plugin-telegram

Import symbol

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

Add Package

yarn add jsr:@jersey/lightning-plugin-telegram
or (using Yarn 4.8 or older)
yarn dlx jsr add @jersey/lightning-plugin-telegram

Import symbol

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

Add Package

vlt install jsr:@jersey/lightning-plugin-telegram

Import symbol

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

Add Package

npx jsr add @jersey/lightning-plugin-telegram

Import symbol

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

Add Package

bunx jsr add @jersey/lightning-plugin-telegram

Import symbol

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