johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
10.86k stars 864 forks source link

Allow persistant data on the server for selfhosting the web version #3305

Open sebastienPoussard opened 1 month ago

sebastienPoussard commented 1 month ago

Problem Statement

When using the web version of the application, i want to access the same data from different browser without sync

:grey_question: Possible Solution

having the option to store the data on the web server hosting the application

:arrow_heading_up: Describe alternatives you've considered

N/A

:heavy_plus_sign: Additional context

I'm selfhosting the web application and want to use it from computer where i can't install sync tools.
Security of the access is deals already with authelia. I therefore want persistant data on the web application since i'll be alone to use it.

github-actions[bot] commented 1 month ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 1 month ago

Hello there sebastienPoussard! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

johannesjo commented 1 month ago

It would be a great addition to make this easier, though it would definitely require some sort of sync since it is technically not possible otherwise. But I agree that ideally there would be a solution for this included and possibly pre configured for the docker container.

sebastienPoussard commented 1 month ago

It would be a great addition to make this easier, though it would definitely require some sort of sync since it is technically not possible otherwise.

Excuse my lack of knowledge regarding the project, dev and the coding language you use but would a flat file directly in the /www folder would be enough ?

johannesjo commented 1 month ago

Excuse my lack of knowledge regarding the project, dev and the coding language you use but would a flat file directly in the /www folder would be enough ?

No unfortunately not :) You still need to establish some server client communication, but the server could be very simple possibly, just providing a simple api for the file write you mention.

marlondantas commented 1 month ago

Greetings!

I really liked the tool and understand that it needs this synchronization to reach a new level.

I was thinking that it will be necessary to have an API responsible for receiving all requests about activities, saving them to an in-memory database, and retrieving this information when requested.

Would creating this API in NestJS make sense for the project?

I would like to help if possible.

sebastienPoussard commented 1 month ago

Greetings!

I really liked the tool and understand that it needs this synchronization to reach a new level.

I was thinking that it will be necessary to have an API responsible for receiving all requests about activities, saving them to an in-memory database, and retrieving this information when requested.

Would creating this API in NestJS make sense for the project?

I would like to help if possible.

Wanted to help too but my dev skill are not enough to understand the project :[

janstadt commented 1 month ago

Multiple user support with some form of auth would also be great. Syncing. Sharing. The whole kit and cabootle.