Giter Club home page Giter Club logo

url-shortener-v2's Introduction

URL Shortener Bot V2

Fork Stars License Issues



Logo

URL Shortener Bot V2

A Shortener and Convertor Bot
· Report Bug · Features · Deploy · Variables

Table of Contents
  1. Description
  2. Usage
  3. Commands
  4. About
  5. Deploy
  6. Tech Stack
  7. Support
  8. Disclaimer
  9. Credits

Description

Now this bot can be used by users also. Only admin has access to channel support. Bot Owner API will be used in channel post converting. You can restrict users from using this bot by setting env IS_PRIVATE to True

This Is Just An Simple Advance Shortener and Converter Bot Completely Rewritten Version Of URL Shortener

Just Send Any Link To Short. It Will Short Link or Save it to your MDisk Account

Usage

**How To Use Me!?**

  • -> Send any link or post of links

  • -> Add me to your channel as admin with full previlages to convert channel's post

For more information about usages, see the documentation

Commands

start - start it
help - help Command
about - about Command
method - to set your preferred method
shortener_api - set shortener api
mdisk_api - set mdisk api
header - set header
footer - set footer
username - set username to replace others
banner_image - set banner image
me - know about you
base_site - change base site
include_domain - set include domain
exclude_domain - set exclude domain
stats - Stats of the server and bot

Admin only use commands

batch -100XX - to convert link for multiple posts
logs - Send the log messages
restart - restart / re-deploy the server
ban - to ban users
unban - to unban users
info - get user info

About

Features

Required Variables

Variable Name Value
API_ID (required) Telegram api_id obtained from https://my.telegram.org/apps.
API_HASH (required) Telegram api_hash obtained from https://my.telegram.org/apps.
BOT_TOKEN (required) Create a bot using @BotFather, and get the Telegram API token.
ADMINS ID of Admins. Separate multiple Admins by comma
OWNER_ID (required) ID of Owner.
DATABASE_URL (required) mongoDB URI. Get this value from mongoDB. For more help watch this video
DATABASE_NAME (required) Name of the database in mongoDB. For more help watch this video

Optional Variables

For more information about optional variables see the wiki documentation

Deploy

You can deploy this bot anywhere.

Name Deploy
Replit Replit (Recommended) See Guide
Heroku Heroku Deploy
Koyeb Koyeb Deploy to Koyeb
VPS VPS See Guide

Tech Stack

Language: Python 3.10.2

Library: Pyrogram 2.0.30

Support

Contact Our DEV For Support/Assistance

Report Bugs, Give Feature Requests There..
Do Fork And Star The Repository If You Liked It.

Disclaimer

GNU Affero General Public License v3.0
Licensed under GNU AGPL v3.0. Selling The Codes To Other People For Money Is Strictly Prohibited.

Credits

url-shortener-v2's People

Contributors

kevinnadar22 avatar ps705112 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.