Telegram bot which helps you to find articles by keywords
- Presentation mode
The simplest way to run search bot is running docker-compose file with your own bot token.
In order to do it you can use either docker compose up
or sbt dockerComposeUp -useStaticPorts
command
- Development mode
If you want to run bot locally you need to update application.conf
with your db config data / bot token and run it with sbt run
command
- Development mode (In memory DB)
It also possible to start application without db connection.
In order to use this mode run sbt "run inMemory"
command.
warning: with In Memory
mode your data will be available as long as your app is working.
Search Bot supports 3 commands:
/scan {url}
/find {keyword}
/help
or/start
Scan command will retrieve keywords from the provided url and save article. In order to find article you need to call Find command with a needed keyword. e.g.
/scan https://docs.scala-lang.org/
/find scala
You can use either /start
or /help
command in order to see the list of available commands