|
3 yıl önce | |
---|---|---|
bin | 3 yıl önce | |
lib | 3 yıl önce | |
spec | 3 yıl önce | |
.gitignore | 3 yıl önce | |
Gemfile | 3 yıl önce | |
Gemfile.lock | 3 yıl önce | |
LICENSE | 3 yıl önce | |
README.md | 3 yıl önce | |
config.yml | 3 yıl önce | |
cross-post.gemspec | 3 yıl önce | |
logo.png | 3 yıl önce | |
mastodon-twitter.service | 3 yıl önce |
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