Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Morgan Bazalgette 8f156220c0 ??? 4 лет назад
tmp Initial commit. 4 лет назад
.gitignore Initial commit. 4 лет назад
LICENSE license, readme. We're good to go! 4 лет назад
README.md license, readme. We're good to go! 4 лет назад
config.sample.js Initial commit. 4 лет назад
db-create.js ??? 4 лет назад
index.js ??? 4 лет назад
lngthg.js memes 4 лет назад
package.json ??? 4 лет назад
peppysentences.js Initial commit. 4 лет назад
run.js Initial commit. 4 лет назад
utils.js Initial commit. 4 лет назад

README.md

boorugram

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.

Contributing

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.

License

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.