User:Kaja.sknebel.net

From IndieWeb
(Redirected from Kaja)

Kaja

Kaja is a chat & wiki bot run by Sven Knebel that answers a number of IndieWeb chat queries, and performs a number of automatic wiki maintenance tasks, like updating the Homebrew Website Club listings on the home page from information on the events page.

https://kaja.sknebel.net/

Kaja is a chat & wiki bot run by Sven Knebel that answers a number of IndieWeb chat queries, and performs a number of automatic wiki maintenance tasks, like updating the Homebrew Website Club listings on the home page from information on the events page.

features

  • announces in chat when the IndieWebCamp Youtube channel goes live during an event, and embeds it on the live page
  • !pin13, !mf2, !mf, !mf2-python, !mf2-go, !mf2-ruby, !mf2-php followed by a URL return a URL to to the matching MF2 parser result. (some more variations exist as well). This also works when talking to Kaja directly, outside a channel
  • wiki entries created via Loqi that have the form "Something is <url>, …" get linkified: the url is added as a hyperlink to the defined term and removed from the sentence. Same happens if the URL is at the end of the definition.
  • same for definitions that have a URL after the definition sentence (so saying "Kaja is a helpful bot. http://example.com" is linkified, "Kaja is a bot that edits http://indieweb.org" is not)


ideas

  • mf2-parser commands without URL could work for last URL posted in channel
  • etherpad import (compare https://github.com/kmaglione/wikimtgs and https://github.com/christi3k/ImportFromEtherpad)
  • some kind of !tell notifier for users that are seldom in IRC (or something that tells the !tell-er to please use a different channel)
  • are there other commonly needed tools that could use shortcuts?
  • private "specific user is online" alerts?
  • add Kaja to Slack as well, so Slack users can use direct commands

feature requests

Think something would be neat?

  • sknebel, another feature request, for Kaja now! Be able to append to a Inbox section on a user page.
  • Update Events whenever any wiki page that starts with "/event/" in the URL is updated. - Tantek Γ‡elik
    • parse that changed wiki page for an h-event
    • if that event is already on /Events (there is an h-event there with URL of that wiki page)
    • then update any details that (may) have changed (start, end, location locality, name), ok to limit to events using the event template
    • else add an h-event using the event template to the right spot in Events#Upcoming (inside the right month subheading, between the soonest event before/after in that month if any)
    • // this would make it easier to "just" update an individual HWC event page, and have the Events page auto-updated accordingly. So a host in a city only has to edit the specific HWC event page to add their location, and Events and the home page are updated automatically!

See Also