|
преди 3 години | |
---|---|---|
bin | преди 3 години | |
lib | преди 3 години | |
spec | преди 3 години | |
.gitignore | преди 3 години | |
Gemfile | преди 3 години | |
Gemfile.lock | преди 3 години | |
LICENSE | преди 3 години | |
README.md | преди 3 години | |
config.yml | преди 3 години | |
cross-post.gemspec | преди 3 години | |
logo.png | преди 3 години | |
mastodon-twitter.service | преди 3 години |
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