Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShivangKakkar/Telegraph-Go-Bot
Telegram Bot based on Telegra.ph API
https://github.com/ShivangKakkar/Telegraph-Go-Bot
gotgbot telegram telegram-bot telegraph telegraph-api
Last synced: 24 days ago
JSON representation
Telegram Bot based on Telegra.ph API
- Host: GitHub
- URL: https://github.com/ShivangKakkar/Telegraph-Go-Bot
- Owner: ShivangKakkar
- Created: 2022-02-26T12:21:32.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T13:41:00.000Z (almost 2 years ago)
- Last Synced: 2024-05-19T01:59:07.646Z (7 months ago)
- Topics: gotgbot, telegram, telegram-bot, telegraph, telegraph-api
- Language: Go
- Homepage: https://t.me/StarkTelegraphBot
- Size: 41 KB
- Stars: 39
- Watchers: 1
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- BotList - Telegraph-Go-Bot - Telegraph API based Telegraph Manager Bot (Telegram Bot List / List of Source Codes)
README
## [Telegraph Go Bot](https://t.me/StarkTelegraphBot)
> A star ⭐ from you means a lot to me !
#### Telegram bot to do anything related to Telegraph. Written in Golang.
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
## Usage Guide
A detailed usage guide can be found here : [Telegraph Page](https://telegra.ph/Telegraph-Bot-Usage-Guide-Stark-Bots-02-26)
## Features
## Deployment
### Deploy to Heroku
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
1. Tap on above button and fill `TOKEN`.
2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
3. After deploying is complete, tap on "Manage App"
4. Check the logs to see if your bot is ready!### Local Deploying
1. Clone the repo
```markdown
git clone https://github.com/StarkBotsIndustries/Telegraph-Go-Bot
```2. Rename `.env.sample` to `.env` and fill values
3. Enter the directory
```markdown
cd Telegraph-Go-Bot
```4. Run all the files in the folder
```markdown
go run .
```## Environment Variables
#### Mandatory Vars
- `TOKEN` - Get this from [@BotFather](https://t.me/BotFather)
- `DATABASE_URL` - Postgres Database URL. If you are deploying on Heroku, they will automatically provide it.#### Non-Mandatory Vars
- `OWNER_ID` - Your Telegram ID [Recommended To Set]
- `LOG_CHAT` - Log errors to a Telegram Group. Must be a Chat ID of format `-10012345678`.
- `MUST_JOIN` - Telegram Chat where users must join to use the bot. Must be a Chat ID of format `-10012345678`.## Credits
- [Paul Larsen](https://github.com/PaulSonOfLars) for his [gotgbot](https://github.com/PaulSonOfLars/gotgbot) Library
- [I wanna thank me](https://www.google.com/search?q=i+wanna+thank+me), for my [Telegraph Library](https://github.com/StarkBotsIndustries/telegraph)[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
## Support
Channel :- [@StarkBots](https://t.me/StarkBots)
Group Chat :- [@StarkBotsChat](https://t.me/StarkBotsChat)
## :)
[![ForTheBadge made-with-go](http://ForTheBadge.com/images/badges/made-with-go.svg)](https://go.dev/)
[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/StarkBotsIndustries)
[![ForTheBadge makes-people-smile](http://ForTheBadge.com/images/badges/makes-people-smile.svg)](https://github.com/StarkBotsIndustries)