https://github.com/tchoutri/gazoline
A bot that tells you about the closests restaurants near your school residence.
https://github.com/tchoutri/gazoline
botfuel chatbot elixir telegram
Last synced: about 1 year ago
JSON representation
A bot that tells you about the closests restaurants near your school residence.
- Host: GitHub
- URL: https://github.com/tchoutri/gazoline
- Owner: tchoutri
- Created: 2018-03-01T11:05:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T14:59:59.000Z (over 8 years ago)
- Last Synced: 2025-04-09T15:15:43.848Z (about 1 year ago)
- Topics: botfuel, chatbot, elixir, telegram
- Language: Elixir
- Homepage: https://t.me/GazolineBot
- Size: 42 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gazoline 
>Quite a clever bot.
Find it at https://t.me/GazolineBot
Gazoline is an incredible opportunity to work with several interesting technologies, namely the [Botfuel.io](https://botfuel.io) NLP platform, Foursquare
data, and PostgreSQL's *PostGIS* extension.
It helps you pick restaurants around Paris' neighbourhood *La Butte aux Cailles*, by type.


## Prerequesites
minimum dependencies:
* Elixir 1.6
* Erlang OTP 20.2
* PostgreSQL 9.6
* PostGIS 2.3.3
## Configuration
You need to export the following environment variables:
```
TELEGRAM_TOKEN
FOURSQUARE_ID
FOURSQUARE_SECRET
BTFL_APPID
BTFL_APPKEY
```
## Installation
1. Install the dependencies with `mix deps.get`
2. Create and migrate the database models with `mix ecto.setup`
4. Launch the application with `iex -S mix`
## TODO
- [ ] Expand the search radius (despite 4square's API).
- [ ] Don't crash on message edition (not really an issue but hey)
- [ ] Don't be limited to one location.
- [ ] A way to easily (in-chat) add a restaurant.
- [ ] Enable botmeter metrics.