all repos — kokyo @ main

Chatbot and CLI tool for Swiss public transports

README.md (view raw)

 1# 🚍 Kokyo
 2
 3Kokyo est un chatbot qui permet d’obtenir rapidement des informations sur les transports en commun dans toute la Suisse.
 4Pour le moment, il fonctionne uniquement sur Telegram.
 5
 6## Configuration
 7
 81. Récupérer une clé API sur https://opentransportdata.swiss
 92. Créer un bot Telegram et récupérer son token: https://core.telegram.org/bots
103. Ajouter ces informations dans le fichier `.env:`
11
12```bash
13cp .env.example .env
14vi .env
15```
16
17## CLI
18
19```bash
20deno task cli
21```
22
23## Telegram bot
24
25```bash
26deno task telegram
27```
28
29Pour le mode dev (watching):
30
31```bash
32deno task telegram-dev
33```