frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: A search engine for VPS servers with an automatic crawler pipeline

https://vpspricetracker.com
1•davidebaldini•3h ago

Comments

davidebaldini•2h ago
This pet project of mine is a web search engine for discovering virtual private server (VPS) offers starting from a search query that the user can incrementally specialize to iteratively add constraints and narrow the corpus of results. Thru the past years I added 120 service providers to the data acquisition pipeline, which is run every 24 hours to refresh the entirety of the corpus and to index the VPS services in a custom C++17 database that is made searchable thru the web interface. Service add-on such as extra storage or extra memory are also indexed in the database and priced correctly. The project is split in two major halves, a backend and a web server:

1. Backend: a computer in my basement executes a ~10,000 lines Nodejs program that implements the data acquisition pipeline, the majority of these lines deal with web scraping and API fetches, followed in line count by regex and LLM processing, and finally by database indexing. The language models that I use are all large 200B+ parameters and are called via SaaS APIs; they can execute web searches to integrate missing data from the product description pages or from the APIs exposed by the VPS providers; the models are queried multiple times for each question and their responses "vote" for the correct answer until a quorum is reached; this almost completely eliminates data inaccuracies. The final product of this Nodejs program is an SQLite database file that contains the indexed data for the VPS services, which I manually copy to the web server computer (a VPS).

2. Web server: this is a lightweight VPS that runs two processes: a thin Nodejs web application that I quickly wrote without frameworks and runs off simple HTML templates, and a basic C++17 database that serves the web application. Originally the Nodejs application incorporated its own search functions that would linearly swipe thru the data arrays to produce SERPs, but as the number of indexed services grew past 300,000 VPS, the latency became unacceptable (> 1s) and easily DoS-able so I rewrote the search functions in C++17, dropping the query time to ~10ms. This custom DB allows me to easily control low-level details, such as:

2.1 to quantize numerical data to 1 or 2 bytes using a quadratic lossy compressor; the compressor is bijective and totally ordered, so the stored quantized data can be compared as-is against the quantized query parameters, reducing memory use and throughput;

2.2 to compress long strings using a trained ZSTD dictionary, which is convenient for storing millions of offer URLs in memory on a tiny VPS avoiding disk access (URLs are largely repetitive across offers from the same providers, and compress to a 1:10 ratio with a 2kB dictionary);

2.3 to swipe thru presorted indexes, each presorted by a specific criterion, so that the matched data requires no runtime sorting; in comparison tests, MariaDB would consume half of its query time on sorting;

2.4 to efficiently avoid disk access: the SQLite file produced by the backend is read only once, fully, at the start of the process, and subsequent queries are served from memory. The database is read-only and no API permits file write access or memory modification.

A few users query the search engine every day, and it currently generates snack money thru affiliate links. It is a proof of concept more than anything, and I had a lot of fun profiling the database trying out different algorithms to squeeze some decent performance out of my tiny VPS with a shared CPU.

Show HN: Simple algorithm and color space to generate diverse skin tones

https://toneyalexander.github.io/inclusive-color-space/
455•automatoney•9h ago•85 comments

Show HN: Maple-Preview – ternary 20B MoE running at 120 tok/s on a iPhone

https://deepgrove.ai/maple-preview
39•edwardbzhang•5h ago•12 comments

Show HN: SIMD Viterbi Decoder in Rust

https://github.com/brian-armstrong/fec
12•brian-armstrong•2h ago•0 comments

Show HN: A little physical breakout clone

https://brontosaurusrex.github.io/physical/v7/
9•brontosaurusrex•4d ago•5 comments

Show HN: Misalignments when using AI for hacking

https://blog.vulnetic.ai/ai-misalignment-and-penetration-testing-e812194b67ca?sharedUserId=Vulnet...
3•danieltk76•34m ago•0 comments

Show HN: Your next startup, ready in the blink of an eye

https://blink-ideas-web.onrender.com/
2•drewgallagher•1h ago•0 comments

Show HN: Mint MCP – Generate 3D assets from coding agents

https://mcp.mint.gg
2•carrabre•1h ago•0 comments

Show HN: Fine-tune an 8B model on a 4 GB laptop GPU

https://github.com/MakazhanAlpamys/Soup
117•MakazhanAlpamys•13h ago•23 comments

Show HN: Hinode – Cloud Linux desktop with a dedicated GPU that auto-pauses

https://hinode.run
3•iamursky•2h ago•0 comments

Show HN: AI product evaluation methodoloy at huby

2•dd-sharma•2h ago•0 comments

Show HN: Collab Word in Web – Collaborative Near MS Word Parity Docx Editor

https://collab.word-in-web.com/
2•theRealestAEP•2h ago•0 comments

Show HN: Pleasantries

https://github.com/QAInsights/pleasantries
3•qainsights•2h ago•0 comments

Show HN: Sign language translation with smart glasses

https://github.com/aadisang/hand-wave
2•aadisang•2h ago•0 comments

Show HN: Jido Assembly; Slack Clone in Pure Elixir with Integrated Agents

https://jido.run/blog/jido-assembly-slack-clone
15•mikehostetler•8h ago•0 comments

Show HN: I gave my video editor an MCP server so Claude can edit videos for me

https://www.shorz.ai
3•DonRando•2h ago•0 comments

Show HN: All-in-one gamedev toolkit for indie creators

https://reactorcoregames.github.io/
3•not_wowinter14•3h ago•0 comments

Show HN: Yanes, yet another NES audio plugin:LinuxCLAP polyphonic chiptune synth

https://github.com/andrewfader/yanes
3•androsynth89•3h ago•0 comments

Show HN: Movie scores from what people say when nobody's asking

https://skipthecritics.com
2•LevelTenMedia•3h ago•0 comments

Show HN: Run an 80B Qwen in 4.3 GB of RAM on a Mac, and a 35B on an iPhone

https://github.com/leonickson1/Swiftlet
298•leonickson•1d ago•134 comments

Show HN: A search engine for VPS servers with an automatic crawler pipeline

https://vpspricetracker.com
2•davidebaldini•3h ago•1 comments

Show HN: Mcpscore – validate any MCP server compliance with a new MCP version

https://github.com/mcp-box/mcpscore
2•alex_akimov•3h ago•0 comments

Show HN: SIEMatic, a fair-sourced observability and security platform

https://github.com/mcindi/siematic
7•ilovetux•8h ago•4 comments

Show HN: My tool scanned 256 AI-built apps and most had exposed credentials

https://necktochoke.com/
3•kahlilashanti•4h ago•0 comments

Show HN: A faster coding agent than Codex and Claude Code

https://www.codewithbullet.com
5•alsima•5h ago•5 comments

Show HN: OpenEdit – Your coding agent can now edit videos

https://github.com/veedstudio/open-edit
8•sabbakeynejad•9h ago•2 comments

Show HN: Simple self-hosted LLM assistant with user-steered compounding context

https://github.com/kol3x/pawmc
5•kol3x•10h ago•0 comments

Show HN: TormentNexus – Local-first Go control plane with persistent memory

https://tormentnexus.site
2•TormentNexusAI•5h ago•0 comments

Show HN: Adapt, Automatically Turns Files into REST APIs, Web UI, and MCP

https://github.com/mcindi/adapt
5•ilovetux•9h ago•0 comments

Show HN: ssh ssh.place

https://ssh.place
182•jeninh•2d ago•112 comments

Show HN: Korvo – Local-first AI workspace that traces answers to the source

https://www.korvo.xyz/
6•akshay_bhardwaj•9h ago•0 comments