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
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
Stark Bots π
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
A bot based on this will be released till tomorrow [India]. It's almost ready.
β€4π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
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.
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 β€
- 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
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
- 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
Which bot(s) do you like the most?
Anonymous Poll
44%
Channel Automation Bot
27%
Telegraph Bot (newer one)
27%
String Session Generator
16%
Delete Events Bot
16%
OCR Bot
14%
Urban Dictionary Bot
16%
Brainy Quote Bot
27%
Whisper Message Bot
23%
Other (mention it/them in comments)
π₯4π3π₯°3β€1π1π1
π Delete All Messages Bot
[Update] v0.2.0
- Added Channel Support
- Updated PyStark and Python
Username - @StarkDeleteAllBot
[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
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
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
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_urlWhy 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.
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
π 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
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
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
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
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
Stark Bots now has more than 500 total stars on GitHub. That's an awesome achievement for me. Thank You π»
π₯12β€8π4π1
Forwarded from PyStark Updates
PYSTARK v1.0.0
First Major Version
Changelog:
There were too much changes so I couldn't make a full changelog. But basically:
β₯ Enhanced project settings, inspired from django.
β₯ Added brand new addons for additional features in bots.
β₯ Brand-new documentation using Mkdocs instead of Sphinx.
β₯ Database migration methods for
β₯ Added other useful methods like
β₯ Improved boilerplate in favour of new features.
β₯ Added documentation for project settings using
β₯ Removed customization options from
Removed pystark.database.postgres in favour of
β₯ Added sudo users support for bots which can be set using SUDO_USERS environment variable.
β₯ Allow username as OWNER_ID instead of only user_id
β₯ Pre-made models for users and bans table.
β₯ And much, much more!
See the brand new documentation - https://pystark.codes
First Major Version
Changelog:
There were too much changes so I couldn't make a full changelog. But basically:
β₯ Enhanced project settings, inspired from django.
β₯ Added brand new addons for additional features in bots.
β₯ Brand-new documentation using Mkdocs instead of Sphinx.
β₯ Database migration methods for
pystark.database.sql.Database class like add_column, remove_column, etc.β₯ Added other useful methods like
β₯ Improved boilerplate in favour of new features.
β₯ Added documentation for project settings using
settings.pyβ₯ Removed customization options from
Stark.activate() as they can be configured using settings.py now.Removed pystark.database.postgres in favour of
pystark.database.sql.β₯ Added sudo users support for bots which can be set using SUDO_USERS environment variable.
β₯ Allow username as OWNER_ID instead of only user_id
β₯ Pre-made models for users and bans table.
β₯ And much, much more!
See the brand new documentation - https://pystark.codes
β€4π3π₯3