Skip to content

Add self-hosted backend support#444

Open
kcraftcode wants to merge 1 commit intoWriteopia:mainfrom
kcraftcode:feature/self-hosted-backend
Open

Add self-hosted backend support#444
kcraftcode wants to merge 1 commit intoWriteopia:mainfrom
kcraftcode:feature/self-hosted-backend

Conversation

@kcraftcode
Copy link
Copy Markdown

Implement a self-hosted backend solution that allows users to sync their notes with their own server. The implementation includes a Docker-ready backend service and a client-side integration that syncs notes when entering folders with unsynced content.

@kcraftcode kcraftcode mentioned this pull request May 2, 2025
@leandroBorgesFerreira
Copy link
Copy Markdown
Collaborator

Hi @kentaurse!

Thanks for your contribution!!

Hey, hey, this looks amazing! This isn't a trivial contribution, so I need time to check the code and understand everything you're proposing here. I'll review it tomorrow.

@kcraftcode
Copy link
Copy Markdown
Author

@leandroBorgesFerreira
Thank you.
I ll wait.

@leandroBorgesFerreira
Copy link
Copy Markdown
Collaborator

leandroBorgesFerreira commented May 3, 2025

Hi Kentaurse.

I checked the code today. I think you have some interesting ideas, and we can develop on top of them. But I would like to propose you to break down those changes in smaller chunks, so we can better evaluate how to fit them into the project as a whole. Right now there are too many areas changing at the same PR.

I noticed that your code is not compiling too. What do you say if we reduce the scope of the changes and iterate to fix the problem step by step? I propose that we start by doing this:

  • Create the logic to configure the selection and connection with the self-hosted backend. This code should be just in the apps, not the backend.
  • Add a small screen inside the Settings menu to configure it. Don't worry about the UI/UX, we can have an issue exclusively for that.

In short: Add a connection configuration in the app; Add a UI to interact with it; That's it =].

Then we can iterate so the app can actually connect with the backend using this logic.

Sorry, you would probably prefer to get your code accepted right away, but I think that with some planning you can make this feature to be really great!

@leandroBorgesFerreira
Copy link
Copy Markdown
Collaborator

This is where I would like the screen to be, bellow the button "Directory" you can add a screen to configure the self hosted backend.

Screenshot 2025-05-03 at 14 51 35

@kcraftcode
Copy link
Copy Markdown
Author

@leandroBorgesFerreira
Okay.
I understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants