Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moisutsu/trans-arxiv-bot
Twitter bot that tweets translated arXiv paper summaries
https://github.com/moisutsu/trans-arxiv-bot
arxiv rust translate twitter-bot
Last synced: 27 days ago
JSON representation
Twitter bot that tweets translated arXiv paper summaries
- Host: GitHub
- URL: https://github.com/moisutsu/trans-arxiv-bot
- Owner: moisutsu
- License: mit
- Created: 2021-03-14T10:02:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-11T14:53:21.000Z (almost 3 years ago)
- Last Synced: 2024-09-16T03:43:11.941Z (about 2 months ago)
- Topics: arxiv, rust, translate, twitter-bot
- Language: Rust
- Homepage: https://crates.io/crates/trans-arxiv-bot
- Size: 64.5 KB
- Stars: 9
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Welcome to trans-arxiv-bot ๐
A Twitter bot that tweets translated arXiv paper summaries.
It's actually working on [this Twitter account](https://twitter.com/arXiv_cs_CL_ja).
## Install
```sh
cargo install trans-arxiv-bot
```## Usage
When activated, it will automatically fetch papers at regular intervals. And when the latest paper is posted, it will translate the summary and tweet it. To avoid continuous tweets, tweets will be sent at regular intervals.
```sh
trans-arxiv-bot
```Several options can be specified in the command line arguments, as follows.
- Category `--category` [default: `cs.CL`]
- Source language for translation `--source-lang` [default: `en`]
- Target language for translation `--target-lang` [default: `ja`]
- How many minutes to update and tweet `--update-frequency` [default: `15`]You can also check this from `trans-arxiv-bot --help`.
You will also need to set some values in the environment variables.
- API_KEY
- API_SECRET_KEY
- ACCESS_TOKEN
- ACCESS_TOKEN_SECRET
- translate
- TRANSLATE_URL (see: [Google ็ฟป่จณ API ใ็กๆใงไฝใๆนๆณ - Qiita](https://qiita.com/satto_sann/items/be4177360a0bc3691fdf) and [google_translate_api](https://gist.github.com/moisutsu/6d5b1721d4c4e4aa7e6184f2a6f557d5))Alternatively, you can use Docker to run it.
See [docker-compose.yml](https://github.com/moisutsu/trans-arxiv-bot/blob/main/docker-compose.yml) and [.env.sample](https://github.com/moisutsu/trans-arxiv-bot/blob/main/.env.sample) for details.## Author
๐ค **moisutsu**
* Twitter: [@moisutsu](https://twitter.com/moisutsu)
* Github: [@moisutsu](https://github.com/moisutsu)## Show your support
Give a โญ๏ธ if this project helped you!
## ๐ License
Copyright ยฉ 2021 [moisutsu](https://github.com/moisutsu).
This project is [MIT](https://github.com/moisutsu/trans-arxiv-bot/blob/main/LICENSE) licensed.***
_This README was generated with โค๏ธ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_