kbravh / obsidian-tweet-to-markdown

An Obsidian.md plugin to save tweets as Markdown files.
MIT License
195 stars 12 forks source link

[feature request]. Option for "minimal version" - only author: [threaditemnumber] tweettext #7

Closed cocoonkid closed 2 years ago

cocoonkid commented 2 years ago

[feature request]. Option for "minimal version" - only author: [threaditemnumber] tweettext

Thank you for this amazing plugin.

Is there a way so I can just save the plain tweet text and the author name?
And if it's a thread just number the items?

Maybe even an option to ONLY save the tweets of a thread and just number them or maybe even leave the numbering out too because many threads are manually numbered by authors already.

I don't need the images and links embedded in 99% of the target tweets in my case.

Thank you so much for consideration.

kbravh commented 2 years ago

That's a great suggestion! I'll get to work on implementing this.

kbravh commented 2 years ago

I've just pushed out version 2.1.0; you should see it soon. I've provided some extra options to slim down the tweet output. For example, to obtain the the output you're expecting, you can set the following options:

image

Hope that helps!

cocoonkid commented 2 years ago

wow! @kbravh Thanks sooo much!

cocoonkid commented 2 years ago

@kbravh works like a charm. Maybe can we have one small option to either add the link or not.

I only now realized I'd like to keep the link to the tweet so I can properly cite the authors :-)

kbravh commented 2 years ago

Good point, I'll probably just split the minimal option into separate "Include images" and "Include links" options.

kbravh commented 2 years ago

I've just pushed up version 2.3.1. Instead of the textOnly option, there are now two new options: includeImages and includeLinks. Disabling both of those acts the same as textOnly. But now you can leave images out while still including links for citation purposes. Hope this helps!

cocoonkid commented 2 years ago

@kbravh

I added a diff image how is right now and how I'd like to be able to process the tweets.

And then if it could pull all of them from my twitter bookmarks (and then nuke them) I'd be soo happy :-)

This is how the original looks: CleanShot 2022-04-15 at 23 02 17@2x

I manually edit them to look like this:

CleanShot 2022-04-15 at 23 00 40@2x

EDIT: Forgot to remove a date at 3.

kbravh commented 2 years ago

Oh okay, this makes much more sense. Sorry I didn't get it 😅 Let me see what I can do!

Also, Twitter just released an API endpoint for working with bookmarks. I'll look into it!

cocoonkid commented 2 years ago

@kbravh Thanks. No problem at all, my explanation was lacking as well 😺

Can't wait to see what you can come up with 👍

kbravh commented 2 years ago

@cocoonkid I've just released a new Condensed thread option in version 2.5.0. Please give it a go and let me know what you think! I believe this is much more of what you were looking for. The left file is a regular thread, and the right file is a condensed thread. condensed_thread

cocoonkid commented 2 years ago

@kbravh THANKS SO MUCH SIR!