QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

Import via URLs and Sync via URLs (Feature Request)

Open mangoose20026 opened this issue 1 year ago • 21 comments

Syncing: Adding documents to the software using URLs.

Access via Link: Add files by importing from a URL, including direct links to files stored in Dropbox or Google Drive shared folders. Have shared folder link is available in internet as public shared folder link which has many documents. We can only access documents via the shared link. Don't have credentials to login into the app itself.

Example, Shared folder in Dropbox via link Shared folder in GoogleDrive via link Shared folder via Syncthing (https://syncthing.net/)

Need support direct syncing of documents/text from shared folders in Dropbox or Google Drive by simply providing a link. sync documents directly from a URL or a cloud service without the need of credentials.

Note, we cannot write back to shared folder...It is a read-only shared folder.

mangoose20026 avatar Jul 19 '24 03:07 mangoose20026

I'm not sure what this issue is about... Is this a feature request or a question? Either of those I don't understand. 😊

pbek avatar Jul 19 '24 05:07 pbek

Sorry, this is a feature request and not a question.

mangoose20026 avatar Jul 19 '24 06:07 mangoose20026

But what is the feature request about?

pbek avatar Jul 19 '24 13:07 pbek

I have text files which can be placed in any website folder or cloud storage. I will make the file as read-only or folder as read-only. any user with the folder link should be able to sync with QOwnNotes without any login or credentials

so looking for sync option from direct folder link or cloud storage folder link

need a way in QOwnnotes , so that i will share the url in website so that everyone can install QOwnnotes in their pc or mobile or tab and sync with my folder link.

Access via Link: Add files by importing from a URL, including direct links to files stored in Dropbox or Google Drive shared folders. Have shared folder link is available in internet as public shared folder link which has many documents. We can only access documents via the shared link. Don't have credentials to login into the app itself.

Example, Shared folder in Dropbox via link Shared folder in GoogleDrive via link Shared folder via Syncthing (https://syncthing.net/)

Need support direct syncing of documents/text from shared folders in Dropbox or Google Drive by simply providing a link. sync documents directly from a URL or a cloud service without the need of credentials.

Note, we cannot write back to shared folder...It is a read-only shared folder.

mangoose20026 avatar Jul 19 '24 19:07 mangoose20026

How and why do you think QOwnNotes should talk to all those sync services? There is no integration to any of those services in QOwnNotes...

pbek avatar Jul 19 '24 19:07 pbek

QOwnNotes has all the awesome features except sync features above. It would be great if you kindly consider and add them.

mangoose20026 avatar Jul 20 '24 03:07 mangoose20026

QOwnNotes does not sync to any services, not even Nextcloud. That's what sync clients are for. Why should all the complexity of each sync client be reimplemented in QOwnNotes, when you already have installed those clients anyway?

pbek avatar Jul 20 '24 06:07 pbek

If it's just about using some api to get a file link... I guess you could do that in the scripting engine.

pbek avatar Jul 20 '24 06:07 pbek

Is it possible to add a script in this issue to pull the files from a specific website link which only has the text files and the steps where to use that script in desktop QOwnnotes after installation. Please advise and will follow the same...

Basically want to have the data shared with many, so that everyone uses QOwnnotes and pull the files from the server.

mangoose20026 avatar Jul 20 '24 11:07 mangoose20026

Basically want to have the data shared with many, so that everyone uses QOwnnotes and pull the files from the server.

Isn't that what a sync service is for? Share a special note folder (or just one sub-folder) with many people on your sync service, and you would have just that...

pbek avatar Jul 20 '24 12:07 pbek

i am not technical but help me with how easily we can achieve...so don't know much difference so i put whatever i know ....please forgive if something is wrong or ignorant....

i want to share a folder in internet, users should be able to sync always without pulling every time...whenever i add new files it should get added/updated.

mangoose20026 avatar Jul 20 '24 12:07 mangoose20026

I don't know if any sync service supports "publicly sharing a folder in the internet". Usually, you need to have an account on that sync service for every user you want to share to. And then you can share a folder to those people. What sync service do you use, and who do you want to share the folder to?

pbek avatar Jul 21 '24 06:07 pbek

Below are the few ways i would like to share the folder to QOwnNotes so that they can paste the link and pull the files via a textbox and button

  1. I have a website with huge text files in a folder which i will update it frequently. (ex: www.textfiles.com/articles). The articles folder will have huge text files.
  2. I will have a folder in my google drive which has the articles folder where i will update the text files frequently. I will share the folder shared link to the users so that they can pull the files or sync in QOwnNotes.
  3. Similarly i can have similar kind of folder with shared in Dropbox etc.,

Advantages:

  1. The user will have one time configuration in their QOwnNotes if such a option is provided
  2. They will sync from any of the above source
  3. It would be great if multiple source can be configured

What if the above is NOT available?

  1. They need to remember the URL everytime
  2. They need to download the files locally
  3. They need to delete the content
  4. They need to re-import to QOwnNotes

All these 4 steps can be avoided by the end user.

mangoose20026 avatar Jul 21 '24 07:07 mangoose20026

I think that will never be possible with QOwnNotes... It's far too much of a personal, very special workflow. 😆

pbek avatar Jul 21 '24 18:07 pbek

Please kindly consider it would be used by many..

mangoose20026 avatar Jul 26 '24 13:07 mangoose20026

I'm sorry, this is by design not in scope of qownnotes.

pbek avatar Jul 26 '24 14:07 pbek

Is it possible to provide a text box and pull button anywhere in config to pull .txt files (find and replace existing ones)....

mangoose20026 avatar Jul 26 '24 15:07 mangoose20026

Hm, you have https://www.qownnotes.org/scripting/methods-and-objects.html#registering-script-settings-variables. There is a selection.

And you can use https://www.qownnotes.org/scripting/methods-and-objects.html#starting-an-external-program-and-wait-for-the-output to run a program and use the output.

pbek avatar Jul 26 '24 18:07 pbek

Is it possible to make as an UI human readable choice? the program would be used by many who may not have or don't know much of technical stuff. They can choose and import...Please let me know

mangoose20026 avatar Jul 27 '24 03:07 mangoose20026

I still fail to grasp what you are talking about or why do you think this has anything to do with the core of qownnotes. Those scripting commands are meant to be used by someone to write a script to extend the functionality of the application, exactly what you want to do, as far as I get it

pbek avatar Jul 27 '24 05:07 pbek

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 27 '24 01:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 10 '24 01:09 github-actions[bot]