Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vyorkin/haskbot
:construction: Haskell interpreter telegram bot. WIP.
https://github.com/vyorkin/haskbot
haskell telegram
Last synced: 2 months ago
JSON representation
:construction: Haskell interpreter telegram bot. WIP.
- Host: GitHub
- URL: https://github.com/vyorkin/haskbot
- Owner: vyorkin
- License: mit
- Created: 2020-04-16T18:02:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T16:22:44.000Z (over 4 years ago)
- Last Synced: 2024-08-02T13:32:43.048Z (6 months ago)
- Topics: haskell, telegram
- Language: Haskell
- Homepage:
- Size: 76.2 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Build Status](https://travis-ci.com/vyorkin/haskbot.svg?token=nu1z24pQGqA71eE3ivzP&branch=master)](https://travis-ci.com/vyorkin/haskbot)# Haskbot
Telegram bot for Haskellers.
This is a work in progress, not ready for usage yet.![Screen1](img/screen1.png)
## Warning
I’m still a Haskell beginner, so I may do things wrong.
## Building
I hope you won’t try to build it locally, but anyway…
Run these commands in the project root directory:
```sh
echo "optional-packages: vendor/**/*.cabal" > cabal.project.local
mkdir vendor
git clone --single-branch --branch add-monad-fail-inst https://github.com/vyorkin/telegram-bot-simple.git vendor/
make all
```To run a Telegram bot you need to create one first, by asking
[BotFather](https://telegram.me/botfather) — a specialised bot
that allows you to create new bots.Then, create your own config:
```sh
cp config.example.toml config.toml
```Edit the `config.toml` to set your bot token.
Now you can run your bot (hopefully).