Translate and post arXiv articles to Slack and various apps
$ pip install arxiv-post
$ playwright install chromiumCommand line interface arxiv-post is available after installation, with which you can translate and post arXiv articles to various apps.
Note that only slack app is currently available.
You need to create a custom Slack app to get an URL of incoming webhook.
$ arxiv-post slack --keywords deshima \
--categories astro-ph.IM \
--target_lang ja \
--slack_webhook_url <Slack webhook URL>The posted article looks like this.
For detailed information, see the built-in help by the following command.
$ arxiv-post slack --helpIt would be nice to regularly run the command by some automation tools such as GitHub Actions. Here is a live example where daily arXiv articles in astro-ph.GA, astro-ph.IM, and astro-ph.HE are posted to different channels of a Slack workspace.
- fkubota/Carrier-Owl: arxiv--> DeepL --> Slack: The arxiv-post package is highly inspired by their work.
