Giter VIP home page Giter VIP logo

shortenerbot's Introduction

Telegram ShortenerBot

ShortenerBot:

🇬🇧 Telegram Link Shortener Bot (11 + 9 Shorteners)

🇹🇷 Telegram Link Kısaltıcı Bot (11 + 9 Kısaltıcı)

All supported domains: v.gd, da.gd, is.gd, ttm.sh, clck.ru, chilp.it, osdb, tinyurl, owly

Requires APIKEY: shorte.st, bc.vc, pubiza, linkvertise, bit.ly, post, cutt.ly, adf.ly, shortcm, tinycc, ouo.io

Deploy

Setting up config file

🇬🇧 Click Here 🇹🇷 Buraya Tıkla
Required Variables:

  • BOT_TOKEN: Telegram Bot Token. Example: 3asd2a2sd32:As56das65d2as:ASd2a6s3d26as
  • APP_ID: Telegram App ID. Example: 32523453
  • API_HASH: Telegram Api Hash. Example: asdasdas6d265asd26asd6as1das
  • AUTH_IDS: Auth only some groups or users. If you want public, leave it empty or give 0. Example: -100656 56191 -10056561
  • BOT_USERNAME: Your bot's username. without @. Example: ShortenerBot

Other Variables:

  • OWNER_ID: Bot's owner id. Send /id to t.me/MissRose_bot in private to get your id Required for logs. If you don't want, leave it empty
  • Shortener Variables:
    • Not required signup: v.gd, da.gd, is.gd, ttm.sh, clck.ru, chilp.it, osdb, owly
    • Required signup: shorte.st, bc.vc, pubiza, linkvertise, bit.ly, post, cutt.ly, adf.ly, shortcm, tinycc, tinyurl, ouo.io
    • shortest: Enter Api Key if you want.
    • bcvc: Enter Api Key if you want. bc.vc sample api: "2dgdg5f1fgag7cg6f0622&uid=45634"
    • pubiza: Enter Api Key if you want. pubiza sample api: "hsdfgCgdgrsdfgsfgfgsdgLsfgXef mainstream". Split api key and ad type with a space. Genel içerik için: mainstream Yetişkin içerik için: adult İçerik Kilidi için: content_locker
    • linkvertise: Enter Api Key if you want.
    • bitly: Enter Api Key if you want.
    • post: Enter Api Key if you want.
    • cuttly: Enter Api Key if you want.
    • adfly: Enter Api Key if you want. adfly sample api: "hsdfgCgdgrsdfgsfgfgsdgLsfgXef 51515155" Split api key and user id with a space.
    • shortcm: Enter Api Key if you want. shortcm sample api: "hsdfgCgdgrsdfgsfgfgsdgLsfgXef abcdotcom" Split api key and domain with a space.
    • tinycc: Enter Api Key if you want. tinycc sample api: "hsdfgCgdgrsdfgsfgfgsdgLsfgXef tinyccusername" Split api key and username with a space.
    • ouoio: Enter Api Key if you want.
  • AUTO_DEL_SEC: Global auto deletion seconds. Default 10.
  • AUTO_SHORT_MOTOR: If you want auto shorting, fill like is.gd. Useful for groups / channels. Auto Shorting. Default None. If you dont want, dont fill.
  • DELETE_AUTO_SHORTENED: Auto delete, auto-shortened link; after AUTO_DEL_SEC secs. Default False.
  • DELETE_COMMAND_SHORTENED: Auto delete, shortened with command link; fter AUTO_DEL_SEC secs. Default False.

Deploy

🇬🇧 Click Here 🇹🇷 Buraya Tıkla

Deploy to Heroku:

Deploy to Local:

  • install python to your machine
  • git clone https://github.com/HuzunluArtemis/ShortenerBot
  • cd ShortenerBot
  • pip install -r requirements.txt
  • python bot.py

Deploy to Vps:

  • git clone https://github.com/HuzunluArtemis/ShortenerBot
  • cd ShortenerBot
  • For Debian based distros sudo apt install python3 && sudo snap install docker
  • For Arch and it's derivatives: sudo pacman -S docker python

License

🇬🇧 Click Here 🇹🇷 Buraya Tıkla
GNU GPLv3 Image

ShortenerBot is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

shortenerbot's People

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.