frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: RAG in 3 Lines of Python

https://pypi.org/project/piragi/
5•init0•7h ago
Got tired of wiring up vector stores, embedding models, and chunking logic every time I needed RAG. So I built piragi.

  from piragi import Ragi

  kb = Ragi(\["./docs", "./code/\*\*/\*.py", "https://api.example.com/docs"\])

  answer = kb.ask("How do I deploy this?")
That's the entire setup. No API keys required - runs on Ollama + sentence-transformers locally.

What it does:

  - All formats - PDF, Word, Excel, Markdown, code, URLs, images, audio

  - Auto-updates - watches sources, refreshes in background, zero query latency

  - Citations - every answer includes sources

  - Advanced retrieval - HyDE, hybrid search (BM25 + vector), cross-encoder reranking

  - Smart chunking - semantic, contextual, hierarchical strategies

  - OpenAI compatible - swap in GPT/Claude whenever you want
Quick examples:

  # Filter by metadata
  answer = kb.filter(file_type="pdf").ask("What's in the contracts?")

  #Enable advanced retrieval

    kb = Ragi("./docs", config={
     "retrieval": {
        "use_hyde": True,
        "use_hybrid_search": True,
        "use_cross_encoder": True
     }
   })


  # Use OpenAI instead  
  kb = Ragi("./docs", config={"llm": {"model": "gpt-4o-mini", "api_key": "sk-..."}})
Install:

  pip install piragi
  PyPI: https://pypi.org/project/piragi/
Would love feedback. What's missing? What would make this actually useful for your projects?

Show HN: I built a dashboard to compare mortgage rates across 120 credit unions

https://finfam.app/blog/credit-union-mortgages
232•mhashemi•10h ago•74 comments

Show HN: A Minimal Monthly Task Planner (printable, offline, no signup)

https://printcalendar.top/
14•defcc•2h ago•6 comments

Show HN: Mirror_bridge – C++ Reflection powered Python binding generation

https://github.com/FranciscoThiesen/mirror_bridge
3•fthiesen•1h ago•0 comments

Show HN: Identifiy test coverage gaps in your Go projects

https://github.com/LeanerCloud/testvet
11•alien_•3d ago•2 comments

Show HN: Fresh – A new terminal editor built in Rust

https://sinelaw.github.io/fresh/
142•_sinelaw_•16h ago•91 comments

Show HN: Onetone – A full-stack framework with custom C interpreter

https://github.com/onetoneframework/framework
2•tactics6655•1h ago•0 comments

Show HN: Microlandia, a brutally honest city builder

https://microlandia.city
71•phaser•13h ago•8 comments

Show HN: FastLanes based integer compression in Zig

https://github.com/steelcake/zint
9•ozgrakkurt•3d ago•7 comments

Show HN: TidesDB – A storage engine that outperforms RocksDB

https://github.com/tidesdb/tidesdb
2•alexpadula•2h ago•0 comments

Show HN: RAG in 3 Lines of Python

https://pypi.org/project/piragi/
5•init0•7h ago•0 comments

Show HN: AI music and auto-charting and custom rhythm minigame sandbox

https://rhythm-seodang-web.vercel.app/
4•sputnikwrkshp•4h ago•0 comments

Show HN: EchoCopi Local-first, model-agnostic alternative to Google Antigravity

2•sparksupernova•5h ago•0 comments

Show HN: Stanford's ACE paper was just open sourced

https://github.com/ace-agent/ace
3•vmsn•9h ago•0 comments

Show HN: Marmot – Single-binary data catalog (no Kafka, no Elasticsearch)

https://github.com/marmotdata/marmot
97•charlie-haley•1d ago•21 comments

Show HN: ESLint-plugin-code-complete – ESLint Rules for Code Complete

https://github.com/aryelu/eslint-plugin-code-complete
2•arye_lu•9h ago•0 comments

Show HN: A $20/year invoicing tool for solo developers (simple, fast, no bloat)

https://sidepay.app/
11•mightbefun•16h ago•4 comments

Show HN: Rust Client Library for Gradium.ai TTS/STT API

https://github.com/cydanix/rust-gradium
3•irqlevel•10h ago•0 comments

Show HN: From Personal Script to Public Tool – How I Built a Windows Setup Gen

https://kaicbento.substack.com/p/from-personal-script-to-public-tool
2•kaicbento•3h ago•0 comments

Show HN: TrackerNews – Keyword monitoring and insight extraction

https://trackernews.app/
4•winchester6788•11h ago•0 comments

Show HN: MetaConvert – Free PDF and Image Conversion Tools

https://metaconvert.blogspot.com/
2•MetaConvert•11h ago•0 comments

Show HN: HCL-Schema – Create HCL Schemas Using HCL Files

https://github.com/avestura/hcl-schema
2•avestura•11h ago•0 comments

Show HN: Niccup – Hiccup-Like HTML Generation in ~120 Lines of Pure Nix

https://embedding-shapes.github.io/introducing-niccup/
2•embedding-shape•11h ago•0 comments

Show HN: The Taka Programming Language

https://codeberg.org/marton/taka
10•mgunyho•17h ago•4 comments

Show HN: Patternia – A Zero-Overhead Pattern Matching DSL for Modern C++

https://github.com/sentomk/patternia
3•sentomk•12h ago•0 comments

Show HN: A prediction market where you can bet against my goals

https://market.ericli.tech
6•ericlmtn•17h ago•5 comments

Show HN: Textwave – Versioning for Documents (free, local-only document editor)

https://textwaveapp.com/
2•domysee•13h ago•0 comments

Show HN: Avolal – Book routine flights in 60 seconds

https://www.avolal.com
8•midito•13h ago•4 comments

Show HN: SafeKey – PII redaction for LLM inputs (text, image, audio, video)

https://www.safekeylab.com
4•safekeylab•13h ago•6 comments

Show HN: Visualize Your Thinking Patterns as a Graph

https://unravelmind.vercel.app/
2•Pr4shant•14h ago•0 comments

Show HN: Boing

https://boing.greg.technology/
773•gregsadetsky•4d ago•145 comments