losparviero / Bypass-Paywalls-Telegram-Bot

Unblock web sites with paywalled articles by forwarding links to Telegram!

Home Page:https://bp-zub.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bypass Paywalls Telegram Bot

Unblock web sites with paywalled articles by forwarding links to Telegram!


Install

  1. Clone git repo.
  2. Run npm i in project folder. This will install the required dependencies.
  3. Populate .env file with bot token.

Bot token can be obtained from @BotFather.

  1. Run node bot to start the bot.

It's advisable to run the bot using PM2 or any startup manager for persistent execution, as this ensures you won't have to have the terminal open. You can set up auto-start as well. Or pass a cron job.

Alternatively, you can just use my instance at @nopaywallbot.


Uninstall

  1. Use rm -rf.

Note: If you're unfamiliar with this command, delete project folder from file explorer.


Mechanism

The bot detects links and prepends 'https://12ft.io/' to use the 12ft.io service to unblock articles.


Copyright (C) 2023  Zubin

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

Unblock web sites with paywalled articles by forwarding links to Telegram!

https://bp-zub.vercel.app

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 99.5%Language:Shell 0.5%