|Morgan Bazalgette 8f156220c0 ???||4 vuotta sitten|
|tmp||4 vuotta sitten|
|.gitignore||4 vuotta sitten|
|LICENSE||4 vuotta sitten|
|README.md||4 vuotta sitten|
|config.sample.js||4 vuotta sitten|
|db-create.js||4 vuotta sitten|
|index.js||4 vuotta sitten|
|lngthg.js||4 vuotta sitten|
|package.json||4 vuotta sitten|
|peppysentences.js||4 vuotta sitten|
|run.js||4 vuotta sitten|
|utils.js||4 vuotta sitten|
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.