您最多选择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.