Stark Bots πŸŽ„
2.32K subscribers
36 photos
2 files
80 links
Awesome Telegram Bots based on Python

Github : https://github.com/StarkBotsIndustries

Bots List : https://t.me/StarkBots/7
Download Telegram
v1.0.0 of Video Sticker Bot πŸŽƒ

We have added some new features and fixed the major bugs in this update. Some of the code has been rewritten and restructured to be more pythonic.

1) Settings - There are all new settings to do some default configurations to be used while using the bot. The command is /settings. Please read points 2-5 about all settings.

2) Kang Mode - Who doesn't know the term kanging? Now you can kang/clone stickers from others packs to your pack by simply sending the existing video sticker. You need to turn on the setting 'Kang Mode' in /settings

3) Default Emojis - All stickers had ❀ (red heart) emoji right? But love's boring. Now you can change default emojis that will be used for all your stickers. Checkout the "Default Emojis" setting in /settings

4) Sticker to WEBM - Bot could already provide WEBM files for your stickers. But now you can also get WEBM files for other people's packs. Turn on "Get WEBM" setting in /settings. Please note that "Kang Mode" takes precedence over "Get WEBM" setting. If both are turned on, only "Kang Mode" will be executed.

5) Custom Emojis for Sticker - Even if you followed point 3, all your stickers will have same emojis. Or you will have to change that setting again and again. But you may not want that right? You can turn on "Ask for Emojis" setting. Bot will ask for emojis before adding your sticker to pack. Note that this setting overrides 'Default Emojis' settings. If both are turned on, bot will ask for emojis instead of using default ones specified by you.

6) List of Packs - Now you can list your packs using the new /packs command

7) Ban/Unban - Sending pornographic materials will lead to ban. Some have already been banned.

8) Major BugFix - A major bug and probably the last known bug has been solved. Telegram has 256 KiB limit for Video Stickers. The bot will try to convert videos like before as high quality as possible. But if it's not successful it'll try to resize the file which may decrease the quality a little bit. It will possibly be negligible but I can't be sure as it was only tested twice.

# ----------------------------------------------- #

Note
- Flag emojis are currently not supported but will be added soon.
- You may not know but telegram can associate multiple emojis with same sticker. As per my research, on Android you can only see 1 emoji except Tgx which shows 5 emojis. Telegram Desktop shows 10. So, don't exceed 10.
- [For Developers] - 555-560k is estimated bitrate for files to fit in 256KiB
- All these updates aren't totally tested and therefore are in beta.
- By default all settings are False
❀8πŸ‘5
We told you about a group management bot right? Oh no, it's not ready yet. But here's an update. The bot will only have features that are related to group management. For fun features there will be a separate bot. This way we can maintain load and speed even when hosting freely. Though it's premature optimization but I guess it's important after my past experience. Also, the name has been decided. It'll be "Miley" (well, most probably, as I change my mind a lot) which is inspired from our old group management bot which was a clone of Cinderella which further was a clone of Marie. Or you can say modified. But yeah, this time it'll be made from scratch, but still in python using pyrogram. The core is done anyway. Database and plugins are left which go hand-in-hand.
πŸ‘5πŸ”₯2❀1
Here's a new library

Golang Bindings for Telegraph API

This is my first project in Go. If you are a go developer, feel free to point out mistakes.

Give a star if you like it.

Docs can be found here : https://pkg.go.dev/github.com/StarkBotsIndustries/telegraph
❀3πŸ‘3
Should the new Telegraph bot be Open Source?
Final Results
88%
Yeah. I would STAR ⭐ the repository.
12%
No need.
πŸ‘4❀2πŸ”₯1
Telegraph Go Bot

A bot to do almost anything related to Telegraph

Username - @StarkTelegraphBot

Usage Guide - https://telegra.ph/Telegraph-Bot-Usage-Guide-Stark-Bots-02-26

Source Code ⭐ - https://github.com/StarkBotsIndustries/Telegraph-Go-Bot

Features
1) Create Accounts [Multiple]
2) Edit Account Info
3) Manage/List Accounts
4) Add existing accounts
5) Remove accounts
6) Create Pages
7) Edit pages
8) List all pages
9) Get views of a page
10) Upload files to Telegraph
11) Upload multiple images a page [requested]
... and more?

Give a ⭐ star if you like this project on our repository :/

Written in Golang
😁6πŸ”₯3πŸ‘2❀1🀯1
Stark Bots πŸŽ„
Should the new Telegraph bot be Open Source?
"158" will star. Nice.

Also, if you are worried about tokens and privacy, so I don't think that matters much. You can generate unlimited accounts anyway

But if it does matter to you, and if you don't trust the dev (me) then never use it.
πŸ‘2❀1
πŸŽ‰ Telegraph Bot [Update] v0.2.0

- Default Author Name and Author URL will be automatically added below page titles. See example here

You can change them using /editauthorname and /editauthorurl.

- Edited pages will inherit the latest default Author Name and URL.

....Other Changes

Username - @StarkTelegraphBot

Thanks to the people who starred the project ❀
πŸŽ‰4❀1
πŸŽ‰ Telegraph Bot [Update] v0.3.0

- Custom Titles for Image Pages.

- Author Name and Title (like v0.2.0) in Image pages as well.

- You can have caption below images. Bot will just copy the image caption in message and add it

- Update Usage Guide


> Ignore Below Message as it's too long. I don't why I wrote that <

Little Bit Info
If you don't know, telegraph bot can also convert multiple images to a single telegraph page. This makes it incredibly easy to share them. Just send any number of images, and press "Upload as a Page"

How
Using the new /title command. You can set a custom title using /title your_title_here. It'll be automatically used in next telegraph page.

Also
See current title using /title, without passing anything

Note
- Title will be set to None, once it's used. Set again using same process.
- This title is temporary and thus not stored in database. It'll be erased after each deploy (like new feature) [actually at each restart]


Username - @StarkTelegraphBot
πŸ‘4❀1πŸ”₯1😁1πŸŽ‰1
2500 Subscribers πŸŽ‰ Thank You 🍻
❀13πŸ”₯3πŸŽ‰2πŸ‘1
πŸŽ‰ Delete All Messages Bot

[Update] v0.2.0

- Added Channel Support
- Updated PyStark and Python

Username - @StarkDeleteAllBot
πŸ‘7❀1
πŸŽ‰ Link To Media Bot

aka Media Downloader Bot
aka DL Bot

A bot to download media from thousands of different links including YouTube, Facebook, Instagram, Spotify, Deezer and so on.

Features:
1. Only one feature currently: send link, get media

I made it rather quick so didn't think of any features. But like always, suggestions are welcome in support group.

Restrictions:
1. "Erotica" is not allowed. Even the related words are banned. So don't send the word "porn".
2. One link at a time.
3. Bot can be banned by telegram any time.

Which URLs are supported?
- Try yourself in the bot. Don't ask

Username: @LinkToMediaBot
❀2πŸ‘2
πŸ”§ Error Fixer Bot πŸ”§

This is a temporary bot to fix a usual error.

Most of you maybe getting an error "psycopg2.errors.NumericValueOutOfRange" while deploying some bots including my old bots. This bot will help you fix it.

Why does it occur?
Telegram User IDs used to be 32-bit integers. But as it's growing popular, it's not enough now. Anyhow, the IDs are now 64-bit integers. 32-bit and 64-bit play a very important role in systems, therefore in programming languages and databases.

Old bots saved IDs as 32-bit integers. New IDs are 64-bit and therefore can't be added to those particular columns of database. That is why, bot throws an exception.

How to fix it?
Database Columns have a particular type. Sqlalchemy (python sql library) saves 32-bit integers in a column type called "Integer" and 64-bit integers in a column type called "BigInteger". The way to fix it is just to change the column type from Integer to BigInteger.

How to use the bot?
Send the command 'fix' with your DATABASE_URL. Please note that database URL is a special private key. Anyone with access to it can change the data in your database. So, use the bot only if you trust us.

Example /fix your_database_url

Why don't developers fix their repositories?
Because we are too lazy!

What else?
If the URL is correct, the bot'll fix it. But please note that it fixes the database, not the code. If you'll not redeploy from the same code then you don't need to do anything. Otherwise you need to change "Integer" to "BigInteger" in the code. In my repositories, there's a folder called database. Just change it's code in your fork.

If you also got "RollbackError", please restart the bot.

Username - @DatabaseMigrationBot
❀4πŸ‘2
Stark Bots πŸŽ„
πŸ”§ Error Fixer Bot πŸ”§ This is a temporary bot to fix a usual error. Most of you maybe getting an error "psycopg2.errors.NumericValueOutOfRange" while deploying some bots including my old bots. This bot will help you fix it. Why does it occur? Telegram User…
Note:
You shouldn't redeploy after using /fix command. Restart but not Redeploy. Redeployment will create a new database. This fix is to fix the current database, which is already deployed.
πŸ‘3😁2❀1
2700 Subscribers πŸŽ‰ Thank You

Edit: 26 March: 2600
❀5πŸŽ‰3
πŸŽ‰ Web Screenshot Bot

A bot to get screenshot of webpages in different resolutions/viewports. Just send the url and choose a resolution

Supported Resolutions:
1. Desktop View (1128x633)
2. Mobile View (360x672)
3. iPad View (768x1024)
4. 640x480
5. 800Γ—600
6. 1280x720
7. 2560x1440

Note: URLs must start with "https://" or "http://"

Suggestions are welcome in support group.

Username: @Web_Screenshot_Bot
❀8πŸ‘1😁1
Stark Bots πŸŽ„
πŸŽ‰ Web Screenshot Bot A bot to get screenshot of webpages in different resolutions/viewports. Just send the url and choose a resolution Supported Resolutions: 1. Desktop View (1128x633) 2. Mobile View (360x672) 3. iPad View (768x1024) 4. 640x480 5. 800Γ—600…
Web Screenshot Bot v0.1

Added /settings command.

You can set "Send as Document" to true if you want to get screenshots as documents otherwise bot will send them as regular photos.
Defaults to False.

Thanks for suggestion
❀4πŸ‘2
Forwarded from Stark Bots πŸŽ„
Bots List and Status -

1) Urban Dictionary Bot βœ…

2) Anonymous Sender ❌ [deprecated]

3) Whisper Message Bot βœ…

4) Brainy Quote Bot βœ…

5) Rename Files Bot βœ…

6) Sticker Tools Bot βœ…

7) OCR [Image to Text] Bot βœ…

8) Telegraph Bot βœ…

9) Channel Bot βœ…

10) Pyrogram String Session Generator βœ…

11) Instagram Downloader Bot ❌

12) PDF Tools Bot βœ…

13) Force Subscribing Bot βœ…

14) Delete Events Bot βœ…

15) ID Bot βœ…

16) Time Bot βœ…

17) Go File Bot βœ…

18) Stark Assistant ❌

19) Delete All Messages Bot βœ…

20) Restricted Content Bot βœ…

21) Video Sticker Bot βœ…

22) Link to Media Bot βœ…

23) Error Fixer Bot (Temporary) βœ…

24) Web Screenshot Bot βœ…


Libraries

PyStark - Create your own bots using this Pyrogram add-on

Telegraph - Golang bindings for Telegraph API
πŸ‘6❀1πŸ₯°1πŸ‘1😁1
Forwarded from Stark Bots πŸŽ„
⭐️ Thanks for the GitHub Stars ⭐️

This list represents all the open source repositories by Stark Bots. If you appreciate one or more of these projects, give them a star on GitHub.

Same list can be found on GitHub

Bot List - 12 stars

Libraries

PyStark - 25 stars

Telegraph - 10 stars (Golang)

Bots

1) Channel Automation Bot - 46 stars

2) String Session Bot - 33 stars

3) Whisper Bot - 31 stars

4) Telegraph Go Bot - 28 stars (Golang)

5) Rename Telegram Bot - 28 stars

6) Anonymous Sender Bot - 27 stars

7) OCR Bot - 24 stars

8) Telegraph Bot - 23 stars

9) PDF Bot - 22 stars

10) Sticker Tools Bot - 19 stars

11) Brainy Quote Bot - 19 stars

12) Force Subscribe Bot - 19 stars

13) Urban Dictionary Bot - 18 stars

14) Time Bot - 18 stars

15) Go File Bot - 18 stars

16) Instagram Bot - 17 stars

17) ID-Bot - 17 stars

18) DeleteEventsBot - 13 stars

19) DeleteAllBot - 11 stars

Others

GitHub Profile - 15 stars

Heroku Buildpack Nim - 5 stars
❀14πŸ”₯6πŸ‘4πŸ‘1😁1
First major version of @pystark will be released soon which will also have a new look for the documentation. This is a preview.
❀6πŸŽ‰2🀩2πŸ‘1