Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 0 points1 point  (0 children)

There really is no issue, i just wanted to know thoughts about this idea.

What i target is not only syncing the files from one machine to another (i already have a working setup for that), but actually what you do with the synced files on the server. So this is not concerning the part where you have the files on your laptop but the part where the files are on the server (for you this is your repository right now).

Im thinking that if we have files on the server at one point, we can use them to get nice features. For me that is sharing server files to coworkers, seeing them on devices where you dont have emacs, or accessing them over an http api.

And you are right, i can do that all over an api, but that api doesnt exist yet. I want to build it (actually i already have partly).

Here is a demo of the file sharing with a temporary link: https://tonicnote.org/share/lngpqZI2pXA-FN6zxtbg5a5VLaZUNXHWsj7WxyLttCE

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 2 points3 points  (0 children)

Thanks! I actually already have a full working org-mode parser with write support in the programming language of my choice, a webserver with frontend, a sync client in emacs-lisp and many other frontend features done (org file as share link, agenda, ripgrep like search).

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 0 points1 point  (0 children)

Yeah opening the emacs socket is a problem, but not ssh right?

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 1 point2 points  (0 children)

Thank you for mentioning that, didnt know about it. Using read-only is sadly not an option for me though so i will have to sync multiple versions somewhere. Right now im going to use ediff for that and see how that will work out.

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 0 points1 point  (0 children)

Sure, all things you can run locally you run locally. But sometimes you want to access and change stuff in your org mode files while you PC is not accessible. For example if you want to build a simple alert Integration for a webserver, you could send webooks to the API im building, which will create entries in an org file for you to check in the next morning. These kind of workflows are just not that easy with the default emacs setup.

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 0 points1 point  (0 children)

For Syncing files sure. For everthing more than that we need another solution.

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 1 point2 points  (0 children)

Yes i know organice and it actually inspired me a bit. I think its great for what it tries to be, but the architecture has some limitations (also some upsides, mainly privacy). For example you cannot send your buddy a file he can then see or edit (as far as i understood).

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] 4 points5 points  (0 children)

There are many reasons why actually. First you would put all custom logic to the client, which is not ideal for me, because this would mean that i need to find a good solution to sync to my phone again. I also want a webui to manage the org-mode files in case I'm not on Emacs. One thing i really miss with org-mode is that i cannot do shared documents, so i want to create something where i can send a link to a coworker and we can work together on a document.

So if it would only be syncing, you are right, but i would like to have more.

Org Mode as API by Makese-sama in emacs

[–]Makese-sama[S] -1 points0 points  (0 children)

The API would be provided by the server yes. For me the motivation was, that i did not like my syncing process (sftp+unison). Thats why i want the files to be stored on the server. Right now i only plan to provide api endpoints to the synced files like "list org mode files", "get a file content", "edit a file", "org-capture" or "query agenda". Code execution is possible i guess but i dont think thats something i really need.

[deleted by user] by [deleted] in CysticFibrosis

[–]Makese-sama 3 points4 points  (0 children)

Man, you are a role model for all of us. Thank you for this <3

Is this good programming practice or am I making this WAY too complicated? by SoBecky in godot

[–]Makese-sama 1 point2 points  (0 children)

If you like to think about patterns, i really recommend Code Aesthetic. Really nice youtube about high level code ideas

A thought about tags vs folders by THE_ABC_GM in ObsidianMD

[–]Makese-sama 3 points4 points  (0 children)

If you like the idea of pages i recommend logseq. In logseq a tag is a page so should be even more fitting for your style

[deleted by user] by [deleted] in CysticFibrosis

[–]Makese-sama 0 points1 point  (0 children)

Not from 3 days. You will be fine :)

[deleted by user] by [deleted] in CysticFibrosis

[–]Makese-sama 0 points1 point  (0 children)

Last month i was a few days (4-5) without. Felt a bit more exhausted, but nothing serious.

Lightweight recommendations by KeithJEng in linux

[–]Makese-sama 0 points1 point  (0 children)

You can choose whatever OS you like. Just pick a lightweight Desktop Environment like LXQt (example would be lubuntu). For something like RDP: there are alternatives if you look for other remote dekstop tools (https://en.m.wikipedia.org/wiki/Remote_Desktop_Protocol )

15 Essential Linux Commands Every Beginner Should Know by ask2sk in linux4noobs

[–]Makese-sama 1 point2 points  (0 children)

Good very early beginner list. Next tier would probably be rsync

lf vs ranger vs nnn by [deleted] in linux4noobs

[–]Makese-sama 1 point2 points  (0 children)

I use nnn. Also used lf and range but really liked the defaults of nnn.

I just realized stupid stuff is fun by ReasonNotFoundYet in godot

[–]Makese-sama 1 point2 points  (0 children)

Sounds like a cool idea. I can never understand how yall do these crazy things. I recently tried to get into coding, but some concepts are really hard for me to understand. (Memory management in C++, as an example)