Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abserari/golangbot
telegram or other platform to reply the golang program's process result.
https://github.com/abserari/golangbot
Last synced: 1 day ago
JSON representation
telegram or other platform to reply the golang program's process result.
- Host: GitHub
- URL: https://github.com/abserari/golangbot
- Owner: abserari
- License: mit
- Created: 2020-03-24T10:26:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T03:55:27.000Z (over 2 years ago)
- Last Synced: 2024-11-24T17:13:27.915Z (about 2 months ago)
- Language: Go
- Size: 12.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# golangbot
telegram or other bot by golang.
https://www.yuque.com/abser/solutions## Run Golang bot
![Picture](https://cdn.nlark.com/yuque/0/2020/png/176280/1585055803036-c05e1d2c-9195-460f-b4f1-e2854d7b60d2.png)## View Pixiv Picture
支持翻页![Picture](https://cdn.nlark.com/yuque/0/2021/png/176280/1610166356617-482bae82-3898-4c32-b68a-af8925ed5aa8.png?x-oss-process=image%2Fresize%2Cw_738)
支持 Inline
## Usage
### Pre
- Docker or Go v1.15+
- TelegramBot Token @botfather
- PixivCookies or Username&Password [optional]### Docker
Download the example.yaml and edit for yourself token.
```bash
docker run --restart=always -v ~/techcatbot/config.yaml:/config.yaml yhyddr/golangbot-pixiv-telegram
```### Build
```bash
git clone https://github.com/abserari/golangbotcd golangbot
# edit the config.yaml
go run main.go
```