|Morgan Bazalgette 8f156220c0 ???||4 years ago|
|tmp||4 years ago|
|.gitignore||4 years ago|
|LICENSE||4 years ago|
|README.md||4 years ago|
|config.sample.js||4 years ago|
|db-create.js||4 years ago|
|index.js||4 years ago|
|lngthg.js||4 years ago|
|package.json||4 years ago|
|peppysentences.js||4 years ago|
|run.js||4 years ago|
|utils.js||4 years ago|
A gelbooru bot for your Telegram client!
You can run this on any PC, as long as it can run nodejs and make HTTP connections.
I’ve got an instance running on @boorubot, if you want to see the result.
In order to use this on your own pc/server, you must have a bot token received from the Botfather. Done that, you just need to run this script (assuming a linux environment or something like cygwin):
cd # (go to home directory) git clone https://github.com/TheHowl/boorugram cd boorugram cp config.sample.js config.js nano config.js # or whatever text editor you prefer. npm install npm start
Your bot is now running! To test that it works, you can simply open a chat with him and say
/start. If it does work, here’s my kudos.
Feel free to fork this repository and make changes if you feel the need for it! You can also open an issue for any feature you’d like to see. The whole code also needs some refactoring, if not a whole rewrite. If you do it, I’ll love you forever.
The MIT License (MIT)
Copyright (c) 2015 Morgan Bazalgette Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.