1
0
Fork
You've already forked message-inline-post-info
0
A script to fetch post info and format it for a message to compliment the preview/embed. (YT only for now.)
  • Python 100%
2026年06月29日 12:04:12 +02:00
message-inline-post-info.py Stoat output, DeArrow, yt-dlp arguments, better attribution, minor refactor. 2026年06月29日 12:04:12 +02:00
README.md Uses SponsorBlock data licensed used under CC BY-NC-SA 4.0 from https://sponsor.ajay.app . - v0.0.7 2026年04月26日 17:32:27 +02:00

Message Inline Post Info (MIPI)

CLI script to fetch information from social media posts and compile it in compact preformatted messages to compliment the sparse in information previews a given platform may have, or replace it in cases where it's not available.

Special Thanks.

Supported inputs.

  • YouTube.
    • In the future, potentially any source that yt-dlp supports.

Supported outputs.

Platform Format
generic reference HTML (WIP) md (WIP)
Stoat md+
[mtarix]TM HTML
Discard md+
Missing a platform? Feel free to open an issue!

Usage.

  • Download latest message-inline-post-info.py from releases.
  • Make sure Python and the dependencies (see below) are installed.
  • Run message-inline-post-info.py in a terminal and follow instructions.
    • Keep in mind that most terminal emulators don't paste text with Ctrl + V but with Ctrl + Shift + V.
    • Similarly, use Ctrl + Shift + C to copy selected text from the output.
    • Copying and pasting can also be done by pressing SMB inside the terminal window and selecting the Copy or Paste option in the popup menu.

Settings.

The settings are found within the script itself.

  • If you know you don't need a given format, you can change it accordingly by setting the related flag from True to False (case sensitive) in the outputFormats section around line 25.
  • For best results, it is recommended to set the right path for the --cookies-from-browser yt-dlp option around line 33. See its documentation for more information.
  • To select which format gets automatically copied, change the value of autocopy between the quotation marks. Reference the outputFormats around line 25 for the available options.

Dependencies.

feedparser pyclip yt_dlp

Attribution.

This project makes use of the following tools/services: