SShortSingh.
Back to feed

Developer builds sub-millisecond semantic search for React apps with no backend

0
·1 views

A developer has built a browser-native semantic search tool called altor-vec that runs entirely client-side using WebAssembly, eliminating the need for a server, API keys, or per-query costs. The tool uses HNSW vector search compiled to a 54KB WASM module, paired with HuggingFace embeddings generated at build time rather than at query time. Unlike fuzzy-text libraries such as Fuse.js, the solution understands meaning, allowing a query like 'cancel my plan' to match a document titled 'end your subscription.' The search index is built once during deployment as a static binary file served from a CDN and loaded into the browser on first use. The developer shared a full React code walkthrough, noting query response times of under one millisecond after the initial model load.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Caffeine Drives Pre-Workout Results; Most Other Ingredients Are Underdosed Filler

Caffeine is the most extensively researched legal performance enhancer in sports science, with meta-analyses confirming consistent improvements in endurance, strength, and cognitive performance at doses of 3–6 mg/kg bodyweight. The International Society of Sports Nutrition's 2021 position stand found caffeine boosts endurance by 2–5% and strength output by 2–7% across trained and untrained populations. Most commercial pre-workout supplements are priced between $30–$50 for 30 servings, yet their primary active ingredient — caffeine — costs as little as $0.08 per dose when purchased as standalone pills. Other common pre-workout ingredients such as beta-alanine, L-citrulline, and creatine are typically included at doses too low to produce their documented effects. Consumers can achieve equivalent ergogenic benefits through caffeine tablets or coffee at a fraction of the cost, unless a specific product verifiably includes all secondary ingredients at clinically effective doses.

0
ProgrammingDEV Community ·

How a Silently Expired Client Domain Can Cripple a Business and Hurt an Agency

When a client's domain expires, the damage extends far beyond a dark website — email, CRM alerts, invoicing, and ad campaigns all fail simultaneously. A December 2025 study by security firm Infoblox found that visitors to parked or expired domains are now redirected to scams or malware over 90% of the time, up from under 5% a decade ago. SEO consequences are also significant: prolonged downtime can trigger de-indexing, and competitors actively exploit broken backlinks through a tactic known as broken-link building. While popular belief holds that re-registering a lapsed domain resets its Google trust score, the company's own representatives have repeatedly stated that domain age is not a standalone ranking factor. Agencies that rely on spreadsheets and calendar reminders to track client domains face the highest risk of missing renewal deadlines and bearing the resulting technical, financial, and reputational fallout.

0
ProgrammingDEV Community ·

Cloud and Infrastructure Skills Dominate Tech Job Market, Outpacing Most Languages

An analysis of 15,265 open roles across 1,077 tech companies found that cloud and infrastructure skills are among the most in-demand, with Python leading at 38% of postings, followed by AWS at 25% and Kubernetes at 21%. Six of the top twelve most-requested skills are cloud or infrastructure-related, including Google Cloud, Docker, Azure, and Terraform. Notably, Kubernetes appears in more job postings than Java, React, TypeScript, or Go, despite rarely being highlighted in standard coding bootcamps or beginner roadmaps. Only about one in thirteen of these roles are dedicated infrastructure positions such as DevOps or SRE, meaning cloud familiarity is increasingly expected in mainstream backend, full-stack, and data engineering roles. Analysts attribute the sustained demand partly to the high-stakes nature of infrastructure work, where AI-generated errors can have serious consequences, making human oversight difficult to eliminate.

0
ProgrammingDEV Community ·

Snap CD Introduces Topology-Aware Permission System to Bridge CI and Cloud IAM Gaps

Most infrastructure teams split access control between CI/CD pipelines and cloud IAM systems, but neither model aligns with how infrastructure is actually organised. CI permissions are typically binary and lack granularity, while cloud IAM governs credential-level access rather than human roles within deployment workflows. Snap CD is designed to fill this gap by offering a hierarchical role-based access control system tied directly to infrastructure components such as Stacks, Namespaces, and Modules. The system supports three identity types — users, service principals, and groups — each assignable to roles like Owner, Contributor, or Reader at varying scope levels. Permissions are enforced uniformly across the web dashboard, API, and Terraform Provider, providing a single source of truth for who can do what across an infrastructure deployment.

Developer builds sub-millisecond semantic search for React apps with no backend · ShortSingh