/zoltan

A simple query bridge between a search engine and slack via webhooks.

Primary LanguageGo

Zoltan

About

Boutique search engines must drive engagement to become part of a user's habit. This means being ubiquitous and low friction. Be where the users are, don't expect them to come.
Their email, their messaging, etc. This work is one small exploration of that larger process. It will never be as cool at the real Zoltan though!

The command would look something like this, simply typed into the message block.

/geocodes   Atlantic tropical cyclones

The results would look something like: image

Test command notes

❯ curl -X POST  --header "Content-Type: application/x-www-form-urlencoded"  'http://localhost:6789/query'  --data @./docs/testPackage.txt
Zoltan is on it!    

ActivityPub

It is worth looking at works like littr and Golang ActivityPub to see how ActivityPub might be leveraged in this code analogous to RSS approaches.

Mastodon

There are Mostodon sites for bots. It might be interesting to make a bot and leverage https://github.com/mattn/go-mastodon to see about posting event updates from indexing, counts etc. there. It would be cool then if Zoltan could both post to and monitor this account for search requests for example.

Will likely set this up as geocodes@botsin.space ref: https://botsin.space/about

SeeAlso: https://github.com/DearRude/mastodon-bot/tree/master

References

ToDo

  • need to have the call back URL in the command line or implement a simple config sript
  • RSS implementation whre either I just generate out results based on date time or date time mixed with qyery results
  • would there be some way to do special update pages (obscure URL) or email?