frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Serverless OpenAI Gateway: PII and Cache on Cloudflare Workers

https://github.com/guimaster97/pii-sanitizer-gateway
1•guimaster97•2h ago

Comments

guimaster97•2h ago
"OP here. I built this because I noticed two problems scaling my internal RAG tools:

Redundant Costs: Users asking the same questions (or slight variations) were costing me redundant tokens.

Compliance Anxiety: I didn't want PII (names, emails, IDs) hitting OpenAI/DeepSeek servers directly.

I looked for existing gateways but most were heavy Docker containers (requiring a VPS). I wanted something 'Zero DevOps' that could run on the Edge.

The Solution: It's a lightweight Gateway built with Hono running on Cloudflare Workers.

Smart Caching: Hashes the prompt body (SHA-256) and serves from KV if it's a hit (<50ms latency).

PII Shield: Uses Regex/NER to replace sensitive data with placeholders ([EMAIL_1]) before forwarding to the LLM.

Re-hydration: When the LLM responds, the Worker puts the real data back into the response, so the user context remains broken.

It's open-source (MIT). I'm currently looking for feedback on how to implement semantic caching (Vectorize) to catch non-identical prompts.

Happy to answer any questions about the implementation!"

First Contact with America

https://novum.substack.com/p/first-contact-with-america
1•paulpauper•1m ago•0 comments

The Dot-Com Optimists Got a Lot Right

https://www.bloomberg.com/news/newsletters/2026-02-01/what-mary-meeker-s-internet-trend-reports-c...
1•paulpauper•1m ago•0 comments

Pink noise reduces REM sleep and may harm sleep quality

https://medicalxpress.com/news/2026-01-pink-noise-rem-quality.html
1•bikenaga•1m ago•0 comments

David Alan Grier Speaks on the History of Computing: Full Interview [video]

https://www.youtube.com/watch?v=NJckzrDpbUA
1•oldnetguy•2m ago•0 comments

Researchers Find OpenClaw Instances Exposed to the Internet

https://protean-labs.io/blog/researchers-find-thousands-of-openclaw-instances-exposed
1•birdculture•2m ago•0 comments

Common bacteria (Chlamydia) discovered in the eye linked to cognitive decline

https://medicalxpress.com/news/2026-02-common-bacteria-eye-linked-cognitive.html
4•bikenaga•6m ago•0 comments

Adoption of electric vehicles tied to real-world reductions in air pollution

https://phys.org/news/2026-01-electric-vehicles-real-world-reductions.html
1•Teever•6m ago•0 comments

Police facial recognition is now highly accurate, but public awareness lags

https://theconversation.com/facial-recognition-technology-used-by-police-is-now-very-accurate-but...
2•gnabgib•8m ago•0 comments

What we've been getting wrong about AI's truth crisis

https://www.technologyreview.com/2026/02/02/1132068/what-weve-been-getting-wrong-about-ais-truth-...
1•cmsefton•8m ago•0 comments

The Bash Reference Manual Is in the Epstein Files

https://mastodon.social/@sjvn/116002496494323705
3•paulfitz•8m ago•1 comments

My Free Press Column on Moltbook

https://marginalrevolution.com/marginalrevolution/2026/02/my-free-press-column-on-moltbook.html
1•paulpauper•8m ago•0 comments

A free MCU watch tracker for Avengers: Doomsday

https://doomsdayrdy.vercel.app/
1•AlonsoGP•10m ago•1 comments

Doom on Emacs

https://github.com/minad/doom-on-emacs
1•ashton314•10m ago•0 comments

Software Engineering with LLMs

https://jamison.dance/02-02-2026/software-engineering-with-llms
2•jergason•11m ago•0 comments

Prompt Engineering Basics for Better AI Outputs

https://mem0.ai/blog/prompt-engineering-complete-guide
1•ninadwrites•11m ago•0 comments

Codex App

https://developers.openai.com/codex/app/
2•tosh•11m ago•0 comments

Show HN: Deterministic event logs with explicit gap markers (NDJSON proof)

https://github.com/yupme-bot/kernel-v1.1-ndjson-proof
1•Slaine•12m ago•1 comments

Power Aware Dynamic Reallocation for Inference

https://arxiv.org/abs/2601.12241
2•PaulHoule•14m ago•0 comments

Show HN: Mortgage Payment Calculator (fast, no signup)

https://toolvault.co/tools/mortgage-payment-calculator
1•Aaevro•15m ago•1 comments

The origin story of the modern computer you’ve probably never heard, David Grier

https://www.youtube.com/watch?v=dHy5nT-5e9M
1•oldnetguy•17m ago•0 comments

Show HN: Open-Source Terminal UI for Kamal Deploy Management

https://github.com/shuvro/lazykamal
1•shuvrokhan•17m ago•0 comments

The Codex App – OpenAI

https://twitter.com/ajambrosino/status/2018385459936923656
1•abinaya_rl•18m ago•0 comments

Grumpy Website

https://grumpy.website/
3•abnercoimbre•18m ago•0 comments

How to Collaborate with AI

https://www.thetransmitter.org/neuroscientists-using-ai/how-to-collaborate-with-ai/
2•seydor•19m ago•0 comments

Daydreamers and Sleepwalkers: Crossing the Borderlands of the Unconscious

https://thereader.mitpress.mit.edu/daydreamers-and-sleepwalkers-crossing-the-borderlands-of-the-u...
1•anarbadalov•19m ago•0 comments

Failure

https://jonopens.com/writing/on-failure
1•fuzzy_biscuit•19m ago•0 comments

CreatureCast – Siphonophores [video]

https://www.youtube.com/watch?v=8Pho_sgMpCA
2•gehwartzen•20m ago•0 comments

Physicists Are Surrendering to AI

https://www.youtube.com/watch?v=PctlBxRh0p4
2•YeGoblynQueenne•20m ago•0 comments

Identity Is Easy. Continuity Is Hard

https://blog.mycal.net/identity-is-easy-continuity-is-hard/
1•mycal•20m ago•0 comments

Jeff Bezos' rocket company pauses space tourism to focus on the moon

https://www.seattletimes.com/nation-world/jeff-bezos-rocket-company-pauses-space-tourism-to-focus...
3•tokyobreakfast•20m ago•0 comments