A Twitter bot that tweets translated arXiv paper summaries.
It's actually working on this Twitter account.
Install
Usage
By default, it fetches the papers published in the last hour from arXiv, translates them from English to Japanese, and tweets them. The default category is cs.CL
.
Several options can be specified in the command line arguments, as follows.
- category (
--category
) - source language (
--source-lang
) and target language (--target-lang
) - How many days or hours of the most recent paper to fetch. days (
--range-days
), hours (--range-hours
)
You can also check this from trans-arxiv-bot --help
.
You will also need to set some values in the environment variables.
- Twitter
- API_KEY
- API_SECRET_KEY
- ACCESS_TOKEN
- ACCESS_TOKEN_SECRET
- translate
- TRANSLATE_URL (see: Google 翻訳 API を無料で作る方法 - Qiita and google_translate_api)
Author
👤 moisutsu
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2021 moisutsu. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator