podsearch_bot

Telegram bot that searches Podcast in iTunes store.


Project maintained by Fazendaaa Hosted on GitHub Pages — Theme by mattgraham

Podsearch


Podsearch

[![English README](https://img.shields.io/badge/Language-EN-blue.svg?longCache=true&style=for-the-badge)](https://github.com/Fazendaaa/podsearch_bot/blob/master/README.md) [![Portuguese README](https://img.shields.io/badge/Linguagem-PT-green.svg?longCache=true&style=for-the-badge)](https://github.com/Fazendaaa/podsearch_bot/blob/master/docs/readme/README_PT.md)

[![bitHound Overall Score](https://www.bithound.io/github/Fazendaaa/podsearch_bot/badges/score.svg?style=flat-square)](https://www.bithound.io/github/Fazendaaa/podsearch_bot) [![Dependencies](https://david-dm.org/Fazendaaa/podsearch_bot.svg?style=flat-square)](https://github.com/Fazendaaa/podsearch_bot/blob/master/package.json) [![Build Status](https://travis-ci.org/Fazendaaa/podsearch_bot.svg?branch=master&style=flat-square)](https://travis-ci.org/Fazendaaa/podsearch_bot) [![Coverage Status](https://coveralls.io/repos/github/Fazendaaa/podsearch_bot/badge.svg?branch=master&style=flat-square)](https://coveralls.io/github/Fazendaaa/podsearch_bot?branch=master) [![Known Vulnerabilities](https://snyk.io/test/github/fazendaaa/podsearch_bot/badge.svg?style=flat-squaretargetFile=package.json)](https://snyk.io/test/github/fazendaaa/podsearch_bot?targetFile=package.json) [![GitHub issues](https://img.shields.io/github/issues/Fazendaaa/podsearch_bot.svg?style=flat-square)](https://github.com/Fazendaaa/podsearch_bot/issues) [![GitHub forks](https://img.shields.io/github/forks/Fazendaaa/podsearch_bot.svg?style=flat-square)](https://github.com/Fazendaaa/podsearch_bot/network) [![GitHub stars](https://img.shields.io/github/stars/Fazendaaa/podsearch_bot.svg?style=flat-square)](https://github.com/Fazendaaa/podsearch_bot/stargazers) [![GitHub license](https://img.shields.io/github/license/Fazendaaa/podsearch_bot.svg?style=flat-square)](https://github.com/Fazendaaa/podsearch_bot/blob/master/LICENSE)

The solution that you need to share with your friends your love for podcast :3

Telegram bot that searches podcast info in iTunes store.

About

This is a bot made using TypeScript(TS) because I want something to test the my new coding skill. And, like so, also the Test Driven Development(TDD), the first time that I’ve done anything with TDD.

Two new things in one project? Yes, and a third one is Continuos Integration(CI) just to be able to push running code at a master branch to be running at the server. And, a fourth one, is making a bot that supports it multiple languages.

Like so, once I’ve “finished” this code I intend to write an article at Medium talking about it. All the knowledge that I’ve got it because some one laid a trail so that I can build my own on it.

How to use it

First of all, talk to @podsearchbot.

Disclaimer

By default all the commands are in English, but you can see if que same command is available in your language.

There’re three ways of doing that:

Inline mode

The inline mode works both in the Podsearchbot chat or any other chat:

@podsearchbot podcast name

Example:

@podsearchbot B9

Button

Just press search button available, it will ask you for podcast name and then does the search.

/search

Just open it a chat with Podsearchbot and then use it like this:

/search podcast name

Example:

/search The Mission

Help

If you have any other questions about it just use it the help command:

/help

How does it work?

You can build yourself a bot just like this one, just follow the procedures listed in BUILDING.md.

Want know more?

If you want to understand the “whys” of I did what I did, you can read ALL THE CODE… Just joking, I’ve wrote some of the pros and cons of my approach on the macro vision of the code. If you want to know more, read:

Deploy

There’s also a Travis CI integration.

Build with

So, whether is code or not you can help me out making this code more accessible by reading the CONTRIBUTING.md.

Versioning

I would love to say that SemVer or anything like that is used but, in my personal experience, this kind of approach doesn’t work very well with me, the guy who could be committing in this project for two weeks in a roll and leave it for almost one year with no simple npm update. So, no versioning system is used.

TODO

Since I will be keeping this README up to date with any major change and I don’t use any versioning system to log all the fixed bugs or previous projects updates, you can still have a taste of what comes next and what is being under analysis right in the Projects tab.

Authors

Consider buy me a coffee:

Buy Me a Coffee

Or even becoming a patron:

Patreon

You can understand more why I choose to accept donations and not sells adds in SUPPORT.md.

License

Like many Open-Source Software (OSS) the MIT license is used, more about it in LICENSE.

Acknowledgments