Manage pile of books
Manage pile of unread books
“Tsundoku” From Wikipedia
Tsundoku: Japan’s Word for ‘Books You Buy But Don’t Read’
Currently, Kindle(Amazon) books are only supported.
bundle
rails db:migrate
See amazon_auth gem and kindle_manager gem
chromedriver is required. Please download chromedriver and update chromedriver regularly.
amazon_auth
vi .env
rails console
On console
client = KindleManager::Client.new(debug: true)
client.fetch_kindle_list
books = client.load_kindle_books
rails server
You can manage books with adding tags to books.
You can find some filters(Read, Reading, Hope to read) in https://kindle.amazon.co.jp/your_reading .
Example of tags:
The task rails tags:guess_from_title
will add the following tags and some guessed tags.
rails kindle:fetch
rails kindle:import
rails tags:guess_from_title
Fetch all kindle books data with new download directory.
rails kindle:fetch[10000,true]
envchain
can be used to secure credentials
See https://github.com/kyamaguchi/amazon_auth#envchain-for-security
envchain amazon rails kindle:fetch
envchain amazon rails kindle:import
envchain amazon rails console