Note that currently w2m
requires your mastodon instance to support status content_type: text/html
.
Prepare .w2mrc.json
, fill in the values.
{
"stopAfterFailed": true,
// You can set `defaultWeiboLogin` to `true` and
// login with the QRCode printed to console,
// in case that Weibo blocks your ip.
"defaultWeiboLogin": false,
"syncList": [
{
"weibo": { "userId": "<Your Weibo User Number Id>" },
"mastodon": {
"baseUrl": "<Your Mastodon Base Url Without Ending Slash>",
"accessToken": "<Your Mastodon App Access Token>"
}
}
]
}
Then run:
docker run --rm -v "$(pwd)/.w2mrc.json:/app/.w2mrc.json" -v "$(pwd)/.chromium-profile:/app/.chromium-profile" equalma/w2m