Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ammezie/cryptobot
A bot to compare cryptocurrencies
https://github.com/ammezie/cryptobot
botman cryptocurrency slack-bot telegram-bot
Last synced: 25 days ago
JSON representation
A bot to compare cryptocurrencies
- Host: GitHub
- URL: https://github.com/ammezie/cryptobot
- Owner: ammezie
- License: mit
- Created: 2017-09-22T08:33:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T09:33:13.000Z (about 7 years ago)
- Last Synced: 2024-08-02T00:25:45.133Z (3 months ago)
- Topics: botman, cryptocurrency, slack-bot, telegram-bot
- Language: PHP
- Homepage: https://crytocompare.herokuapp.com/botman/tinker
- Size: 288 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-botman - Crptocompare - external API crypto (Uncategorized / Uncategorized)
README
# cryptobot
A bot to compare cryptocurrencies
## Getting Started
Clone the project repository by running the command below if you use SSH
```bash
git clone [email protected]:ammezie/cryptobot.git
```If you use https, use this instead
```bash
git clone https://github.com/ammezie/cryptobot.git
```## Install Dependencies
`cd` into the project directory and run:
```bash
composer install
```Duplicate `.env.example` and rename it `.env`
Run:
```bash
php artisan key:generate
```## Create a Slack app
Visit the [Slack API](https://api.slack.com/apps?new_app=1) website in order to create a new Slack app. Then visit [https://botman.io/2.0/driver-slack](https://botman.io/2.0/driver-slack) to see how to configure your app. Once you've installed your app, paste the `Bot User OAuth Access Token` in `.env`:
```txt
SLACK_TOKEN=YOUR_SLACK_BOT_USER_TOKEN
```## Create a Telegram bot
Visit [https://core.telegram.org/bots](https://core.telegram.org/bots) to create a Telegram bot. Then visit [https://botman.io/2.0/driver-telegram](https://botman.io/2.0/driver-telegram) to see how to configure your bot. Then paste your `API Token` in `.env`:
```txt
TELEGRAM_TOKEN=YOUR-TELEGRAM-TOKEN
```Finally, run:
```bash
php artisan serve
```and visit [http://localhost:8000/](http://localhost:8000/) to see the application in action.