https://github.com/coldnew/esunconsulting-bot
A bot to fetch esunconsulting report and send to telegram group
https://github.com/coldnew/esunconsulting-bot
clojure stock taiwan telegram-bot
Last synced: about 2 months ago
JSON representation
A bot to fetch esunconsulting report and send to telegram group
- Host: GitHub
- URL: https://github.com/coldnew/esunconsulting-bot
- Owner: coldnew
- License: agpl-3.0
- Created: 2018-03-09T06:16:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T04:31:32.000Z (over 7 years ago)
- Last Synced: 2025-08-01T13:42:01.819Z (2 months ago)
- Topics: clojure, stock, taiwan, telegram-bot
- Language: Clojure
- Size: 72.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# esunconsulting-bot
[](https://github.com/coldnew/esunconsulting-bot)
[](http://opensource.org/licenses/AGPL-3.0)A telegram bot to fetch report from [Esunconsulting](https://www.esunconsulting.com.tw/all_reports.asp) then send to specific telegram group.
## Usage (lein)
Modify `resources/config.edn`, replace following with your telegram's info:
``` clojure
{
:esunconsulting/token "YOUR-TELEGRAM-BOT-TOKEN"
:esunconsulting/chat-id "YOUR-TELEGRAM-GROUP-CHAT-ID"
}
```The first time to run this bot, you need to generate/migrate the database:
``` shell
lein run -- migrate
```then, just run
``` shell
lein run
```## Usage (Docker)
Modify `resources/config.edn`, replace following with your telegram's info:
``` clojure
{
:esunconsulting/token "YOUR-TELEGRAM-BOT-TOKEN"
:esunconsulting/chat-id "YOUR-TELEGRAM-GROUP-CHAT-ID"
}
```If you want to run this bot on x86 machine, just:
``` shell
docker-compose -f docker-compose.x86.yml up -d
```If you want to run this bot on arm machine, do:
``` shell
docker-compose -f docker-compose.arm.yml up -d
```## Screenshots
This is the screenshot what this bot does, I use it on my own telegram group.

## License
Copyright © 2018 Yen-Chin, Lee <>
Distributed under the [GNU Affero General Public License 3.0 (AGPL-3.0)](https://www.gnu.org/licenses/agpl-3.0.en.html).