This plugin allows you to post tweets directly from Obsidian.
- Post tweets of selected text
- Post threads from file
- Automatically appends a tag to your tweet (to keep track of what you've posted)
- Secure mode - encrypts your API keys such that they can only be accessed with a password.
- Delete tweet/thread that was just posted (undo)
- Post Tweet Mode - a modal dedicated to writing tweets and threads.
- Images are supported - just include a
[[link]]
to your images! - Scheduling tweets - follow this guide to set it up.
Feel free to recommend features!
This plugin has been added to the community plugin browser in Obsidian. You can get it from there.
If you want to watch a video on how to set up this plugin, click here.
Please note that these steps are not necessary anymore. You can get the plugin from the community plugin browser. Just install from there and jump to Setup.
- Go to Releases and download the ZIP file from the latest release.
- This ZIP file should be extracted in your Obsidian plugins folder. If you don't know where that is, you can go to
Community Plugins
inside Obsidian. There is a folder icon on the right ofInstalled Plugins
. Click that and it opens your plugins folder. - Extract the contents of the ZIP file there.
- Proceed to Setup
- Go to https://apps.twitter.com/app/new and create a new app. Make sure it is Read + Write (otherwise you can't tweet).
- Get your API key & secret and access token & secret.
- Paste those into the plugin settings.
You'll see an indicator which tells you if you're connected or not.
Using the Post Tweet
command, a new modal will open. There, you can craft threads - or single tweets.
You can select both text or threads before using the command and it'll automatically port it into the modal. If the selected text is longer than 280 characters, it'll break it into a thread for you.
You can paste text into the modal. If that text is longer than 280 characters, it'll also break it into multiple tweets.
Backspace
to delete empty tweetEnter
to make new tweet if max lengthAlt + Enter
to make new tweetCtrl + Enter
to insert a tweet belowShift + Enter
to insert a new tweet aboveCtrl + ArrowUp
to focus tweet aboveCtrl + ArrowDown
to focus tweet belowCtrl + Shift + ArrowUp
to move tweet upCtrl + Shift + ArrowDown
to move tweet downCtrl + Shift + Delete
to delete the tweet you have focused
Single tweets are simple. Just select some text and use the Post Selected as Tweet
command.
Threads have a specific format. First off, it only detects the first thread in any file.
Format:
THREAD START
Here you can type the first tweet in your thread.
Spacing is fine.
---
Separation between tweets is done using a newline and three dashes - just like you see above.
---
Enjoy!
THREAD END
Threads must start with THREAD START
and end with THREAD END
.
Follow this guide.