| ▲ | Show HN: Pgit – A Git-like CLI backed by PostgreSQL(oseifert.ch) | |||||||||||||||||||
| 43 points by ImGajeed76 a day ago | 13 comments | ||||||||||||||||||||
| ▲ | Pay08 a minute ago | parent | next [-] | |||||||||||||||||||
This is incredibly neat and might actually become a part of my toolbox. | ||||||||||||||||||||
| ▲ | smartmic 2 hours ago | parent | prev | next [-] | |||||||||||||||||||
Of course, we can’t leave out a mention of Fossil here — the SCM system built by and for SQLite. | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | aljgz 2 hours ago | parent | prev | next [-] | |||||||||||||||||||
Still halfway through reading, but what you've made can unlock a lot of use cases. > I tried SQLite first, but its extension API is limited and write performance with custom storage was painfully slow For many use cases, write performance does not matter much. Other than the initial import, in many cases we don't change text that fast. But the simpler logistics of having a sqlite database, with the dual (git+SQL) access to text is huge. That said, for the specific use case I have in mind, postgres is perfectly fine | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | Fire-Dragon-DoL an hour ago | parent | prev | next [-] | |||||||||||||||||||
Wouldn't duckdb be better suited for this? Forgive the stupid question. I just connected "csv as sql" to "git as sql" and duckdb comes to mind | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | killingtime74 2 hours ago | parent | prev | next [-] | |||||||||||||||||||
I love it. I love having agents write SQL. It's very efficient use of context and it doesn't try to reinvent informal retrieval part of following the context. Did you find you needed to give agents the schema produced by this or they just query it themselves from postgres? | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | Zardoz84 3 hours ago | parent | prev [-] | |||||||||||||||||||
Interesting... could be used to store multiple git repos and do a full text search across the multiple repos ? | ||||||||||||||||||||
| ||||||||||||||||||||