|
pirms 2 gadiem | |
---|---|---|
bin | pirms 2 gadiem | |
lib | pirms 2 gadiem | |
.gitignore | pirms 2 gadiem | |
Gemfile | pirms 2 gadiem | |
LICENSE | pirms 2 gadiem | |
README.md | pirms 2 gadiem | |
config.yml | pirms 2 gadiem | |
cross-post.gemspec | pirms 2 gadiem | |
logo.png | pirms 2 gadiem | |
mastodon-twitter.service | pirms 2 gadiem |
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/.cross-post.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