|
vor 3 Jahren | |
---|---|---|
bin | vor 3 Jahren | |
lib | vor 3 Jahren | |
spec | vor 3 Jahren | |
.gitignore | vor 3 Jahren | |
Gemfile | vor 3 Jahren | |
Gemfile.lock | vor 3 Jahren | |
LICENSE | vor 3 Jahren | |
README.md | vor 3 Jahren | |
config.yml | vor 3 Jahren | |
cross-post.gemspec | vor 3 Jahren | |
logo.png | vor 3 Jahren | |
mastodon-twitter.service | vor 3 Jahren |
This gem uses the Mastodon stream API to replicate your toot on Twitter, handling the “500 to 140 characters limit” conversion.
I advice you to use rbenv to manage your Ruby environment to not mess up your system.
To use it:
git clone https://git.imirhil.fr/aeris/cross-post/
)bundler install
)$HOME/.config/cross-post/config.yml
configuration file, based on the example available herebundle exec bin/twitter-register
)
bundle exec bin/mastodon-register
)
bundle exec bin/feed-twitter
)If needed, a SystemD unit example is available here