~handlerug/handlebot

ref: 5c3342e9f8fd6f47e7bc4ff496b631441fce047a handlebot/README.md -rw-r--r-- 2.3 KiB
5c3342e9Umar Getagazov Update README.md a month ago

#handlebot

handlebot is a multifunctional IRC bot for small communities. It's lightweight and written in Go with minimal amount of third-party dependencies.

#Features

handlebot has rich link preview capabilities:

     <user> https://sourcehut.org
<handlebot> ┗━ sourcehut - the hacker's forge
     <user> https://www.youtube.com/watch?v=dQw4w9WgXcQ
<handlebot> ┗━ Rick Astley - Never Gonna Give You Up (Official Music Video) [3m33s] 2009-10-25 (Rick Astley) 1,234,110,921 views HD
     <user> gemini://drewdevault.com/2021/10/05/Terminal-emulation-legacy.gmi
<handlebot> ┗━ The distant legacy of terminal emulators

It fetches weather for you:

     <user> .w amsterdam
<handlebot> Current weather in Amsterdam, North Holland, NL is clear sky: 15°C; 68% humidity; 4.6m/s wind speed
     <user> .w tokyo
<handlebot> Current weather in Tokyo, JP is light rain: 23°C; 80% humidity; 4.6m/s wind speed

It has integrations with Wolfram|Alpha and Jisho.org:

     <user> .jisho semai
<handlebot> 1: 狭い(せまい) Common (wanikani24) [I-adjective (keiyoushi): narrow, limited]; 2: 施米(せまい) Uncommon [Noun, Suru verb, Intransitive verb: rice given in charity]
     <user> .wa circumference of mars
<handlebot> [Mars | equatorial circumference] 21339 km (kilometers)

#Migration from parabot

Run sqlite3 path/to/your.db and PRAGMA user_version = 1; to ensure that handlebot's migrations don't run on an already initialized database.

#License

handlebot is licensed under the GNU Affero General Public License:

Copyright (C) 2022 Umar Getagazov

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.