bruce965

joined 3 years ago
[–] bruce965@lemmy.ml 2 points 2 weeks ago

I have to admit that I didn't really think about reminders. That would perhaps make more sense for Simple Calendar, perhaps in the future I might consider linking notes and reminders. Or maybe it would make sense to implement it directly in Simple Notes? I don't know, I'll keep that in mind for later, thanks!

the number of clicks/menus/presses it takes to create a note

I strongly agree on that. It must be at most as many clicks as on Google Keep, i.e. two clicks (plus a few to open the app).

import existing Keep notes from a Google Takeout into your Simple Notes

I didn't think about that. That shouldn't be too hard. After the MVP (minimum viable product) will be ready, imports from various common formats should be implemented, and I guess Google Takeout for Google Keep should be supported too.

Thanks for the suggestions!

[–] bruce965@lemmy.ml 1 points 2 weeks ago

Okay, I get it now :P

DXVK was born from a Nier Automata player Linux enthusiast? That's cool! I never checked, I assumed it was build by some big company like Valve or something. Kudos to Philip Rebohle!

[–] bruce965@lemmy.ml 1 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

use case is a shopping list for my SO and I. I want to be able to add stuff throughout the day, and cross them off once I grab them from the shelf, and separately be able to clear completed tasks

Sorry for the late reply. Oh yes, that's what I like about Google Keep, the collaborative aspect. What do you mean by "separately be able to clear completed tasks"? Do you mean being able to do it from multiple devices which are synchronized in real-time?

[Simple Chat] Why not just use one of the other Matrix clients?

Yes, you have a point... let's keep Simple Chat for later then. I had this idea of making an app for each of my needs and let them all connect to a single server with a single unified user. Good quality Matrix clients already exists, I guess there is no need to build a custom client for the chat if I end up adopting Matrix as the protocol.

[Simple Docs] This seems overly ambitious.

Let's say that's a longer term goal for the future. I might be underestimating the complexity of Google Docs, but if you think about it I would say it's not much more than a rich-text editor. Basically it's the same things as text notes, just with a bit more formatting options. I couldn't say the same thing about Google Sheets and Google Present.

No. Matrix is designed for chat, not data, and self-hosting it requires a fair amount of resources.

Why do you think so? I have tried it and it seems to be as simple as any other server thanks to Docker. I have a script to launch it here (mirror). It seems to use 160MB of memory and about 1% of my CPU when idle. I haven't done any serious tests though, maybe it wouldn't scale as well as I think.

I’d personally just DIY it since it’s really not a ton of logic

Well... there must always be a protocol behind it, it can be as simple/specific or as complex/generic as you want, but there must always be an agreement of the format of data exchanged between client and server.

By adopting the Matrix protocol, there wouldn't be any need to write a custom server, because Matrix servers already exist.

Matrix is designed for chat, not data

What's the difference between chat and data? A chat is a list of messages. A collaboratively-editable document is a list of changes. As far as I understand, Matrix uses "events" to describe things happening. When a user sends a message, the server emits and event like "add user X's message Y to your list of received messages". It shouldn't be too different than emitting an event "replace text at position X with Y" every time a document changes. They even have ephemeral events for temporary state, such as "the user X is currently typing". That should be similar to "the user X placed their cursor at position Y".

Do you think I might be oversimplifying or thinking it wrong?

[–] bruce965@lemmy.ml 1 points 2 weeks ago

Thank you both for the recommendations!

[–] bruce965@lemmy.ml 1 points 2 weeks ago (1 children)

Regarding multi platform targeting, have you considered something like React Native or Flutter

I have! I use Flutter in a professional setting and I do not hate it, but I am madly in love with React (not Native) for my personal projects. I tried React Native in the past and I found it a bit finicky, but it was just a "brief encounter", so I might change my mind about it in the future. For now I would go with Electron to save time, but I do not exclude the idea to build a desktop + mobile interface in Flutter in the future. React (not Native) can also run on any platform, that should be more than enough for the MVP.

I absolutely do not want to go with Flutter for the web though, as I feel like it's the exact opposite of what I would dream the web to be. I feel like Google built Flutter to give Android developers a tool to make apps with the excuse "oh yeah, it works on browsers too" and call it a day. Flutter basically bypasses most of the things that browsers do and in my personal opinion it re-implements everything more poorly than how a traditional web app would. Come on, they even built their own layout engine and even a rendering engine, was that really necessary? Browser extensions don't integrate well with Flutter apps, and the debugging experience is subpar. I really like Flutter for Android and desktop apps, and I might even say it's easier/simpler than Android Studio (Kotlin), but personally I feel like it's just a big dirty hack in the web context.

Okay, I just realized that my reply sounds a lot like a rant. My apologies. Please consider this as my current view on these tools, it might change in the future. It's not a criticism.

the company behind it shuts down or gets sold

That's an important concern. Well, the source code is AGPL 3.0, so there is no risk of it disappearing. Also, this would be my hobby project and I absolutely do not expect it to ever become anything commercial. I do not even plan to accept donations or anything like that. Basically it's something that I need, and since it doesn't exist I am considering building it myself.

There is a big probability that I might stop working on it either because I find it "good enough" for my needs or because I won't be able to work on it anymore, but I would say I'll try to keep it as simple as possible, so it should be relatively easy to maintain. Also, relying on Element (Matrix) maintain the server code would mean I just need to maintain the client, which should cut the work down by 50%. I strongly hope Matrix will never shut down or get sold.

In any case, okay! Let there be the possibility to export data in a common format! (Preferably Markdown)

I feel all my data is siloed across several apps

Matrix supports a way to integrate with third-party data sources, but I haven't read too much into it as it was not in my goals. Perhaps a Synapse (Matrix) plug-in might allow to integrate notes with third-party sources without having to make any changes to the client code. I might investigate this possibility in a later stage.

[–] bruce965@lemmy.ml 1 points 2 weeks ago

Ah, that's a good suggestion, but definitely out of my scope. Since I want to make a web UI first, users could look for a word prediction plugin for their browser if that's something they are interested in. Still, thanks for the suggestion!

[–] bruce965@lemmy.ml 2 points 2 weeks ago

I didn't know this term! I knew about DAGs which are probably a way to implement CRDTs. I just read the definition on Wikipedia, it says that "[CRDTs feature] an algorithm (itself part of the data type) automatically resolv[ing] any inconsistencies that might occur [in case of conflicts]", that sounds interesting. I was thinking to try to resolve conflicts automatically whenever possible by adapting Git merge strategies, and when impossible: either just concatenate both versions and let the users fix it manually, or giving users the option to choose line-by-line which version they want.

With this keyword I might be able to find more literature on the topic. Thank you for suggesting it!

[–] bruce965@lemmy.ml 1 points 2 weeks ago

Okay, that's a nice suggestion. I was thinking to try to keep the UI more generic rather than integrate it with operating systems, but an Android widget might not be too hard to do, I might investigate later.

I do know Node, but I am not skilled with PHP, I haven't used it for 10 years and I've noticed that things have changed a lot since the version I knew. I feel NextCloud is a bit overbloated, but I didn't think about checking how they handled the communication part, that's a good idea. It doesn't overlap much with what I had in mind, but I might still be able to learn something. Thanks!

[–] bruce965@lemmy.ml 1 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

start by scouting around and see if you can adapt FOSS apps

I see lot of people are recommending me to contribute to existing projects instead of reinventing the wheel. I want this app to be as close as possible as I envision it, I couldn't find something close enough to what I had in mind (in particular these three things do not seem to get along well: real-time collaboration, simplicity, reliability/stability). But I'll be honest, I code for fun and I am lazy. Even if there was another project similar enough to this, I don't think I would want to invest time to learn all the details and then more time to see if it can be adapted to my vision. Starting from scratch is easier, even though it might not be as beneficial to the FOSS community. Still, thank you for suggesting this, that sounds like it would be the smartest thing to do.

Also, I didn't know about Murena, thanks for mentioning it!

[–] bruce965@lemmy.ml 1 points 2 weeks ago* (last edited 2 weeks ago)

E2EE because I wish for a software that you don't need to self-host. We here on the Lemmy Selfhosted community are lucky to have the skill to do it, but I want other less tech-savvy users to also be able to use this service without having to trust a third-party.

It makes backups much more complicated

You have a point, but if the server acts just as a blind relay to facilitate synchronization, you just need to run this app on a couple of your devices and you have a distributed backup you don't even need to think about. A copy of all the synchronized documents is stored on your device(s), and it should ideally be exportable at any time, so I would say you don't need to also have a backup on the server. If you happen to lose all of your devices, you can just add a new one and in a few minutes the server will send you a copy of your data. I would say that makes it unnecessary to keep a plain-text backup on the server, what do you think?

EDIT: I didn't want to burden users with a choice of E2EE vs plain-text, but that would be doable I guess. If I end up adopting Matrix, E2EE is optional.

[–] bruce965@lemmy.ml 2 points 2 weeks ago* (last edited 2 weeks ago)

Whoa, that's a long list of ideas... let me see...

  1. That's the plan, excluding iOS as I do not have a Mac and thus I cannot develop for it
  2. Certainly
  3. Certainly!
  4. That's not part of the MVP (minimum viable product) I have in mind, but an export function must certainly be added later
  5. Plug-ins are not part of my goal, but I will do my best to keep the source code modular enough to let people adapt it freely
  6. We agree on that, global search is necessary, but I did not think about a "search inside a note" option. That seems to make sense, I'll see what I can do
  7. Tags are part of my idea, although not the MVP, but folders are not; I will see if I can also add folders without complicating code and UI too much, that doesn't sound like a bad idea
  8. Not part of my goal, but maybe in a future iteration
  9. Yup, that's what I had in mind too
  10. As a developer I like Markdown, but it is not on my priority list... perhaps in a future iteration. I was thinking to (maybe) use Markdown behind the curtains, so it might not be too difficult to let users toggle the WYSIWYG
  11. The first UI that I am planning to develop will be for the web browser, then a lazy-man Electron UI for the desktop as well as something for Android, I just wanted to do something simple. I don't have the time and skills to do deep desktop integration, perhaps in the future, or maybe someone might contribute this feature if this project actually manages to become something interesting
  12. That's not part of the Simple Notes app I was thinking about, but that would make sense for Simple Calendar, perhaps in the future I might consider linking notes and reminders, but that's not something I am thinking about yet
  13. I did not think about that, that's a good idea, I'll see what I can do
  14. The first version will not let you upload media, but images are planned. I did not think about sound/video/documents, but I guess why not?

I think notes collaboration might be a anti feature

That's the main reason why I decided to build this suite of apps in the first place. I want to be able to work collaboratively on things with my girlfriend, and we must be able to do it in real-time. I realize that this will eat away a big chunk of the total time I will dedicate to this project, but it is also the main reason why I am not satisfied with the options currently available.

[–] bruce965@lemmy.ml 2 points 2 weeks ago

Oh, I like this a lot! I will consider adopting it if I will actually get this project started. Thanks!

 

Hi! I'm a software developer working on a suite of collaborative self-hostable apps to replace proprietary services I couldn't find a good replacement for.

I am writing this post to seek opinions and ideas now that I am still in the early prototyping phase, before it's too late to change track.

My idea is to develop a collection of simple single-purpose apps that do one and only one thing. The first app will be called Simple Notes (mirror), a replacement for Google Keep. Every operation is encrypted locally on the client, and the server never sees plaintext data. I am investigating federations models to let users connect to other instances and work collaboratively, much like Lemmy.

So, my goals in order of priority are:

  • No compromises on privacy and security
  • Completely FOSS
  • Real-time collaboration between users
  • Asynchronous collaboration (work offline, sync when back online)
  • One account to operate on all apps in this suite
  • Web UI / desktop UI / mobile UI
  • Minimal interface which my grandma can use, no feature-bloat
  • No anti-features such as advertisements, tracking, etc...
  • Self-hosting
  • Federation

After Simple Notes, I plan to keep developing other simple apps, some ideas on my list:

  • Simple Notes - Replacement for Google Keep
  • Simple Split - Replacement for SplitWise
  • Simple Chat - Replacement for WhatsApp/Slack/Meet/Teams
  • Simple Docs - Replacement for Google Docs
  • Simple Draw - Collaborative drawing app
  • Simple Calendar - Replacement for Google Calendar
  • Simple Contacts - Replacement for Google Contacts (suggested by @Churbleyimyam@lemm.ee)

Initially I started writing my own protocol (mirror), operating quite differently from Lemmy's, but then I realized that someone else already has developed a protocol for this purpose: Matrix. It is (optionally) E2EE, it's FOSS, and it's federated. So yeah, it sounds like the perfect choice to me. Also, if I pick Matrix, Simple Chat will just be a reskin of Element, so development cost is almost zero.

So, a questions for the developers on the Lemmy Selfhosted community: do you think piggybacking the Matrix protocol would be a good choice? Do you know any alternative that might be more suited for this purpose?

And a question for all Lemmy Selfhosted users: is there a simple app that you would like me to add to the list?

Bonus question: do you know of any Lemmy community where I could repost?

Thank you very much for the time you spent reading my post!

--

Link to source code on my server and GitHub mirror.

--

EDIT: I might have been a bit unclear on my objective. My intention is not to just build a replacement for Google Keep, that's just the first step of the idea I had. My objective is to build a template from which it should be possible to build all sorts of apps to collaboratively work on documents of various types. Simple Notes (Google Keep) would be for text documents, Simple Split (SplitWise) for expenses (because a list of expenses is a document after all), Simple Chat (WhatsApp) for chats (oh yes, I would say that a list of messages is also just a document), Simple Docs (Google Docs) for... well... text documents, Simple Draw for canvas documents, and finally Simple Calendar (Google Calendar) for a calendar (which, why not, is also document!).

So yeah, I don't want to just find/build an alternative for Google Keep, I want to find/build a tool to build all sort of simple collaborative apps on top of.

What I am looking for is not the recommendation of an app to simply replace Google Keep, I am looking for a template or even just a protocol on top of which it's possible to build collaborative document-editing apps.

view more: next ›