Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.43 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.43 KB

XBrain

Telegram bot to help you read and summarize the content. It uses Omnivore [or Pocket, Instapaper, Matter] to save the content and OpenAI to summarize it.

Features

  • Message Template: /command [args: URL or text].
  • /add to add the content to the ReadLater service.
  • /add YoutubeURL grabes youtube transcript.
  • /sum to summarize the content.
  • /sum YoutubeURL get youtube transcript and summarize.
  • /ask to ask a question from ChatGPT about the content.
  • /token to add your OpenAI token [ToDo].

TODO

  • This sends the content to the pipedream user email. Find a way to make it general.

AppDiagram

Copy the Pipedream diagram for yours: https://pipedream.com/new?h=tch_3M9fP9

graph TB
  User -->|message| TelegramServer
  subgraph "PipeDream Service";

    pipeTelegram --> checkType
    checkType -->|youtube| GetTranscript
    checkType -->|URL| GetHTML
    checkType -->|text| PipePython

    GetHTML --> PipePython
    GetTranscript --> PipePython
    PipePython --> checkCommand
    checkCommand -->|/add| pipeEmail
  end
  
  OpenAI([OpenAI])
  checkCommand -->|/sum| OpenAI
  checkCommand -->|/ask| OpenAI
  TelegramServer --> pipeTelegram
  OpenAI --> pipeEmail
  pipeEmail -->|HTML| Omnivore
Loading

Pipedream setup

image