frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Simple org-mode web adapter

https://github.com/SpaceTurth/Org-Web-Adapter
22•turth•1h ago•0 comments

Show HN: Maths, CS and AI Compendium

https://github.com/HenryNdubuaku/maths-cs-ai-compendium
4•HenryNdubuaku•2h ago•0 comments

Show HN: Microgpt is a GPT you can visualize in the browser

https://microgpt.boratto.ca
264•b44•23h ago•23 comments

Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door

https://knock-knock.net
206•djkurlander•1d ago•86 comments

Show HN: GEDB – A pure-Go embedded database

3•ReturnErr•3h ago•0 comments

Show HN: VOOG – Moog-style polyphonic synthesizer in Python with tkinter GUI

https://github.com/gpasquero/voog
89•gpasquero•22h ago•37 comments

Show HN: 2d platformer game built with Codex (zero code)

4•armcat•4h ago•4 comments

Show HN: Pangolin: Open-source identity-based VPN (Twingate/Zscaler alternative)

https://github.com/fosrl/pangolin
71•miloschwartz•1d ago•22 comments

Show HN: SnkvDB – Single-header ACID KV store using SQLite's B-Tree engine

https://github.com/hash-anu/snkv
4•hashmakjsn•4h ago•1 comments

Show HN: Harmonic embeddings beat random init and work frozen – no tokenizer

https://github.com/atech-hub/Wave-Coherence-as-a-Computational-Primitive
2•atech-77•5h ago•1 comments

Show HN: JeffTube

https://jmail.world/jefftube
15•dvrp•13h ago•3 comments

Show HN: Lightwave – Real-time notes app, 3.5 years of hand-rolled JavaScript

43•jv22222•20h ago•29 comments

Show HN: Tanin – TUI Noise Generator

https://github.com/AnonMiraj/Tanin
4•anongazelle•10h ago•2 comments

Show HN: Rover – Embeddable web agent

https://www.rtrvr.ai/blog/10-billion-proof-point-every-website-needs-ai-agent
27•arjunchint•2d ago•14 comments

Show HN: Copy-and-patch compiler for hard real-time Python

https://github.com/Nonannet/copapy
63•Saloc•5d ago•11 comments

Show HN: Animus Invoice – Invoice tracking without the busywork

https://animusinvoice.com/beta.html
2•ilkerozbay•8h ago•0 comments

Show HN: GPU Perpetual Futures Prototype

https://github.com/zacharyfrederick/compex
8•ozzymandiaz96•22h ago•2 comments

Show HN: Off Grid – Run AI text, image gen, vision offline on your phone

https://github.com/alichherawalla/off-grid-mobile
122•ali_chherawalla•1d ago•64 comments

Show HN: Arcmark – macOS bookmark manager that attaches to browser as sidebar

https://github.com/Geek-1001/arcmark
88•ahmed_sulajman•2d ago•20 comments

Show HN: Fieldnotes

https://fieldnote.ink
14•samcgraw•1d ago•8 comments

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
228•datavorous_•2d ago•68 comments

Show HN: DSCI – Dead Simple CI

https://github.com/melezhik/DSCI
18•melezhik•1d ago•8 comments

Show HN: HackerTok – HN with Local Recommendations

https://hackertok.blode.co
11•mblode•17h ago•4 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
229•mickamy•2d ago•44 comments

Show HN: Untranslated Einstein paper available in English for the first time

https://www.repository.cam.ac.uk/items/0aaee538-3638-4c47-bf5d-1cb4321d6b0b
4•ajw287•12h ago•0 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
148•pattle•4d ago•86 comments

Show HN: Data Engineering Book – An open source, community-driven guide

https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md
246•xx123122•2d ago•31 comments

Show HN: Katipo is a minimal alternative internet with a Vulkan based browser

https://github.com/mjdave/katipo
4•majicDave•14h ago•3 comments

Show HN: Talk2Code – Text your codebase from your phone (~150 lines of Python)

https://github.com/dchisholm125/Talk2Code
2•dchisholm125•15h ago•2 comments

Show HN: MOL – A programming language where pipelines trace themselves

https://github.com/crux-ecosystem/mol-lang
38•MouneshK•5d ago•16 comments
Open in hackernews

Show HN: GEDB – A pure-Go embedded database

3•ReturnErr•3h ago
Hello HN!

These last few months I've been working on my first open source project: an embedded database written in pure-go. That took me some months, as I had to learn how to deal with such large packages. Until then, all packages I had made were quite small an did not require much. I usually did not have to worry about things like allocation optimization and instance pools until This project.

It started when I wanted to make a port of a tool to a TUI environment. I'm actually used to working with TUIs in golang, so that was my language of choice. The tool I wanted to port is written in TypeScript and uses NeDB (written in JavaScript) as database. Since I feel more comfortable working with compiled languages, I decided to create my own database, making sure it was compatible with NeDB, and that's what I did for the last few months.

And that's how GEDB was created. It's a mongodb-like embedded database, written in pure-go. It supports a subset of useful querying options of MongoDB (keywords like $lt, $exists, $in, $where, etc.). By default, it uses a in-memory-only storage, but can easily initialized with a data file.

Everything in my package can be dependency injected, as everything is controlled interfaces. Serialization, querying syntax, document structure, indexing and more, all can be replaced by implementing an interface.

I've also been considering adopting a new document model, by creating a binary type (like BSON) to reduce drastically the cost of creating, maintaining and copying documents (they currently are map[string]any).

The project is currently in an early stage, version 0.1.0, so I'm okay with making changes to the API for now, until I'm ready to release version 1.x.x

I would be really glad if you guys could check it out and give some feedback. An issue, suggestion or a star are very welcome.

My repository can be found on my github: https://github.com/vinicius-lino-figueiredo/gedb