Skip to main content

Support iframing so we can integrate TM directly into other apps

A lot of applications have data and could use AI chat with that data. instead of building out chat app inside each application, and without having to open typing mind in a new tab/app, it would be great to be able to iframe typingmind in the app itself.

typingmind already allows it to be embedded, which is good. however, it loses login context (like license and such). could we get that?

that way, we can build extensions on top of it to support deeper integrations like with window postMessaging. the vision would be the main app can call "TM.sendMessage()" to start a convo and other stuff

like this: https://www.photopea.com/api/

not like this: https://custom.typingmind.com/features/build-custom-chatbot

Status: Closed3 comments

Log in to comment and vote

Comments3

  • Ngoc Nguyen changed status to Closed
    Team•

    May 28, 2024

  • Tony Dinh

    Team•

    May 22, 2024

    The API key is stored on the client side, which is revealed to the end users even in the iframe. I don't see a lot of cases where this is an acceptable scenario.

    The Typing Mind standalone app is designed for personal private use only, if you want to make the interface available to other users via iframe or other methods, consider using the Custom version instead.

    • Teal Ox

      •

      May 29, 2024

      Tony Dinh

      The API key is stored on the client side, which is revealed to the end users even in the iframe.

      yes thats fine bc you would be the only end user.

      to be clear, I am not saying ability to do this on the machine where you are already logged into typing mind so i can plug it locally for my own webapps. not to serve other end users.