Confluence Cloud: Extend Attachment Body Search

I am developing a Confluence Cloud App using the Atlassian Connect Framework. I would now like to extend the Confluence Search Indexing mechanism so that Users can also search for and find the content of attachments other than the usual .txt, .pdf, etc.

In essence, I am looking for something similiar to the Attachment Text Extractors available for Confluence Server/DC development: Create an attachment text extractor

Does anybody have any ideas where to look or even experience with this topic? Any help is highly appreciated!