#twitter #bot #cli

bin+lib trans-arxiv-bot

A Twitter bot that tweets translated arXiv paper summaries

8 releases

0.1.7 Dec 11, 2021
0.1.6 Apr 16, 2021
0.1.4 Mar 29, 2021

#36 in #twitter

MIT license

16KB
225 lines

Welcome to trans-arxiv-bot 👋

Version License: MIT Twitter: moisutsu

A Twitter bot that tweets translated arXiv paper summaries.

It's actually working on this Twitter account.

Install

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.

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.

Alternatively, you can use Docker to run it. See docker-compose.yml and .env.sample for details.

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

Dependencies

~12–26MB
~397K SLoC