Skip to content

speaktech-account/transQiita

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

transQiita

This application translates your articles on Qiita into English ones with googletrans, and upload them to Qiita automatically.

Requirements

googletrans, Qiita access token(Set as Environment variable QIITA_ACCESS_TOKEN)

e.g.
$ pip install googletrans
$ export QIITA_ACCESS_TOKEN='YOUR QIITA ACCESS TOKEN'

Example

$ python transQiita.py  [-h] [--gist] [--tweet] [--private] [--auto] [--token TOKEN]

Optional Arguments

-h, --help     show this help message and exit
--gist         upload translated article to gist
--tweet        tweet about translated article
--private      set publish format to private
--auto         execute translation and upload automatically
--token TOKEN  set Qiita's access token

Restrictions

  1. This application does not translate code blocks to prevent indentation from collapsing by translation process.
  2. Decoration by markdown using symbols like ** , ~~ etc. does not work after translation process.

Anything Else

I wrote an article below to explain this application more in details.

https://qiita.com/speaktech/items/f1c47ab15c17d873fd03

Author

speaktech

License

MIT

About

This application translates your articles on Qiita into English ones with googletrans, and upload them to Qiita automatically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages