streetwriters / notesnook-sync-server

Sync server for Notesnook (self-hosting in alpha)
https://notesnook.com/
GNU Affero General Public License v3.0
455 stars 18 forks source link

Self hosting #1

Open astingengo opened 1 year ago

astingengo commented 1 year ago

Hi,

When do you think the self hosting it will be available [like in docker into a raspberry pi?]

dwarf-king-hreidmar commented 1 year ago

I come here every few weeks to check. I'm willing to pay into a bounty to make it happen!

sunbl0ck commented 1 year ago

I can haz self hosting?

binaryben commented 1 year ago

Will this work with the mobile apps and will it require a subscription if self-hosted? Many thanks for your good work!

thecodrr commented 1 year ago

@binaryben yes and no. Self hosting will be free (people can donate/contribute/subscribe but it won't be mandatory).

binaryben commented 1 year ago

@thecodrr Thats very exciting! A truely FOSS potential alternative to Standard Notes. Will definitely be looking at donating if I end up using it.

andersonpem commented 1 year ago

On the watch for this.

targor commented 1 year ago

When i understand this correctly, then only one point in the todo list is still open that prevents us from using the self hosting, and that would be the "Publish on DockerHub" and maybe the documentation of it? The changing of settings urls in the client wont affect the server directly right? ..

As this seems to me not so very complicated to implement, could it be that you just intent to never implement it? It now has been some time and the selfhosting is still not available. I would really love to host this thing on my own and would appreciate if you can finish the server. I know you maybe have a lot other work to do, but it would be cool if you could finish the server or.. the "uploading of the docker image to dockerhub" soon :).

ijustyce commented 1 year ago

When i understand this correctly, then only one point in the todo list is still open that prevents us from using the self hosting, and that would be the "Publish on DockerHub" and maybe the documentation of it? The changing of settings urls in the client wont affect the server directly right? ..

As this seems to me not so very complicated to implement, could it be that you just intent to never implement it? It now has been some time and the selfhosting is still not available. I would really love to host this thing on my own and would appreciate if you can finish the server. I know you maybe have a lot other work to do, but it would be cool if you could finish the server or.. the "uploading of the docker image to dockerhub" soon :).

After waiting for self host for more than half a year, I used outline (https://github.com/outline/outline)

dwarf-king-hreidmar commented 1 year ago

On a more positive note I'm happy to help with a helm chart once the image is finalized and published.

thecodrr commented 1 year ago

As this seems to me not so very complicated to implement, could it be that you just intent to never implement it? It now has been some time and the selfhosting is still not available. I would really love to host this thing on my own and would appreciate if you can finish the server. I know you maybe have a lot other work to do, but it would be cool if you could finish the server or.. the "uploading of the docker image to dockerhub" soon :).

It will be done when it will be done. There is no timeline and we have made no promises as to when this might happen. I want to be very clear, though, that we do intend to add support for self hosting and it is one of our long term goals. The good news is that things are rapidly moving towards making this a reality. The problem, currently, is this:

We haven't yet finalized the Sync API. Making the sync server self hostable before that would be a bad idea as everyone would have to do a huge migration. Once we are done with the necessary changes and things have been fully stabilized, self hosting won't take long.

I really do appreciate everyone's patience in this regard.

dwarf-king-hreidmar commented 1 year ago

I appreciate the update but I also don’t feel like you owe anyone anything in this regard. F it happens. Scratch your own itch. Thanks for what you’ve done so far.

On Sat, Oct 7, 2023 at 1:00 AM, Abdullah Atta @.***(mailto:On Sat, Oct 7, 2023 at 1:00 AM, Abdullah Atta < wrote:

As this seems to me not so very complicated to implement, could it be that you just intent to never implement it? It now has been some time and the selfhosting is still not available. I would really love to host this thing on my own and would appreciate if you can finish the server. I know you maybe have a lot other work to do, but it would be cool if you could finish the server or.. the "uploading of the docker image to dockerhub" soon :).

It will be done when it will be done. There is no timeline and we have made no promises as to when this might happen. I want to be very clear, though, that we do intend to add support for self hosting and it is one of our long term goals. The good news is that things are rapidly moving towards making this a reality. The problem, currently, is this:

We haven't yet finalized the Sync API. Making the sync server self hostable before that would be a bad idea as everyone would have to do a huge migration. Once we are done with the necessary changes and things have been fully stabilized, self hosting won't take long.

I really do appreciate everyone's patience in this regard.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Aiakio commented 1 year ago

@binaryben yes and no. Self hosting will be free (people can donate/contribute/subscribe but it won't be mandatory).

Does that mean, pro features will be available on the self-hosted version without paying for a subscription?

rainyskye commented 1 year ago

Does that mean, pro features will be available on the self-hosted version without paying for a subscription?

As far as I can see yes.

u/thewisefarmerr - "Well, if someone would be willing, the could use Notesnook 100% for free by self hosting everything and enabling pro features on the clients."

Source: https://www.reddit.com/r/opensource/comments/x3ds2w/notesnook_is_now_open_source/impmrul/

Mekacher-Anis commented 10 months ago

updates on this? keep up the great work!!

bleomycin commented 8 months ago

Has there been any public update on the status of this? I have been a paying customer of Notesnook since Sept 2022 entirely because self hosting was listed as a coming soon feature. I wanted to support that development. I actually barely even use the app and continue to pay for this reason.

I never expected self hosting to remove all license fee's and want it purely to have full control of my data. I know I'm not alone in feeling a bit nervous that this may never get implemented due to the lack of updates on this topic for so long. I'm sure many of us would very much appreciate some form of official communication about this feature one way or the other.

thecodrr commented 8 months ago

@bleomycin thank you for your support; we really do appreciate it. I understand your frustration but I assure you that we 100% want to make self hosting of Notesnook possible. The current roadmap looks like this:

  1. v3 release
  2. Self hosting
  3. Third party audit

Please note that there are no planned/promised dates for any of the above so everyone's patience is really appreciated.

Littleweisheit commented 6 months ago

@bleomycin thank you for your support; we really do appreciate it. I understand your frustration but I assure you that we 100% want to make self hosting of Notesnook possible. The current roadmap looks like this:

1. v3 release

2. Self hosting

3. Third party audit

Please note that there are no planned/promised dates for any of the above so everyone's patience is really appreciated.

v3 has been released, looks like self-hosting is on the way!

binaryben commented 6 months ago

v3 has been released, looks like self-hosting is on the way!

Hmm, maybe… The option to add a URL to a self-hosted server seems to be missing from the iOS app now.

Can anyone confirm if it’s still there but just moved?

thecodrr commented 6 months ago

An update for those waiting: v3 release is done. Next step (after we enter a little bit more stable territory with v3) is self hosting as promised.

luisogandob commented 6 months ago

Great product! I just discovered today. Self hosting will put the cherry on this. Several products out there doesn't charge for self host in order to get more users that recommend the product to impulse the paid hosted version. To be real, this can easily compete with EverNote and not all users can host a functional server.

mackerel225 commented 5 months ago

This is another app I stumbled upon, I like how simple it is with the encryption it provides, I see that fully self-hosting solution is not yet available, as far as I follow this is the only bit that is remaining - notesnook-sync-server (the main server?). That is okay, take the time to develop this properly. I just hope that the project can maintain both, people wishing to self-host and customers willing to pay to grow the project if that is what leads are after. I also hope it will keep its privacy focused approach and not go after fancy-like buzzwords, i.e. AI

codenyte commented 4 months ago

Any updates?

gyrex commented 3 months ago

Can the devs provide an update as to when the self hosting portion of NotesNook will likely be available please?

Kofl commented 3 months ago

v1.0-alpha.1 was just released

slarrain commented 3 months ago

The alpha release is great news. Seems that the "may never get released" theory might not be becoming true. Looking forward to a Beta release that I can test on my NAS and report back. Keep up the good work!

thecodrr commented 2 months ago

Everyone who can try out and test the self hosted instance of Notesnook can do so now with v3.0.16 of the clients and v1.0-alpha.7 of the server. Please let me know how the whole process goes, what issues you face, what can be improved etc. This is still very experimental so things will definitely change.

Self hosting guide (draft): https://monogr.ph/66add1680f119badfa65686f/

azoller1 commented 2 months ago

Ok, I have attempted to set everything up and everything appears to be running ok for all of the containers, but I am not sure if the app is connecting properly. I am testing on my android device with the lates version which is v3.0.15 for mobile as of now. I am able to put in my 3 connection URLs and is successful when testing everything. Then, I restart the app and I assume I just create a new account, so I did. Should changes be syncing now to my own instances or notesnook cloud? There doesn't seem to be any indication of files syncing when looking over my container logs. The email sent for signup wasn't sent from the "FROM" address defined in my .env file. I will try out the desktop app shortly.

Current plan only shows Basic as well.

dyw770 commented 2 months ago

image image It seems to be not working properly. Did I make a mistake?

dyw770 commented 2 months ago

图像 图像 它似乎无法正常工作。我犯了错误吗?

Reasons for using HTTP

s0llvan commented 2 months ago

Everyone who can try out and test the self hosted instance of Notesnook can do so now with v3.0.16 of the clients and v1.0-alpha.7 of the server. Please let me know how the whole process goes, what issues you face, what can be improved etc. This is still very experimental so things will definitely change.

Self hosting guide (draft): https://monogr.ph/66add1680f119badfa65686f/

This works almost for me, the only problem is that URLs are not used by web and desktop application 😕

image

Screenshot from 2024-09-04 07-09-53

thecodrr commented 2 months ago

@fze015 click on Test connection and then Save.

Just tested it and it's a bug.

dyw770 commented 2 months ago

Everyone who can try out and test the self hosted instance of Notesnook can do so now with v3.0.16 of the clients and v1.0-alpha.7 of the server. Please let me know how the whole process goes, what issues you face, what can be improved etc. This is still very experimental so things will definitely change. Self hosting guide (draft): https://monogr.ph/66add1680f119badfa65686f/

This works almost for me, the only problem is that URLs are not used by web and desktop application 😕

image

Screenshot from 2024-09-04 07-09-53

@fze015 not use http protocol

s0llvan commented 2 months ago

@fze015 click on Test connection and then Save.

Just tested it and it's a bug.

I have already click on Test connection and save it. Connection successfully but URLs not used by the web application.

s0llvan commented 2 months ago

Everyone who can try out and test the self hosted instance of Notesnook can do so now with v3.0.16 of the clients and v1.0-alpha.7 of the server. Please let me know how the whole process goes, what issues you face, what can be improved etc. This is still very experimental so things will definitely change. Self hosting guide (draft): https://monogr.ph/66add1680f119badfa65686f/

This works almost for me, the only problem is that URLs are not used by web and desktop application 😕 image Screenshot from 2024-09-04 07-09-53

@fze015 not use http protocol

He say "You don't actually need HTTPS" in his guide.

dyw770 commented 2 months ago

Everyone who can try out and test the self hosted instance of Notesnook can do so now with v3.0.16 of the clients and v1.0-alpha.7 of the server. Please let me know how the whole process goes, what issues you face, what can be improved etc. This is still very experimental so things will definitely change. Self hosting guide (draft): https://monogr.ph/66add1680f119badfa65686f/

This works almost for me, the only problem is that URLs are not used by web and desktop application 😕 image Screenshot from 2024-09-04 07-09-53

@fze015 not use http protocol

He say "You don't actually need HTTPS" in his guide.

I have tested it and it is necessary to use HTTPS

thecodrr commented 2 months ago

HTTPS is only mandatory on mobile apps.

dyw770 commented 2 months ago

HTTPS is only mandatory on mobile apps.

use https://app.notesnook.com/ When configuring this webpage with an HTTP server address, the browser will block the request. The same applies to the desktop

s0llvan commented 2 months ago

HTTPS is only mandatory on mobile apps.

use https://app.notesnook.com/ When configuring this webpage with an HTTP server address, the browser will block the request. The same applies to the desktop

After that doesn't change HTTPS or HTTP for me, because there in any case URLs are not used as you can see during calls in the console. No matter what URL I put

dyw770 commented 2 months ago

HTTPS is only mandatory on mobile apps.

use https://app.notesnook.com/ When configuring this webpage with an HTTP server address, the browser will block the request. The same applies to the desktop

After that doesn't change HTTPS or HTTP for me, because there in any case URLs are not used as you can see during calls in the console. No matter what URL I put

image image

This is the result I just tested

thecodrr commented 2 months ago

@dyw770 you are right. When using anything other than localhost, HTTPS is mandatory. I'll update this in the guide.

s0llvan commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ?

Or it's like me :

image

dyw770 commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ?

Or it's like me :

image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

s0llvan commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

Ok thank

Littleweisheit commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

I don't get it.怎么搞的?我反向代理是Nginx Proxy Manager 搞的不知道那儿出问题了。

dyw770 commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

I don't get it.怎么搞的?我反向代理是Nginx Proxy Manager 搞的不知道那儿出问题了。

我是直接把网页端和桌面端里面的默认的url给改成了自己的托管服务器地址, 然后编译, 再自己托管网页端.

Littleweisheit commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

I don't get it.怎么搞的?我反向代理是Nginx Proxy Manager 搞的不知道那儿出问题了。

我是直接把网页端和桌面端里面的默认的url给改成了自己的托管服务器地址, 然后编译, 再自己托管网页端.

是程序有bug?

dyw770 commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

I don't get it.怎么搞的?我反向代理是Nginx Proxy Manager 搞的不知道那儿出问题了。

我是直接把网页端和桌面端里面的默认的url给改成了自己的托管服务器地址, 然后编译, 再自己托管网页端.

是程序有bug?

对, 他web端的设置服务器地址没有生效, 所以设置了没用, 如果你现在想要用这个只能自己编译web端.

Littleweisheit commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

I don't get it.怎么搞的?我反向代理是Nginx Proxy Manager 搞的不知道那儿出问题了。

我是直接把网页端和桌面端里面的默认的url给改成了自己的托管服务器地址, 然后编译, 再自己托管网页端.

是程序有bug?

对, 他web端的设置服务器地址没有生效, 所以设置了没用, 如果你现在想要用这个只能自己编译web端.

图片 貌似修复了

dyw770 commented 2 months ago

And after, that work for you @dyw770 ? Does it call on the right URL ? Or it's like me : image

@fze015 like you. this is a bug. You can try modifying the URL of the notesnook and compiling it yourself. I have successfully compiled and implemented self hosting.

I don't get it.怎么搞的?我反向代理是Nginx Proxy Manager 搞的不知道那儿出问题了。

我是直接把网页端和桌面端里面的默认的url给改成了自己的托管服务器地址, 然后编译, 再自己托管网页端.

是程序有bug?

对, 他web端的设置服务器地址没有生效, 所以设置了没用, 如果你现在想要用这个只能自己编译web端.

图片 貌似修复了

修复了也得等他更新, 不知道啥时候会更新.

azoller1 commented 2 months ago

Still don't think I can get this working. I am using https and I am testing my connection/endpoints and the app says connected successfully. The app restarts and then I go to create an account and it still appears to be creating an account with notesnook cloud. There appears to be no indication of the custom servers being used within the app itself or the container logs.