ownnote icon indicating copy to clipboard operation
ownnote copied to clipboard

OwnNote Client for Desktop

Open dklueh79 opened this issue 9 years ago • 32 comments

A client for direct use via Linux / Windows-Desktop would be nice. No need to login into OwnCloud. A similar to the Android-Client.

dklueh79 avatar Sep 28 '15 12:09 dklueh79

Would also happy to see such thing :) Is there an API available that one could use to start working on an desktop app?

madmas avatar Sep 29 '15 14:09 madmas

Well, the Android App (https://github.com/aykit/MyOwnNote) does access a API URL (which uses JSON for the content). So it actually should pretty much be straight forward. I guess integration into an existing notes-application would be more sensible than yet another client? There are various out there (TomBoy or so? Getting-Things-Gnome?) which could be checked towards integration. Various features like categories, priorities and alike might provide obstacles though? The Gnome "Online Accounts" feature provides integration of calendar/contacts/documents/files at once, maybe integration could even be elevated to that level?

improti avatar Oct 03 '15 11:10 improti

Out of curiosity I have re-modeled the web UI under JavaFX. More for learning JavaFX than for building anything production-ready. Thats basically working directly on the local version of the files. Runs here under Win7 but I don't see why it shouldn't run elsewhere.

Happy to share it with everyone who would like to give it a try...

ThomasDaheim avatar Oct 04 '15 10:10 ThomasDaheim

Is that on GitHub mate? If so, provide a link please. Might look into trying it under Linux although a web-interface probably will do for me.

improti avatar Oct 04 '15 12:10 improti

Not yet but shouldn't be too hard to do. Will post the link once done.

My ownCloud instance on my Synology isn't very fast & responsive. So for me working on the files directly speeds up things a lot.

The entries for ownNote in the database seem to be relevant for history, redo/undo (?). I'm not creating those but so far I haven't run into any issue with that.

ThomasDaheim avatar Oct 05 '15 08:10 ThomasDaheim

@ThomasDaheim that sounds very interesting, I'm also interested to have alook at it & give it a try :)

madmas avatar Oct 05 '15 11:10 madmas

Hm, if access speed during development is your concern, Git won't harm you. You will still be working with your local copy (Git is designed as a distributed system), you will just have the option to update the GitHub repo efficiently at any time. So by all means, go ahead. First time still is some effort (getting your SSH keys set up etc.), but you will probably wish you'd have done that earlier afterwards :) And I remember the GitHub guides to be pretty good.

improti avatar Oct 05 '15 12:10 improti

@improti: Sorry for the confusion - I meant access speed to ownNote files, not github. (still doesn't help me with the first-time effort to setup git, I guess...)

ThomasDaheim avatar Oct 05 '15 12:10 ThomasDaheim

Ah, like why you use a local client, got it now. You must have loads of notes then - or a really aweful slow NAS ;) Makes me think how synchronisation is done, I got the impression on every sync everything is transferred, always. But this is getting off-topic I guess ...

Back on topic I must kind of draw back, though. I had to switch to another notes-app (just "notes") on OC. For that there is an open-source client on F-Droid (the above mentioned MyOwnNotes), which is a requirement for me. But that doesn't work with this "ownnotes" here. So I am kind of out of here for now. There probably should only be one notes app. Wonder if the projects have any communication or what the reasons might be ... Especially as the naming is so confusing (MyOwnNotes works with OC/Notes, not OC/OwnNote).

Sorry for any confusion I might have added (due to being confused myself, I lost many hours due to this).

improti avatar Oct 05 '15 13:10 improti

And here we go: https://github.com/ThomasDaheim/ownNoteEditor

Please note: my first attempt to work with github... If anything is missing or doesn't work please let me know!

ThomasDaheim avatar Oct 05 '15 19:10 ThomasDaheim

Nice mate. Almost feel a bit sorry I won't test it ... Thx 4 sharing anyways!

improti avatar Oct 05 '15 23:10 improti

Thanks for sharing, I just created a PR for the build setup as a start :)

madmas avatar Oct 06 '15 10:10 madmas

People are only talking about a Linux/Win client. I'm looking for an OSX client. I'm rather busy these days otherwise I'd hack an app together. If there's an API, writing an Objective-C OSX client shouldn't be too complicated. I'm willing to participate in a project, but I don't have the time to do it alone. Any Obj-C coders interested?

tessus avatar Nov 23 '15 15:11 tessus

My client is Java, so it should work on OSX as well ;-) Doesn't use the API but works directly on the files I have in my Notes directory...

ThomasDaheim avatar Nov 23 '15 18:11 ThomasDaheim

@ThomasDaheim ok, I'm not a big fan of Java, but I like the idea of changing the files locally. I'll give it a try. Should I have the time to code something myself, I'll make sure to add an offline mode as well. :-)

tessus avatar Nov 24 '15 02:11 tessus

@tessus basically, the offline mode is already there, i think. As it operates on the files synced by the owncloud client, the files will get synced as long as there is an connection. Given this, you can edit with the desktop client all the time and the changes will be synced as sonn as there is a connection.

madmas avatar Nov 25 '15 09:11 madmas

@tessus: Not sure what else you might look for in an "offline mode"? Otherwise, its as @madmas has pointed out: the client works on the local copy of the files and sync is done whenever you have the owncloud client running.

BTW, inspired from the thread on the onenote look & feel (#221) I might have a look into a nicer UI design :-)

ThomasDaheim avatar Nov 25 '15 14:11 ThomasDaheim

@madmas @ThomasDaheim hey guys, I think you misunderstood me. I dubbed "changing the files locally" offline mode.

Should I have the time to code something myself, I'll make sure to add an offline mode as well. :-) Maybe the misunderstanding came from the as well. That refers to the API code I initially mentioned.

So basically, iff I find the time to write a native OSX app, I will have an online mode (using the API on the server) and an offline mode (changing the files locally).

I hope I was able to clarify this.

tessus avatar Nov 25 '15 16:11 tessus

Tried QOwnNote, but dorsn't like htm files. So just use gwrite app foe WYSIWYG edit.

blvb avatar Jan 03 '16 19:01 blvb

@blvb have a look at https://github.com/ThomasDaheim/ownNoteEditor by @ThomasDaheim

tessus avatar Jan 03 '16 23:01 tessus

https://github.com/ThomasDaheim/ownNoteEditor will create it's own notes, but the notes created with the ownNote web interface or the android app don't show up even when I point it to owncloud/Notes that is created by the ownCloud web app.

stevesss avatar Jun 18 '16 10:06 stevesss

How are you syncing your notes ? With the https://github.com/owncloud/client ? What do you have in the settings of ownNote in the ownCloud preferences ? "Database and folder"

aviret avatar Jun 18 '16 11:06 aviret

I use OC 9.02 + ownnote 1.08 with the android app and the java app from ThomasDaheim (thank you) on ubuntu and windows. When I save new notes and later I open it on android I have a perfect chaos. The item of one note is now item of another note etc. I think there is a issue in syncing the changes in the folder with the database. Who can help?

krueuw avatar Sep 14 '16 13:09 krueuw

I will have a look at that from my end. Maybe there is something more to do than just changing files in the local directory? Have created an issue at my end: https://github.com/ThomasDaheim/ownNoteEditor/issues/57

ThomasDaheim avatar Sep 24 '16 11:09 ThomasDaheim

Had a look and updated the issue :-)

In short: it seems you need to start-up ownNote in your ownCloud/nextCloud once to get file system & database back in sync. If you only change files and don't start ownNote the database isn't updated. But that seems to be where the android app takes the info from.

Not sure if such a sync could be triggered e.g. via cron? I would not want to do that from ownNoteEditor since it defeats its purpose :-(

ThomasDaheim avatar Nov 04 '16 18:11 ThomasDaheim

I have added a third option "Folders only" to the ownnote configuration. Works on my end - now I only need to create a pull request from it :-) Using that option there is no more out-of-sync since the database isn't used anymore for storing notes.

ThomasDaheim avatar Apr 02 '17 19:04 ThomasDaheim

No QOwnNotes-Support = no native Windows Client? No iOS app? That really forces me to the "Notes" app :-( Too bad, ownnote has some great features.

bcutter avatar May 07 '17 19:05 bcutter

I'm still hoping that on the long run we have one notes application combining the best of all worlds...

ThomasDaheim avatar May 08 '17 06:05 ThomasDaheim

Working great on Windows at work and Linux at home. I really didn't understand the instruction so I ran gradlew installDist and manually copied the resulting build files under /bin /lib to /usr/bin and /usr/lib in linux and seems to run fine that way. I wonder what the right to install it is.

stevesss avatar Jun 24 '17 13:06 stevesss

I've been using this for months and i really like it. The least I can say is THANKS Thomas! Great Job.

stevesss avatar Aug 26 '17 00:08 stevesss