Skip to content

AlanVerbner/haiku-by-the-sea

Repository files navigation

Welcome to haiku-by-the-sea 👋

Version License: MIT Twitter: AlanVerbner

Telegram Bot to post a daily Haiku poem to a channel

This is a simple and stupid bot I made (while bored and recovering at home) inspired by daily Haikus sent to me by Seba.

TODO

  • Twitter Integration

Prerequisites

  • npm >=5.5.0
  • node >=10.0.0

Install

npm install

Run tests

npm run test

Coverage

npm run coverage

FAQ

  1. Are the Haikus configurable?

Well, sort of. Basically I wanted to avoid using any DB or anything else besides a few JS lines. To do so, I decided to store the Haikus in a text file and read one for each day based on the date I deployed this. So, for example, if first deployment was done 2019-10-23, the Haiku #3 will be sent on 2019-10-25.

  1. Could have I done this better?

Yeah, of course, but I didn't want to spend more than a couple of hours working on it.

  1. Are you willing to improve it?

Nope, but if you think there is a cool feature or anything you think it might be worth adding, just let me know.

Author

👤 @AlanVerbner

👤 @Saldasoro (aka Cryptobaby)

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator