8 ms·
Organice: An implementation of Org mode without the dependency of Emacs
- WalterGR 4y agoRe. parser: > organice has a custom parser for Org files. It works quite fine and has unit tests to prove it. One of the quality goals for the parser is that when it parses and re-exports an Org file, it should not change the original file. Not seeing unrelated diffs is important for the productivity of the user. It sounds trivial, but lots of alternative products do not live up to this expectation.
- funcDropShadow 4y agoI've used that parser to write some custom tools for me, it chocked on one large file (30k lines) with lots of code blocks. It needed 30 min and dozens of GiB of RAM to parse that file, that was on the JVM not in the browser. But the next update of the parser combined with some strategic deletions of code blocks, made parsing fast enough.
- preek 4y agoI don't think you did. You probably used the sister project https://github.com/200ok-ch/org-parser https://github.com/200ok-ch/org-parser which has a well known issue regarding what you are describing: https://github.com/200ok-ch/org-parser/issues/56 https://github.com/200ok-ch/org-parser/issues/56 organice has no such performance issues (and does not run on the JVM). I use it daily with 5k LOC files.
- funcDropShadow 4y agoYou are right, I was under the assumption that Organice did use 200ok-ch/org-parser. Sorry, for the confusion.
- _k9eq 4y agoI don't think the point is so much that it does not depend on Emacs, but that it is a phone application. Full independence seems inprobable, or at least I cannot imagine anyone adding support for all the external types: https://orgmode.org/manual/External-Links.html https://orgmode.org/manual/External-Links.html. IMO Org is a markup language imersed into Emacs, and there is nothing wrong with that.
- OrderlyTiamat 4y agoAgreed, feature parity seems too high a goal to reach. But being able to peruse and even change my notes on the fly is a very attractive option, even if my main interaction is through emacs. I also think the syntax is just very nice to work with and I prefer it over markdown, so having more options to use it is certainly good.
- herewulf 4y agoI use Orgzly on mobile and while I prefer emacs for any serious work, it works just well enough to capture my thoughts, URLs, etc..
- OrderlyTiamat 4y agoI've used Orgzly a while back, but I haven't gotten around to setting up sync to my notes again when I moved them. While it's great- And here again, the many sync options are amazing!- I found the interface a bit cluttered, it got in the way of simply writing what I wanted to write. That's very subjective though. It is one of the reasons I love emacs so much: there is so little interface in the way of doing what you want to do. If you like you can compile, debug, use lsp, read rss, manage your agenda, do any damn thing you want- but at its core emacs is just an extremely capable text editor that enables you to do your thing.
- wanderingmind 4y ago+1 for Orgzly. I sync the notes from Orgzly to my computer using syncthing. This way I can create outlines in Orgzly and complete details on my Computer.
- OrderlyTiamat 4y agoI can't believe I've never seen this before, and it has 1.7k stars on github too! It looks very promising, especially all the sync options. A while back I saw an effort to create an orgmode syntax standard called orgdown, I hope some sort of standard can be agreed on other than whatever the current orgmode package supports. I think orgmode is a beautiful syntax that has nice advantages over markup, and I'm excited to see it venture beyond desktop emacs. [0] https://gitlab.com/publicvoit/orgdown https://gitlab.com/publicvoit/orgdown
- preek 4y agoHi there, maintainer of organice here. Even before publicvoit started the great effort of orgdown, we've started working on a standardized Org mode parser which will run for different programming languages and runtimes: https://github.com/200ok-ch/org-parser https://github.com/200ok-ch/org-parser Having said so, since orgdown is a subset of Org mode, organice fully supports orgdown. Technically and as a project.
- mateuszf 4y agoOut of curiosity: Does org-mode have encryption mode? Where all the files and maybe their names get encrypted on disk? That's a must have for me for the multiple devices scenario with storing data on 3rd party service. Right now I'm using obsidian because it has client side encryption, but it's not open source so not optimal.
- radarsat1 4y agoIt's emacs so I'm guessing it's possible. e.g. https://www.emacswiki.org/emacs/AutoEncryption https://www.emacswiki.org/emacs/AutoEncryption
- mateuszf 4y agoYeah, that supports handling encrypted files, but the question is if org indexes such files to handle interlinking, file completion, agendas and stuff. I guess it doesn't.
- OrderlyTiamat 4y agoIt depends on how you do it. Org maintains a reference to what id's you use in links, so if you have an encrypted file with an id link, those links are active and you'll be taken to the right file when following the link (and asked to decrypt it etc.) for example: encryptedfile.org.gpg * someheading :PROPERTIES: :ID: bf15277c-8505-4888-9497-a5533829217d :END: EOF otherfile.org [[id:bf15277c-8505-4888-9497-a5533829217d][this link will work]] EOF I'm not sure about agenda and file completion though.
- rodelrod 4y agoAgenda opens every underlying file in the emacs session so I would assume it would work. I've never used encryption, though.
- AlanYx 4y agoOrg supports both full-file encryption and encryption of the text of entries but not the headings and properties (org-crypt). It's your choice.
- ossusermivami 4y agoI'd love to be able to build a SMS to org-todo gateway, where my quick todos are just simple text messages... It may be easier with a discord/telegram bot but the simplicity of sms is ubiquitous and reliable (I am often in rural area with very limited networking)
- yaysyu 4y agoI imagine you could whip something together using huginn which is an open source IFTTT/Zapier alternative https://github.com/huginn/huginn https://github.com/huginn/huginn
- preek 4y agoIf you have a smartphone, then you can use the customizable capture templates[1] (similar to Emacs) from organice. You can even use bookmarklets to capture web content, and have Siri integration. Limited networking is not a big issue, because organice can cache your Org file locally until you can sync later. If you do get around to building an SMS to Org mode gateway, I'd be interested to see a post about it, though. Good luck with it! 1. https://organice.200ok.ch/documentation.html#capture_templates https://organice.200ok.ch/documentation.html#capture_templat... 2. https://organice.200ok.ch/documentation.html#bookmarklets https://organice.200ok.ch/documentation.html#bookmarklets 3. https://organice.200ok.ch/documentation.html#siri_integration https://organice.200ok.ch/documentation.html#siri_integratio...
- aasasd 4y agoWouldn't it be easier to have e.g. Orgzly on the phone and add todos straight into the Org files? Then have them synced to desktop via Syncthing, for example, once you're on wifi. That's my setup, and in fact I have Orgzly pop up notifications for tasks, because I'm too lazy to look at the agenda.
- herewulf 4y agoI've been playing with this a bit lately and it's probably even good enough to introduce to my non-technical wife who has an increasingly complicated job but she is unlikely to invest the time in learning emacs itself. It's very mobile oriented and while it works on a desktop browser, it's not optimized for one (especially screen width -- though there are some patches/hacks in the GH issues). Personally I use Orgzly on mobile (with Syncthing). One feature I would absolutely miss with Organice is notifications for scheduled events and deadlines. Having these things reminding me on my connected smartwatch is a killer feature for Org mode.
- preek 4y agoHi there, maintainer here. I'm using organice with my on-technical wife for all kinds of tasks and it works well. She even introduced it at her workplace(; I agree that notifications are very important to have. For the time being, I'm using this workflow: https://200ok.ch/posts/2022-02-13_integrating_org_mode_agenda_into_other_calendar_apps.html https://200ok.ch/posts/2022-02-13_integrating_org_mode_agend... Of course, this workflow is only for a technical (Emacs) user. The reason having gone this way is that iOS does not allow for web notifications. Having said so, I'm also currently working on a branch to integrate customizable reminders and deploy organice into the Android and iOS stores. Then it'll have native notifications on all available platforms.
- xenodium 4y agoIf looking for org tools outside of Emacs, here are some: https://BrainTool.org https://BrainTool.org https://logseq.com https://logseq.com https://plainorg.com https://plainorg.com https://orgzly.com https://orgzly.com https://flathabits.com https://flathabits.com https://beorg.app https://beorg.app https://easyorgmode.com https://easyorgmode.com https://organice.200ok.ch https://organice.200ok.ch https://orgro.org https://orgro.org Disclosure: I authored Plain Org and Flat Habits.
- daptaq 4y agoNote that not all of this software is free (as in freedom), which is particulary unusual for Emacs-related software.
- aasasd 4y agoEmacs packages, and Org specifically, tend to have a hands-on approach to editing files: Emacs' API relies on moving around the cursor (‘point’) and doing stuff in its vicinity, and Org has rather little abstraction on top, basically jumping from user-visible commands straight to this fiddling. My dream is that Org is implemented in layers instead: a low-level Org API deals with the text and provides concepts of headings, lists and such, the internal ‘business logic’ uses those, and the interface and user commands are built on top. Then extensions to Org, like my personal functions and customizations, can also operate on the higher-level concepts, instead of having to mess with text regularly or to keep in mind how each function moves the cursor. Another dream is that Elisp is implemented as a standalone embeddable engine, instead of being conjoined with Emacs. Thus, if the two dreams merge, third-party applications could embed elisp, have their own low-level Org API that uses the app's structures, with their own interface plugged into that—but borrow logic from Org and bolt other scripts and customizations onto it. Like, I could just copy my scripts from the desktop onto the phone. That's my kind of PIM. Of course, there would be limitations, like working with snippets in other languages, which unavoidably relies on Emacs' text APIs. But personally I can sacrifice that on the phone, just as I do now with Orgzly.
- profsnuggles 4y agoWell I think the first is kind of what orgdown is trying to do. https://karl-voit.at/2021/11/27/orgdown/ https://karl-voit.at/2021/11/27/orgdown/ As for the second doesn't guile have a feature complete elisp implementation?
- aasasd 4y agoAfaik Guile is now persistently in the state of ‘kinda done’—it got bogged down in lexical scope or something like that, and no progress is seen for a quite a while. Remacs seemed to be the next hopeful, but apparently is also abandoned for the past two years: https://github.com/remacs/remacs https://github.com/remacs/remacs
- funcDropShadow 4y agoElisp as an embedable engine would be cool, but it would still need lots of the other parts of Emacs, e.g. the buffer data structure. A more realistic approach would be to implement some kind of FFI/RPC display type in emacs and compile the whole of emacs as a library or with emacsen.
- geokon 4y agoI'm skeptical this will work nicely with different Emacs/Orgmode versions - unless it's a super basic subset. In my experience org files break very easily between releases of Emacs/Orgmode. I've spent a lot of time updating orgfiles at each release. Often certain behaviors are just removed and you can't bring them back Lately I've given up and switched to Asciidoc.. No nice editor integration and literate workflow, but at least I'm not chained to one editor that randomly changes stuff at each release (+ the syntax is nicer)
- preek 4y agoYou're right to be sceptical. Org mode syntax is not easy. That's why a lot of work went into the parser. organice has a big set of tests for its parser and aims to be 100% compatible with Org mode syntax. I'm using it daily since years on 5-digit LOC Org files and don't get a one byte diff where I shouldn't (apart from some documented bugs). If you find a discrepancy, changing/adding tests, as well as modifying the parser is usually not too hard.
- geokon 4y agoI mean a super basic example everyone has come across - in the past 5 years the block syntax at some point changed randomly from all-caps to lower-case (no idea why..). You're saying organice just sticks to the legacy syntax? I guess half my issues were with config parameters, Elisp variables and the export targets
- aasasd 4y agoI'm on Doom Emacs, which uses the current Org from Git, and uppercase for ‘BEGIN_SRC’ works for me just as lowercase, which I normally employ myself. Maybe it didn't in the past, but at least it's fixed now.
- unhammer 4y agoIt's case-insensitive, both work fine. But I think the default that's inserted when you hit the key to insert a block changed from upper to lower.
- davidatbu 4y agoDoes anyone have recommendations as to libraries (not applications) out there that allow one to interact with org files? (Preferably in rust, since I'm learning it rn)
- preek 4y agoThere's a sister library to organice which works in JavaScript, Java, Clojure and ClojureScript: https://github.com/200ok-ch/org-parser https://github.com/200ok-ch/org-parser
- wlindley 4y agoThere's https://metacpan.org/pod/Org::Parser https://metacpan.org/pod/Org::Parser which works quite well in Perl. I am using it in a data-driven program to extract multiple tables from a single file. CSV is too limited with only one table layout per file, and trying to read multiple sheets from a binary spreadsheet format is far too complex. Org files let me edit tables in a plaintext format that even lets me attach attributes to tables, and file tables under headings that describe what they are.
- davidatbu 4y agoThanks!
- pmoriarty 4y agoHow does this compare to orgzly?
- preek 4y agoFirst, let me say that they share a lot of similarities. They are both standalone applications to view and edit Org mode files. They are both Free and Open Source applications. They do take slightly different approaches, though. orgzly is an Android application. organice is a PWA, so you can install it on Android, iOS, or use your desktop browser.
- indymike 4y agoWill be trying this out today. Really like the idea!
- jcpst 4y agoBeen using organice for years. To me, it’s by far the most usable solution to interacting with org files on a mobile device.
- preek 4y agoAfter >150 upvotes, the first kind words on the project. Thank you for making my day and taking the time to say something nice_/\_
- jcpst 4y agoYou are so welcome. I have become familiar with 200ok through my use of organice, and I very much respect the ethos you all take towards OSS.
- outworlder 4y agoThat is business as usual for Hacker News. Remember the now infamous thread where the Dropbox founder was sharing his work and people were saying it was useless since rsync existed?
- savolai 4y agoThis name makes me think of this https://www.quickanddirtytips.com/sites/default/files/images/5303/ice-bath-hand.jpg https://www.quickanddirtytips.com/sites/default/files/images...
- solarkraft 4y agoTo answer my immediate question "why does this look almost exactly like org-web?": > We forked the project, because we have different visions on how to go forward. He envisions a mobile only solution, we think it’s great to have organice be available to any browser to enable anyone on the go or any non-Emacs user easy access to Org files. Also, DanielDe thinks of org-web as his pet project whereas organice has the full power of 200ok llc behind it whilst building a strong self-sufficient community around it. Took too long to find, IMO. Especially for something with a code base apparently so close I'd have deemed it more fitting to mention "fork of" within the first page or just mark it through the Github "forked from" feature. But instead the name org-web isn't even prominently featured anywhere. I think that's just not great style.
- jamesgeck0 4y agoIt looks like orgnice has been an independent (and more active) project for 3/4ths of the life of org-web. I wouldn't feel compelled to prominently advertise the fork either.
- preek 4y agoEveryone can judge for themselves what is similar and what is not. Having said so, organice has about four times the commits of org-web. It shares a common history, but the last few years have diverged a lot. Also, there is nothing hidden, you’ve found the info right there in the top level readme as you’ve said yourself. As for bad style, the same could be said about a random person in a forum shaming the many hours of work by a diverse group of hard working individuals putting their work up for free.
- bananamerica 4y ago> s for bad style, the same could be said about a random person in a forum shaming the many hours of work by a diverse group of hard working individuals putting their work up for free. Regardless of your intentions or how truthful that is, this bit will only make the point your trying to make weaker and needlessly antagonize any potential user. Or, if you want a shorter version, you unintentionally made yourself look like a dick here.
- solarkraft 4y agoI've looked at the Org mode ecosystem a lot, but I haven't found any client with a "normally usable" UX, including this one. They all seem to cling to the weird concepts of Emacs (some people may like that, I do not). I've ended up using Logseq. Which, by the way, can also operate on Org mode files, but I chose to stay with the default Markdown (since I don't find the Org mode ecosystem all that appealing). It doesn't exactly have the same goals and not all of the planning features, but I find that it fits my requirements quite well (as a "normal", "modern" looking application). Oh, and it has nice keyboard commands too :-)
- d0mine 4y agoCould you point out any specifics? (otherwise, it sounds like: "I don't like it because I don't like it")
- terr-dav 4y ago
- mcbuilder 4y agoI'm surprised you didn't mention the inevitable web assembly port, orgWASM.
- sly010 4y agoAs a vim user I don't use org-mode, but I take notes in way too many places: google keep, docs and random text-files. Then I always forget about where they are and trying to find them in the wrong place. So I spend a lot of time daydreaming about something like org-mode that is available across all my devices, perhaps something I can share with my family so we can coordinate. What I am slowly realizing is it's not the features that I am missing from existing productivity/note/todo mobile interfaces ... it's the keyboard. I am a keyboard oriented person, so no matter how snappy or feature rich a mobile interface is it will always feel sluggish to me. Maybe it's just a matter of getting used to, but for now I am stuck being un-organized. And tbh, I don't know if there is a solution other than having an open laptop with me at all times. Anyone else feels this way?
- bananamerica 4y agoOrg mode is wonderful and I use it any time I'm on the computer. However, I'm not satisfied by any of its mobile interfaces. That's the major weak point in my view.
- rthomas6 4y agoHave you tried orgzly?
- fsiefken 4y agoperhaps a combination of logseq, syncthing and jekyll for read-only publishing is an option?
- tingol 4y agoHave you tried vimwiki? It's vim, it's text so you can copy stuff from wherever. Org mode is good and all but my god listening to people talk about it makes it seem they are building a fucking rocket by themselves based on how convoluted and massive their notes are. For regular people who just want notes that are searchable and connectable VimWiki is awesome.
- radlad 4y ago
- bmitc 4y agoCan anyone easily explain org mode and why it is apparently so enabling?
- ngcc_hk 4y agoIt might solve the issue I use bear as my org mode thing. But bear us iOS-mac only. Under Ubuntu … Not sure I trust … you know it is probably the most important bits and pieces of my life. Especially action list. And it is another windows and in a different context as well (browser not terminal shell). ** Btw, I like vim in iOS. Under ssh to aws. With working-copy it is all good except the organisation part. I use tmux attach to get back to my current state of operation. But it is not in 1 screen but quite a few. iOS meant textastic tab. It is not that convenient. But I can live. If I am in macOS, the gvim (-Gtk) seems to work only sometimes in multi-os (not vim) windows mode (eg ^wL sometimes work sometimes not). Btw, as gui in macOS need to be in the same swank thread, it is quite a lot of actual os (not vim) windows. ** Keyboard issue raised here I am a bit odd. Other than I really do not like meta cntl key combinations in emac, i am ok even with iOS soft keyboard. (Better the tailored one with textastic of course.)