34 comments

[ 3.0 ms ] story [ 60.6 ms ] thread
Getting people to use the terminal to do things instead of the bloatware produced by Google/Microsoft tools is almost impossible...

I live in the terminal, but most people in my company, including developers rather stay away from it

Many people forget the main reason why Windows, Mobile, Webapps succeeded is because of convenience. The more easy to use the more better. Convenience is also the reason why Meta Glasses will be successful.
The main reason might be that terminals are ugly and messy, you can't find shit, everything melts together. Might be nice for power users, but those aren't so many I would guess.
Reading all these opinionated comments about CLI vs GUI, I feel out of place as just a humble TUI fan.

- CLIs are powerful but hard, basically an exercise in mnemonics.

- GUIs are much friendlier, and can be faster than CLIs for certain use cases. While complex and bloated, they have their use cases to shine.

- TUIs are basically less expressive GUIs, since they're limited to text, but you must go out of your way to make them bloated and slow; they usually are very snappy.

All have their best and worst scenarios, no need to argue which is better. Use what fits best with your workflow, no size fits all.

I’d be interested in defining my business using a DSL but then ultimately I’d want that to be translated into a UI.

I’d love to simply map all the relationships between stock, assets, tools like invoicing, APIs all in a place like this.

But I have to agree I think CLI alone would result in it being usable by only me.

EDIT: just wanted to add I’m interested in where this project goes.

Looks ambitious but previous attempts at “Ops as Code” haven’t been promising.
This is interesting, very similar to a project I am working on, which is a cli asset manager for a small repair shop. Basically, mine keeps track of service tickets, customers and inventory while being query-able to help identify trends in problem products or recall records for warranty disputes, etc. It's just a silly little project I started in my spare time because I got fed up with having to open up three pieces of software with clunky UIs and frequent crashes to accomplish what should be fairly simple and straight-forward tracking and analysis. My biggest hurdle was getting it to export to a nice looking PDF that could be emailed or printed later.

While mine is functional, yours looks A LOT more refined, so I think I will play around with it and see if I can't adapt it to my needs.

I try to work in the terminal as much as I can since that's where I'm most comfortable, but when it comes to business software like CRMs, HRMs or ERPs, especially geared toward smaller shops, the selection for terminal-based options is severely lacking.

> My biggest hurdle was getting it to export to a nice looking PDF that could be emailed or printed later.

If you can export to structured data such as JSON, I guess Typst would be a perfect fit for that job.

I love the idea. More power to text-based tools, more power to the CLI.

But ... why invent a new file format? Why not just make in JSON, so it is easier to integrate in other toolchains (e.g. having a python script add customers based on external APIs without having to write your own output generator)?

Spent ages building my own work management system only to realise I was just taking the scenic route to eMacs.
So glad emacs finally found me, I can't wait until I can look back 10 years from now
The text-based software that would eat work management is one that embraces the incumbents rather than avoid them.

I want a bidirectional SaaS <=> YAML/JSON adapter. So that I can push and pull our CRM (and other SaaS utilities like project management) into a common (schematized) YAML format.

The YAML then can be analyzed and modified using LLMs and/or stored in git.

And then use the bidirectional sync to reconcile conflicts and push.

So I can do work processes on the console, and still collaborate with people who want the native web UI.

Huh. Could those be git submodules? Like you’d have all your personal state in foo/ and then clone the work state into foo/work/ .
I’d be happy with SQL access, which I think gets to roughly the same place.

I’ve done something like what you’re talking about before for a CMDB, though it was one way YAML -> DB sync. Many to many relationships were a pain to view, there’s not a great way to put them in YAML that makes them easy to read. Can’t embed them because then you have multiple copies and which one is the real one. References suck because you can’t see the relationship and the related objects at once.

The real killer is permissions, though. Your sync tool basically has to have admin privileges, which means permissions have to be checked at merge time, and then you’re rebuilding the entire permissions flow as a git hook.

SQL with RLS is capable of implementing permissions in a way that works for both API access and direct SQL access. I get the feeling few companies do it, but they could.

The age of LLMs is shifting the predominant modality of data towards plaintext. For people like us, it's easier to grok, and it allows all of the poweruser use cases. I think this is a great idea.
Looking at the points you made and examples, I would cobble a similar tool with Django, writing only CLI commands with no HTTP endpoints. And most LLMs are already fluent in Django.

- Schemas and relationships live in models.py, actual data is persisted in Sqlite - I can dump to JSON or XML with Django utils for LLMs - Query engine can simplify reuse Django syntax, like `Firm.objects.get(owner_name__like="john", date__gt=2015)`, fetch related names, aggregate subqueries - Format as tables

The simplicity of text files is appealing - did you consider using a database at all or was it pure text from the start?

Thinking about an LLM use case, not needing a query language should remove translation risk I'd assume?

CLI is cool but this won't work in real life, focus your energy building something else.
I'm curious to see if the advent of LLM assistants will result in a resurgence of "headless" systems
It will. But humans have eyes, observability, metrics will still need graphs or eye-candy for most people. Though the means of communication might be heavily be based on text.
I forking love text-based apps, congratz!
While I do not think big corps would go for it, I believe you have something there that could:

1. Appeal to some of the crowd here 2. Potentially run in the background as meta layer for llm ( as crazy as that sounds, the annoying reality is that it is happening already, but in the most annoying way possible 'worst of all worlds' version )

This seems like it could be an rdf query tool, though offhand I don't know the ref to the right rdf schema.
This looks very similar to a FoSS version of Tana: https://tana.inc/

Which is well timed because I've been increasingly leaning more into Tana but also being like "it would really suck if this tool goes away". Having something that has the same ergonomics of Tana but is more open is really interesting.

things like this are so much fun. I mess around with projects like this too. I have a little "status" app that that's a web UI embedded into a Go binary that shows my current WIP and it updates my slack status with what my WIP is. so outside of standup everyone just knows what I'm up to

I love little CLI tools for managing productivity

I bet there's someone or some business with a curly brace in their name.
With cursor you can hit Cmd+K in the terminal and give a prompt for the agent to convert to a command in the terminal. Would be good if it could allow to do the same to generate SQL queries based on the databases schemas available. Then it would be a generic solution that would cover this use case.
Looks like an early stage, immature project, but it's a neat concept.

It seems Windows Defender flags the zip download as a trojan. Likely false positive since scans on the unzipped exe (Defender and virustotal) come back clean.

I'd suggest providing a way to disable the builtin schemas in case someone wants to use it for more tech things as opposed to business things.

Very cool like a text based crm. Like how obsidian keeps all your docs in local .MD files. Perfect for building agent automations without delving into lots of integrations. This does make it harder to collaborate though

Reminds me also a bit of

https://github.com/MrLesk/Backlog.md

Parsing your data format completely via tree-sitter is an interesting choice. Usually tree-sitter is "the second parser" only (for syntax highlighting etc), and the t-s version of a grammar isn't 100% comprehensive.

https://github.com/42futures/firm/blob/31fc084b7c7855bef9694...

I do wonder how much value all this work adds compared to having e.g. JSONC files with schemas. (Or HCL-syntax-for-JSON to visually match this work and then JSON schemas.)