Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaomengxinx/telegram-onetext-bot
A telegram bot to create onetext image
https://github.com/xiaomengxinx/telegram-onetext-bot
hacktoberfest telegram telegram-bot vercel
Last synced: 15 days ago
JSON representation
A telegram bot to create onetext image
- Host: GitHub
- URL: https://github.com/xiaomengxinx/telegram-onetext-bot
- Owner: XiaoMengXinX
- License: gpl-3.0
- Created: 2022-08-04T09:47:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-26T16:03:02.000Z (over 1 year ago)
- Last Synced: 2024-10-15T19:40:55.873Z (22 days ago)
- Topics: hacktoberfest, telegram, telegram-bot, vercel
- Language: Go
- Homepage: https://t.me/one_text_bot
- Size: 25.8 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram OneText Bot
A telegram bot to create onetext image.
Thanks to [OneText_For_Android](https://github.com/lz233/OneText_For_Android)
Demo: [OneText Bot](https://t.me/one_text_bot)
Built-in font: [LxgwWenKai](https://github.com/lxgw/LxgwWenKai)
## Usage
On telegram group or private chat, send listed command to the bot:
`/onetext` - Get an onetext image
`/quote` - Reply to a message and quote it
`/custom` - Create an onetext image with your own text
For example, send the following message to the bot:
```
/custom Some\nrandom\ntext
Author
Source
https://example.com/
```Then you will get an onetext image like this:
## Deploy
**Notice: The Root Directory need to be set as "bot".**
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FXiaoMengXinX%2FTelegram-OneText-bot)
After your deploying on vercel, set the webhook url of the bot by requesting bot api like this:
```
https://api.telegram.org/bot/setWebhook?url=https:///
```Then you can use your bot on telegram.