twitter-together / action

:bird: A GitHub action to tweet from a repository

Home Page:https://github.com/marketplace/actions/twitter-together

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write threads

s12chung opened this issue · comments

What’s missing?

I'd like to add the ability to do threads. Threads will follow the format of: https://getchirrapp.com, where the format of a .tweet file is:

Contents of tweet 1, which must have 280 characters.

[...]

Each tweet is delimited by:
- the start/end of a file
- `[...]`

[...]

The start and end of the tweet is also stripped of whitespace.

Why?

I want to tweet threads and I can't do it right now.

Alternatives you tried

None. I can attempt to write the code for this later, but I want to have agreement first.

I really like this idea! Do you need any help on it?

we need to come up with a syntax to cover all the use cases, we had several discussions across issue and pull requests. Maybe someone else came up with a good syntax?

I could imagine to end up with something like Jekyll's Front Matter. I would make the delimiter simpler, but also make it configurable, e.g.

First tweet

---

2nd Tweet

Or with custom delimiter

---
thread-delimiter: ~~~
---

MY first tweet

--- 

still my first tweet

~~~

My 2nd tweet

I'm hesitant to add any syntax without considering all use cases though, to avoid breaking changes in future

I guess the first step would be to gather all possible use cases that should be covered by a syntax for the .tweet files.

Please see this issue for further discussion: https://github.com/gr2m/twitter-together/issues/166 💖