• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

RedpointGames/MastodonMirror: Automatically copy your Twitter posts to Mastodon.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

RedpointGames/MastodonMirror

开源软件地址(OpenSource Url):

https://github.com/RedpointGames/MastodonMirror

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource Introduction):

t2m-docker

Automatically copy your Twitter posts to Mastodon.

This is a Docker image which copies your Twitter posts to Mastodon in near real-time, including the content of retweets. It requires a bit of setup as you need to obtain OAuth credentials for both your Twitter account and your Mastodon account. Uses t2m to do the real work.

Getting Started

If you don't have Docker installed, you can run the setup guide really quickly by opening this project in Google Cloud Shell (you'll need a Google account):

Open in Cloud Shell

Alternatively if you're running Linux or Windows with Docker installed, run this command:

docker run -it --rm redpointgames/t2m-docker /srv/setup.sh

This will walk you through the set up process and tell you the real Docker command you need to run on a server in order to run t2m-docker.

After Setup

Once you've completed the setup guide, you'll be given a Docker command to run. This Docker command will run the server that pushes your tweets to Mastodon automatically, so you need to find somewhere suitable to run it. You can:

  • Run it on your computer if you have Docker installed. Your tweets will only be forwarded while your computer is running.
  • Run in on a cloud VM or VPS server directly. You can run an f1-micro VM (the smallest type) on Google Cloud for free. If you're going with this option, pick Ubuntu and make the boot disk no bigger than 30GB. You might need to install Docker with apt install -y docker.io, but then just SSH into the instance and run the command you were given.
  • Run it in Kubernetes. A template for a Kubernetes deployment is provided in this repository; you just need to fill in the environment variables based on the Docker command you were given. This is by far the most reliable way of running the server (as Kubernetes will automatically restart it if it fails), but also you need a Kubernetes cluster to run it on. The smallest option here on Google Cloud will set you back about $35 a month for a container cluster with 1 VM.

If you need help or suggestions on where to run it, reach out to @hq on mastodon.social.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap