-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Send to Kindle" #6186
Comments
To prevent that our SMPT server is mis-used for spam, I think of following steps:
Then JabRef connects to JabCloud and allows then conversion to Kindle. |
I am against running an open smtp server. This is dangerous and invites spamming. |
The smtp server can be secured by a passwort that will be integrated into JabRef via a Github secret. I think from a user's perspective this is the easiest solution although the other approaches (cloudref account, own smtp server) work too. |
We got a question about converting files using Calibre. Since Calibre is written in python, we're looking for a possibility to use these python-functions in our java project. Is there any option? The user have to install Calibre and set the directory path in the jabref preferences, so JabRef can use Calibre to convert the files. |
@LuVogel Calibre seems to have a command line interface. This can be called from JabRef. https://manual.calibre-ebook.com/generated/en/cli-index.html So your approach would work See for example in the PushToExternalAplpication how JabRef can call other tools on the command line or in the JabRefDesktop implementations |
201e022 Update trends-journals.csl (#6224) 46e6eed Update nottingham-trent-university-library-harvard.csl (#6220) 684bb48 Update politix.csl (#6199) c484b0b Update mcgill-fr.csl (#6198) cbcf2f2 Update mary-ann-liebert-vancouver.csl (#6218) 47174f0 Create journal-of-dairy-research.csl (#6195) fdd1eac Update harvard-anglia-ruskin-university.csl (#6196) 9e384d6 Create estonian-journal-of-earth-sciences.csl (#6194) afba9b7 Delete moore-theological-college.csl as per university (#6197) 644549f Create acta-medica-philippina.csl (#6192) 6566114 Update rassegna-degli-archivi-di-stato.csl (#6186) 3509a2f Update universidade-federal-de-sergipe-departamento-de-engenharia-de-… (#6187) de4845f Update mary-ann-liebert-vancouver.csl (#6213) 16828b6 Update ucl-university-college-apa.csl (#6172) c08613b Update ucl-university-college-harvard.csl (#6173) 028bad4 Create sociologia-ruralis.csl (#6170) 77d428c Update journal-of-plankton-research.csl (#6169) 92e1022 Update and rename dependent/journal-of-the-national-cancer-institute.… (#6168) 120efb1 Update journal of hearing science e503477 Create new-harts-rules-the-oxford-style-guide-author-date.csl (#6163) 49ab318 Create the-depositional-record.csl (#6159) f4f6920 Update and rename laser-and-photonics-reviews.csl to dependent/laser-… (#6165) d8ca4bc Update united-states-international-trade-commission.csl (#6162) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 201e022
Hi this sounds like an interesting feature and we would like to try to implement it if it is still undergoing development. |
Sure, have a go at it. Kindle is a proprietary (closed source?) application, but widely used so it would be nice to have support for it. If you ever get stuck during implementation, you could fallback to provide support for open source alternatives like Calibre, LibreraReader or DocumentViewer instead. Alternatives can be found here: https://alternativeto.net/software/kindle/?license=opensource As a general advice for newcomers: check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is worth having a look at. Feel free to ask if you have any questions here on GitHub or also at JabRef's Gitter chat. Try to open a (draft) pull request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards (but tests are better to be done on your local environment). This way, you will likely receive valuable feedback. |
Note that in the meantime amazon improved their "send to kindle by mail" feature and now also accepts epub files there. So the first step "converting to mobi" is no longer necessary, and it really only amounts to sending an email to the correct kindle email. For this, we can also skip the whole smtp business and use the strategy of https://github.com/JabRef/jabref/blob/35cd5d03e106c102b9d2aad3dbd54038ddc2728a/src/main/java/org/jabref/gui/SendAsEMailAction.java to create new email for the user (which then still has to send it, but that should be pretty trivial). |
Hi, I would like to take up this issue |
Thanks @aqurilla. Nice to see this feature finally landed in Jabref. |
It would be nice if one could simply right-click a linked file and send it to one's kindle.
Stragegy:
Outdated information
(The procedure for calibre is outlined here: https://www.howtogeek.com/539829/how-to-transfer-any-ebook-to-kindle-using-calibre/)
Strategy:
Convert files to supported format (e.g. epub to mobi)(epub
is supported now)This needs a bit of preparation on the user's side:
Add their kindle e-mail in JabRef's preferences. Moreover, we need a way to send an email. @koppor would it be easy to run a smtp for this? If not the user also needs to specify the smtp data of their email.The text was updated successfully, but these errors were encountered: