arumie / obsidian-medium-importer-plugin

MIT License
5 stars 0 forks source link

Medium Sync #3

Open fabioscarsi opened 1 day ago

fabioscarsi commented 1 day ago

Hi guys, thanks for your plugin. I've been using it for a while. Considering the release of Obsidian Web Clipper, this interesting and well-working plugin risks becoming soon obsolete. @arumie and @dzatrifork, could you imagine a development that transforms Obsidian Medium Importer into an app that automatically syncs an Obsidian folder of articles with the whole set of articles published by a Medium writer? Is it possible? This way, combined with https://github.com/eebmagic/post-medium-draft, we would have a killer suite in Obsidian to work with Medium ...

arumie commented 1 day ago

Hi. Glad to hear that you like the plugin 😊

The Unofficial Medium API definitely seems to be support fetching articles made by a specific user.

https://docs.mediumapi.com/#tag/User/paths/~1user~1%7Buser_id%7D/get

Was also considering adding the possibility of sync a list made by a user.

This would of course be limited by the amount of free API calls available each month.

Might take a look at adding these features if I find the time 🙂

fabioscarsi commented 1 day ago

Hi @arumie. Thanks a lot for your positive answer. I would really appreciate your development(s), so I hope you can find the time. If I were a coder, I would help you for sure. Just a consideration on quantitative limits: also systematic writers write up to one post daily on Medium, but no more. That's 30 posts a month. The free API calls are 150/month. Probably, it could be enough. Super heavy users could consider paid options ... One more thing: I have a technical doubt. Medium has a paywall. Does it limit fetching by the Unofficial Medium API?

arumie commented 1 day ago

No better reason to get it done than someone actually wanting it, so I also hope that I can find the time. Might even take a look at it this or next weekend. :)

I'm of the same opinion with regards to the free API calls. Heavy users definitely should consider supporting the developer with the paid option anyway.

At the moment it doesn't seem like the paywall is a limit. I think the guy who develops the API is probably the best to answer that question (https://links.nishu.io/).

fabioscarsi commented 18 hours ago

Thanks, @arumie. Regarding the paywall question, reading the FAQs (https://mediumapi.com/frequently-asked-questions.html), particularly the last one, it seems you are right, and the paywall is not a problem. Anyway, I wrote the developer and will confirm it with you as soon as he answers.

arumie commented 13 hours ago

I've added a new feature with the new version 0.3.0: "Add Medium Author" and "Sync Medium Author". I've also added the possibility to automatically add the articles to a specific folder (Folder is "Medium" by default). The author feature will add a folder for the specific author and add all their articles to that folder. Sync with add any articles that hasn't already been added to the folder.

Let me know what you think :)