https://github.com/danyspin97/fishgram
A wrapper written in fish for Telegram Bot API
https://github.com/danyspin97/fishgram
fish-shell just-for-fun shell-script telegram-bot
Last synced: 7 months ago
JSON representation
A wrapper written in fish for Telegram Bot API
- Host: GitHub
- URL: https://github.com/danyspin97/fishgram
- Owner: danyspin97
- License: mit
- Created: 2016-10-24T16:37:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T09:08:53.000Z (about 8 years ago)
- Last Synced: 2025-01-11T23:35:02.833Z (9 months ago)
- Topics: fish-shell, just-for-fun, shell-script, telegram-bot
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fishgram
A wrapper for the Telegram Bot API written in fish. It uses getUpdates to get new updated received by the bot.
It is in an early development stage.## Features
- Basic api methods
- Easy to use
- Async methods calling## Requirements
- *fish shell*
- *cURL*
- *jq* (you can either install it from your package-manager or downloading it from [here](https://stedolan.github.io/jq/))## Installation
In a new folder:
```shell
git submodule add git@github.com:danyspin97/fishgram.git
cp fishgram/config.json .
```Put the token and settings in config.json.
## Example
### EchoBot
```shell
#!/usr/bin/env fish
# bot.fishsource fishgram/corebot.fish
function processMessage
sendMessage $text
end
```## [License](https://github.com/DanySpin97/fishgram/blob/master/LICENSE)
Fishgram is licensed under the MIT License.