frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: My Private GitHub on Postgres

https://github.com/calebwin/gitgres
24•calebhwin•1h ago

Comments

vishal_ch•1h ago
Interesting approach using Postgres as the storage layer. Curious how you're handling the object model since Git's content-addressable storage maps pretty differently to relational tables. Are you storing blobs as bytea or going with something like a JSONB tree structure for the commit graph?
munk-a•1h ago
While git internally uses a pretty loose system for connecting different model concepts that has always seemed more like a concession to the storage medium than a desired step. If git existed on an already ACID compliant system instead of trying to build one out of the filesystem itself I don't see a reason to keep all the references as loose as they are. If you can cascade changes with confidence you can likely just switch to using standard surrogate keys for linkages and allow the data to normalize more fully.

The core model objects in git are all pretty straightforward and their interactions well defined.

Mic92•1h ago
Nice idea.
hk1337•1h ago
Interesting idea but what's the use case for this? Why wouldn't I just create a private git server (gitlab, forgejo, etc) just for myself?
hungryhobbit•16m ago
This seems like the elephant in the room.

I'm not saying this project isn't cool, but whenever you have ANY software that's designed to be hosted A-style, and you host it B-style, the obvious question is "Why not host it the A way?"

throwatdem12311•57m ago
Just use Fossil at this point.
lagniappe•55m ago
Fossil really has it all.
sikozu•29m ago
I'm waiting for somebody to create fossilhub
xp84•48m ago
"doesn't support: ... Web UI."

So, it's a git server with an interesting storage layer? Don't get me wrong, that part sounds like it might have been a ton of work to implement, but I think the web UI (pull requests, etc) is a lot of what Github has won on historically.

Basically I don't feel qualified to judge the product itself, but I think positioning it against Github, while popular given the recent hard times, isn't quite correct.

JasonHEIN•41m ago
Great idea
iririririr•30m ago
just use ssh and git bare.
lisperforlife•26m ago
This is really cool. PG has zlib compression on TOAST objects so this should still be okay even if you are not storing pack files. I am curious with your choice of hand-rolling pktline, upload-pack and receive pack implementations including rev-walking. Any particular reason you did not want to use libgit2 or something like the gitoxide implementation of pkt-line. Was it performance or is it because you wanted it to be in pure rust? Did you try running this on slightly heavier repository with a lot of commits, refs and objects?
bitbasher•10m ago
No license?

Show HN: AI CAD Harness

https://fusion.adam.new/install
15•zachdive•1h ago•11 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
317•sleepingNomad•10h ago•113 comments

Show HN: My Private GitHub on Postgres

https://github.com/calebwin/gitgres
24•calebhwin•1h ago•13 comments

Show HN: GhostBox – Borrow a disposable little machine from the Global Free Tier

https://www.ghost.charity/
97•keepamovin•4h ago•60 comments

Show HN: Site Mogging

https://sitemogging.com
45•jilles•8h ago•55 comments

Show HN: Loopsy, a way for terminals and AI agents on different machines to talk

https://github.com/leox255/loopsy
34•todience•9h ago•8 comments

Show HN: Perfect Bluetooth MIDI for Windows

94•mayerwin•9h ago•29 comments

Show HN: Blotter, a live map of police radio activity

https://blotter.fm
2•s_e__a___n•1h ago•1 comments

Show HN: N=1 – iOS app for structured longevity self-protocols

https://apps.apple.com/us/app/n-1-tracker/id6762523189
2•middleastbeast•2h ago•0 comments

Show HN: Access OPFS from multiple tabs using a fake Shared Worker

https://github.com/arnold-graf/cross-tab-worker/
2•ch_sm•3h ago•1 comments

Show HN: Herald – Local-first terminal email client

https://herald-mail.app/
3•zoomacode•4h ago•1 comments

Show HN: Winpodx – run Windows apps on Linux as native windows

https://github.com/kernalix7/winpodx
89•kernalix7•17h ago•47 comments

Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

https://pu.dev/
88•nahimn•22h ago•22 comments

Show HN: WeSearch – Anonymous news aggregator with no algorithm, 700 sources

https://wesearch.press/
11•EGCstudy•11h ago•7 comments

Show HN: Updated – A dual crossword puzzle where two crosswords share one grid

https://forkle.co.uk/
3•daveoshawrus•9h ago•1 comments

Show HN: What happens when you load a webpage (Interactive)

https://toolkit.whysonil.dev/how-it-works/internet-timeline/
31•otterwilde2•4d ago•8 comments

Show HN: TRiP – a complete transformer engine in C built from scratch just by me

https://github.com/carlovalenti/TRiP
36•carlovalenti•1d ago•6 comments

Show HN: A new benchmark for testing LLMs for deterministic outputs

https://interfaze.ai/blog/introducing-structured-output-benchmark
58•khurdula•2d ago•24 comments

Show HN: Coding-Flashcards – Learn Rust, SQLite, or Godot from First Principles

https://github.com/ad-si/Coding-Flashcards
19•adius•1d ago•2 comments

Show HN: Rocky – Rust SQL engine with branches, replay, column lineage

https://github.com/rocky-data/rocky
119•hugocorreia90•3d ago•48 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
185•frabonacci•3d ago•41 comments

Show HN: Live Sun and Moon Dashboard with NASA Footage

https://www.lumara-space.app/
218•beeswaxpat•3d ago•66 comments

Show HN: Rip.so – a graveyard for dead internet things

https://rip.so
182•bozdemir•2d ago•117 comments

Show HN: FusionCore: ROS 2 sensor fusion that outperforms robot_localization

https://github.com/manankharwar/fusioncore
11•kharwarm•3d ago•2 comments

Show HN: I built a context layer for our home

https://rosey.house
2•aloktiagi•13h ago•0 comments

Show HN: Self hosted video feed for children

https://github.com/vkolev/timmygram-server
3•vkolev•13h ago•0 comments

Show HN: Throwaway – open-source disposable email checker and API

https://github.com/sslboard/throwaway
14•weddpros•1d ago•10 comments

Show HN: Auto-Architecture: Karpathy's Loop, pointed at a CPU

https://github.com/FeSens/auto-arch-tournament/blob/main/docs/auto-arch-tournament-blog-post.md
238•fesens•3d ago•75 comments

Show HN: Git repositories hosted directly on Freenet

https://github.com/freenet/freenet-git
5•sanity•14h ago•0 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
391•GodelNumbering•4d ago•146 comments