Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chhoumann/notetweet_obsidian
Post tweets directly from Obsidian.
https://github.com/chhoumann/notetweet_obsidian
obsidian-md obsidian-plugin
Last synced: 14 days ago
JSON representation
Post tweets directly from Obsidian.
- Host: GitHub
- URL: https://github.com/chhoumann/notetweet_obsidian
- Owner: chhoumann
- License: mit
- Created: 2021-02-25T08:37:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T19:57:33.000Z (12 months ago)
- Last Synced: 2024-10-14T07:32:39.212Z (27 days ago)
- Topics: obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 398 KB
- Stars: 67
- Watchers: 2
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - chhoumann/notetweet_obsidian - Post tweets directly from Obsidian. (TypeScript)
README
## NoteTweet🐦 for Obsidian
This plugin allows you to post tweets directly from Obsidian.[![Release](https://img.shields.io/github/v/release/chhoumann/notetweet_obsidian?style=for-the-badge)]()
[![Github All Releases](https://img.shields.io/github/downloads/chhoumann/notetweet_obsidian/total.svg?style=for-the-badge&logo=appveyor)]()### Features
- 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](./GuideToSettingUpScheduler.md) to set it up.Feel free to recommend features!
![8jE9wvKuls](https://user-images.githubusercontent.com/29108628/109525702-16c97180-7ab2-11eb-8bc0-3c4bc79a6b7a.gif)
## How to use
### Installation
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](https://www.youtube.com/watch?v=jx09b1Ien3Q).
#### Manual Installation
*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.*1. Go to [Releases](https://github.com/chhoumann/notetweet_obsidian/releases) and download the ZIP file from the latest release.
2. 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 of `Installed Plugins`. Click that and it opens your plugins folder.
3. Extract the contents of the ZIP file there.
4. Proceed to Setup#### Setup
1. Go to https://apps.twitter.com/app/new and create a new app. Make sure it is Read + Write (otherwise you can't tweet).
2. Get your API key & secret and access token & secret.
3. Paste those into the plugin settings.You'll see an indicator which tells you if you're connected or not.
## Post Tweet Mode
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.### Post Tweet Mode Shortcuts
- `Backspace` to delete empty tweet
- `Enter` to make new tweet if max length
- `Alt + Enter` to make new tweet
- `Ctrl + Enter` to insert a tweet below
- `Shift + Enter` to insert a new tweet above
- `Ctrl + ArrowUp` to focus tweet above
- `Ctrl + ArrowDown` to focus tweet below
- `Ctrl + Shift + ArrowUp` to move tweet up
- `Ctrl + Shift + ArrowDown` to move tweet down
- `Ctrl + Shift + Delete` to delete the tweet you have focused## Quick-posts
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 STARTHere 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`.
## Scheduling Tweets
Follow [this guide](./GuideToSettingUpScheduler.md).